Home · All Classes · Main Classes · Grouped Classes · Modules · Functions

Qt 3 Support Members for QAbstractButton

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.

Public Functions

Public Slots


Member Function Documentation

QAbstractButton::QAbstractButton ( QWidget * parent, const char * name, Qt::WindowFlags f = 0 )

Use QAbstractButton(QWidget *) instead.

Call setObjectName() if you want to specify an object name, and setParent() if you want to set the window flags.

QKeySequence QAbstractButton::accel () const

Use shortcut() instead.

See also setAccel().

QIcon * QAbstractButton::iconSet () const

Use icon() instead.

See also setIconSet().

bool QAbstractButton::isOn () const

Use isChecked() instead.

bool QAbstractButton::isToggleButton () const

Use isCheckable() instead.

const QPixmap * QAbstractButton::pixmap () const

This compatibility function always returns 0.

Use icon() instead.

See also setPixmap().

void QAbstractButton::setAccel ( const QKeySequence & key )

Use setShortcut() instead.

See also accel().

void QAbstractButton::setIconSet ( const QIcon & icon )

Use setIcon() instead.

See also iconSet().

void QAbstractButton::setOn ( bool b )   [slot]

Use setChecked() instead.

See also isOn().

void QAbstractButton::setPixmap ( const QPixmap & p )

Use setIcon() instead.

See also pixmap().

void QAbstractButton::setToggleButton ( bool b )

Use setCheckable() instead.

See also isToggleButton().


Copyright © 2008 Trolltech Trademarks
Qt 4.3.5