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.
typedef | Policy |
QComboBox ( QWidget * parent, const char * name ) | |
QComboBox ( bool rw, QWidget * parent, const char * name = 0 ) | |
void | changeItem ( const QString & text, int index ) |
void | changeItem ( const QPixmap & pixmap, int index ) |
void | changeItem ( const QPixmap & pixmap, const QString & text, int index ) |
void | clearEdit () |
void | clearValidator () |
int | currentItem () const |
bool | editable () const |
void | insertItem ( const QString & text, int index = -1 ) |
void | insertItem ( const QPixmap & pixmap, int index = -1 ) |
void | insertItem ( const QPixmap & pixmap, const QString & text, int index = -1 ) |
void | insertStringList ( const QStringList & list, int index = -1 ) |
InsertPolicy | insertionPolicy () const |
QPixmap | pixmap ( int index ) const |
void | popup () |
void | setCurrentItem ( int index ) |
void | setCurrentText ( const QString & text ) |
void | setInsertionPolicy ( InsertPolicy policy ) |
QString | text ( int index ) const |
void | textChanged ( const QString & text ) |
Use QComboBox::InsertPolicy instead.
Use one of the constructors that doesn't take the name argument and then use setObjectName() instead.
Use one of the constructors that doesn't take the name argument and then use setObjectName() instead.
Use setItemText() instead.
Use setItemIcon() instead, for example, setItemIcon(index, QIcon(pixmap)).
Use setItem() instead, for example, setItem(index, QIcon(pixmap),text).
Use clearEditText() instead.
Use setValidator(0) instead.
Use currentIndex() instead.
See also setCurrentItem().
Use isEditable() instead.
See also setEditable().
Use an insertItem() function that takes a QIcon instead, for example, insertItem(index, QIcon(pixmap)).
Use an insertItem() function that takes a QIcon instead, for example, insertItem(index, QIcon(pixmap), text).
See also insertItems().
Use insertItems() instead.
Use QComboBox::insertPolicy instead.
See also setInsertionPolicy().
Use itemIcon() instead.
Use showPopup() instead.
Use setCurrentIndex(int) instead.
See also currentItem().
Use setItemText() instead.
See also currentText() and currentIndex().
Use QComboBox::insertPolicy instead.
See also insertionPolicy().
Use itemText() instead.
Use the editTextChanged(const QString &text) signal instead.