Home · All Classes · All Functions · Overviews |
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.
QKeySequence | accel ( int id ) const |
void | activateItemAt ( int index ) |
void | changeItem ( int id, const QString & text ) |
void | changeItem ( int id, const QPixmap & pixmap ) |
void | changeItem ( int id, const QIcon & icon, const QString & text ) |
bool | connectItem ( int id, const QObject * receiver, const char * member ) |
uint | count () const |
bool | disconnectItem ( int id, const QObject * receiver, const char * member ) |
QMenuItem * | findItem ( int id ) const |
QMenuItem * | findPopup ( QMenu * popup, int * index ) |
int | frameWidth () const |
QIcon | iconSet ( int id ) const |
int | idAt ( int index ) const |
int | indexOf ( int id ) const |
int | insertItem ( const QString & text, const QObject * receiver, const char * member, const QKeySequence & shortcut = 0, int id = -1, int index = -1 ) |
int | insertItem ( const QIcon & icon, const QString & text, const QObject * receiver, const char * member, const QKeySequence & shortcut = 0, int id = -1, int index = -1 ) |
int | insertItem ( const QPixmap & pixmap, const QObject * receiver, const char * member, const QKeySequence & shortcut = 0, int id = -1, int index = -1 ) |
int | insertItem ( const QString & text, int id = -1, int index = -1 ) |
int | insertItem ( const QIcon & icon, const QString & text, int id = -1, int index = -1 ) |
int | insertItem ( const QString & text, QMenu * popup, int id = -1, int index = -1 ) |
int | insertItem ( const QIcon & icon, const QString & text, QMenu * popup, int id = -1, int index = -1 ) |
int | insertItem ( const QPixmap & pixmap, int id = -1, int index = -1 ) |
int | insertItem ( const QPixmap & pixmap, QMenu * popup, int id = -1, int index = -1 ) |
int | insertItem ( QMenuItem * item, int id = -1, int index = -1 ) |
int | insertSeparator ( int index = -1 ) |
int | insertTearOffHandle ( int a = 0, int b = 0 ) |
bool | isCheckable () const |
bool | isItemActive ( int id ) const |
bool | isItemChecked ( int id ) const |
bool | isItemEnabled ( int id ) const |
bool | isItemVisible ( int id ) const |
QFont | itemFont ( int id ) const |
QRect | itemGeometry ( int index ) |
int | itemParameter ( int id ) const |
QPixmap | pixmap ( int id ) const |
void | popup ( const QPoint & pos, int indexAtPoint ) |
void | removeItem ( int id ) |
void | removeItemAt ( int index ) |
void | setAccel ( const QKeySequence & key, int id ) |
void | setActiveItem ( int id ) |
void | setCheckable ( bool checkable ) |
void | setId ( int index, int id ) |
void | setItemChecked ( int id, bool check ) |
void | setItemEnabled ( int id, bool enable ) |
void | setItemFont ( int id, const QFont & font ) |
bool | setItemParameter ( int id, int param ) |
void | setItemVisible ( int id, bool visible ) |
void | setWhatsThis ( int id, const QString & w ) |
QString | text ( int id ) const |
QString | whatsThis ( int id ) const |
void | activated ( int itemId ) |
void | highlighted ( int itemId ) |
int | columns () const |
int | itemAtPos ( const QPoint & p, bool ignoreSeparator = true ) |
int | itemHeight ( int index ) |
int | itemHeight ( QMenuItem * mi ) |
Use shortcut() on the relevant QAction instead.
See also setAccel().
Use activate() on the relevant QAction instead.
Use triggered() instead.
Use setText() on the relevant QAction instead.
Use setText() on the relevant QAction instead.
Use setIcon() and setText() on the relevant QAction instead.
Use columnCount() instead.
Use connect() on the relevant QAction instead.
Use actions().count() instead.
Use disconnect() on the relevant QAction instead.
Use actions instead.
Use QAction and actions() instead.
Use style()->pixelMetric(QStyle::PM_MenuPanelWidth, this) instead.
Use hovered() instead.
Use icon() on the relevant QAction instead.
Use actions instead.
Use actions().indexOf(action) on the relevant QAction instead.
Use insertAction() or one of the addAction() overloads instead.
Use insertAction() or one of the addAction() overloads instead.
Use insertAction() or one of the addAction() overloads instead.
Use insertAction() or one of the addAction() overloads instead.
Use insertAction() or one of the addAction() overloads instead.
Use insertMenu() or one of the addMenu() overloads instead.
Use insertMenu() or one of the addMenu() overloads instead.
Use insertAction() or one of the addAction() overloads instead.
Use insertMenu() or one of the addMenu() overloads instead.
Use insertAction() or one of the addAction() overloads instead.
Use the insertSeparator() overload that takes a QAction * parameter instead.
Use setTearOffEnabled() instead.
Not necessary anymore. Always returns true.
Use activeAction() instead.
Use isChecked() on the relevant QAction instead.
Use isEnabled() on the relevant QAction instead.
Use isVisible() on the relevant QAction instead.
Use actions instead.
Use font() on the relevant QAction instead.
See also setItemFont().
Use actionGeometry() on the relevant QAction instead.
Use actionGeometry(actions().value(index)).height() instead.
Use actionGeometry() instead.
Use QAction::data() instead.
See also setItemParameter().
Use QPixmap(icon()) on the relevant QAction instead.
Use popup() on the relevant QAction instead.
Use removeAction() instead.
Use removeAction() instead.
Use setShortcut() on the relevant QAction instead.
See also accel().
Use setActiveAction() instead.
Not necessary anymore. The checkable parameter is ignored.
See also isCheckable().
Use actions instead.
Use setChecked() on the relevant QAction instead.
See also isItemChecked().
Use setEnabled() on the relevant QAction instead.
See also isItemEnabled().
Use setFont() on the relevant QAction instead.
See also itemFont().
Use QAction::setData() instead.
See also itemParameter().
Use setVisible() on the relevant QAction instead.
See also isItemVisible().
Use setWhatsThis() on the relevant QAction instead.
See also whatsThis().
Use text() on the relevant QAction instead.
Use whatsThis() on the relevant QAction instead.
See also setWhatsThis().
Copyright © 2009 Nokia Corporation and/or its subsidiary(-ies) | Trademarks | Qt 4.6.0 |