Home · All Namespaces · All Classes · Main Classes · Grouped Classes · Modules · Functions |
The 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.
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);
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);
Use the clearMessage() function instead.
Use the showMessage() function instead.
Copyright © 2008 Nokia | Trademarks | Qt 4.4.3 |