Home · 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.
Use QSlider() and QObject::setObjectName() instead.
For example, if you have code like
QSlider *mySlider = new QSlider(parent, name);
you can rewrite it as
QSlider *mySlider = new QSlider(parent); mySlider->setObjectName(name);
Use QSlider() and QObject::setObjectName() instead.
For example, if you have code like
QSlider *mySlider = new QSlider(orientation, parent, name);
you can rewrite it as
QSlider *mySlider = new QSlider(orientation, parent); mySlider->setObjectName(name);
Use QSlider(), QObject::setObjectName() and the functionality inherited from QAbstractSlider instead.
For example, if you have code like
QSlider *mySlider = new QSlider(minValue, maxValue, pageStep, value, orientation, parent, name);
you can rewrite it as
QSlider *mySlider = new QSlider(orientation, parent); mySlider->setObjectName(name); mySlider->setMinimum(minValue); mySlider->setMaximum(maxValue); mySlider->setPageStep(pageStep); mySlider->setValue(value);
Use setValue() instead.
Use setTickPosition() instead.
See also tickmarks().
Use setValue() instead.
Use tickPosition() instead.
See also setTickmarks().
Copyright © 2008 Trolltech | Trademarks | Qt 4.3.5 |