Home | All Classes | Main Classes | Annotated | Grouped Classes | Functions

Compatibility Members for QComboBox

The following class members are part of the Qt 3 compatibility layer. They are provided to help you port old code to Qt 4. We strongly advise against using them in new code.

QComboBox class reference

Public Functions


Member Function Documentation

QComboBox::QComboBox ( QWidget * parent, const char * name )

Use one of the constructors that doesn't take the name argument and then use setObjectName() instead.

QComboBox::QComboBox ( bool rw, QWidget * parent, const char * name = 0 )

Use one of the constructors that doesn't take the name argument and then use setObjectName() instead.

void QComboBox::changeItem ( const QString & text, int row )

Use setItemText() instead.

void QComboBox::changeItem ( const QPixmap & pixmap, int row )

This is an overloaded member function, provided for convenience. It behaves essentially like the above function.

Use setItemIcon() instead, for example, setItemIcon(QIcon(pixmap), row).

void QComboBox::changeItem ( const QPixmap & pixmap, const QString & text, int row )

This is an overloaded member function, provided for convenience. It behaves essentially like the above function.

Use setItem() instead, for example, setItem(QIcon(pixmap), text row).

bool QComboBox::editable () const

Use isEditable() instead.

void QComboBox::insertItem ( const QPixmap & pixmap, int row = -1 )

This is an overloaded member function, provided for convenience. It behaves essentially like the above function.

Use an insertItem() function that takes a QIcon instead, for example, insertItem(QIcon(pixmap), row).

void QComboBox::insertItem ( const QPixmap & pixmap, const QString & text, int row = -1 )

This is an overloaded member function, provided for convenience. It behaves essentially like the above function.

Use an insertItem() function that takes a QIcon instead, for example, insertItem(QIcon(pixmap), text, row).


Copyright © 2004 Trolltech. Trademarks
Qt 4.0.0-tp2