以下成員源於類 QMenu 被棄用。 提供它們是為使舊源代碼能繼續工作。強烈建議不要在新代碼中使用它們。
(棄用)
QAction *
|
addAction (const QString & text , const QObject * receiver , const char * member , const QKeySequence & shortcut ) |
(棄用)
QAction *
|
addAction (const QIcon & icon , const QString & text , const QObject * receiver , const char * member , const QKeySequence & shortcut ) |
(棄用)
QAction *
|
addAction (const QString & text , Functor functor , const QKeySequence & shortcut ) |
(棄用)
QAction *
|
addAction (const QString & text , const QObject * context , Functor functor , const QKeySequence & shortcut ) |
(棄用)
QAction *
|
addAction (const QIcon & icon , const QString & text , Functor functor , const QKeySequence & shortcut ) |
(棄用)
QAction *
|
addAction (const QIcon & icon , const QString & text , const QObject * context , Functor functor , const QKeySequence & shortcut ) |
This function is deprecated. We strongly advise against using it in new code.
使用
QWidget::addAction(text, shortcut, receiver, member)
代替。
This function is deprecated. We strongly advise against using it in new code.
使用 QWidget::addAction (icon, text, shortcut, receiver, member) instead.
This function is deprecated. We strongly advise against using it in new code.
使用 QWidget::addAction (text, shortcut, functor) instead.
This function is deprecated. We strongly advise against using it in new code.
使用 QWidget::addAction (text, shortcut, context, functor) instead.
This function is deprecated. We strongly advise against using it in new code.
使用 QWidget::addAction (icon, text, shortcut, functor) instead.
This function is deprecated. We strongly advise against using it in new code.
使用 QWidget::addAction (icon, text, shortcut, context, functor) instead.