Qt 3 Support Members for QStatusBarThe following class members are part of the Qt 3 support layer. They are provided to help you port old code to Qt 4. We advise against using them in new code. Public Functions
Public Slots
Member Function DocumentationQStatusBar::QStatusBar ( QWidget * parent, const char * name )Constructs a status bar with a size grip and the given parent and object name. Use the QStatusBar() constructor and the QObject::setObjectName() function instead. For example, if you have code like QStatusBar *myStatusBar = new QStatusBar(parent, name); you can rewrite it as QStatusBar *myStatusBar = new QStatusBar(parent); myStatusBar->setObjectName(name); void QStatusBar::addWidget ( QWidget * widget, int stretch, bool permanent )This is an overloaded member function, provided for convenience. Use addWidget() or addPermanentWidget() instead, depending on the value of the permanent parameter. For example, if you have code like QStatusBar *myStatusBar; myStatusBar->addWidget(widget, stretch, permanent); // permanent == true you can rewrite it as QStatusBar *myStatusBar; myStatusBar->addPermanentWidget(widget, stretch); void QStatusBar::clear () [slot]Use the clearMessage() function instead. void QStatusBar::message ( const QString & message, int timeout = 0 ) [slot]Use the showMessage() function instead.
|
Попытка перевода Qt документации. Если есть желание присоединиться, или если есть замечания или пожелания, то заходите на форум: Перевод Qt документации на русский язык... Люди внесшие вклад в перевод: Команда переводчиков |