以下成员源于类 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.