![]() |
Qt 6.x
The Qt SDK
|
#include <qaction_p.h>
Inheritance diagram for QActionPrivate:
Collaboration diagram for QActionPrivate:Static Public Member Functions | |
| static QActionPrivate * | get (QAction *q) |
Static Public Member Functions inherited from QObjectPrivate | |
| static bool | removeConnection (Connection *c) |
| static QObjectPrivate * | get (QObject *o) |
| static const QObjectPrivate * | get (const QObject *o) |
| template<typename Func1 , typename Func2 > | |
| static QMetaObject::Connection | connect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::FunctionPointer< Func2 >::Object *receiverPrivate, Func2 slot, Qt::ConnectionType type=Qt::AutoConnection) |
| template<typename Func1 , typename Func2 > | |
| static bool | disconnect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::FunctionPointer< Func2 >::Object *receiverPrivate, Func2 slot) |
| static QMetaObject::Connection | connectImpl (const QObject *sender, int signal_index, const QObject *receiver, void **slot, QtPrivate::QSlotObjectBase *slotObj, int type, const int *types, const QMetaObject *senderMetaObject) |
| static QMetaObject::Connection | connect (const QObject *sender, int signal_index, QtPrivate::QSlotObjectBase *slotObj, Qt::ConnectionType type) |
| static QMetaObject::Connection | connect (const QObject *sender, int signal_index, const QObject *receiver, QtPrivate::QSlotObjectBase *slotObj, Qt::ConnectionType type) |
| static bool | disconnect (const QObject *sender, int signal_index, void **slot) |
| static bool | disconnect (const QObject *sender, int signal_index, const QObject *receiver, void **slot) |
Additional Inherited Members | |
Public Types inherited from QObjectPrivate | |
| typedef void(* | StaticMetaCallFunction) (QObject *, QMetaObject::Call, int, void **) |
| using | ConnectionDataPointer = QExplicitlySharedDataPointer< ConnectionData > |
Definition at line 32 of file qaction_p.h.
| QActionPrivate::QActionPrivate | ( | ) |
Definition at line 46 of file qaction.cpp.
|
default |
|
virtual |
Reimplemented in QtWidgetsActionPrivate.
Definition at line 67 of file qaction.cpp.
|
inlinestatic |
Definition at line 45 of file qaction_p.h.
Referenced by QToolButton::setDefaultAction().
Here is the caller graph for this function:
|
virtual |
Definition at line 134 of file qaction.cpp.
| void QActionPrivate::sendDataChanged | ( | ) |
Definition at line 71 of file qaction.cpp.
References QEvent::ActionChanged, e, emit, and QCoreApplication::sendEvent().
Referenced by setEnabled(), and setVisible().
Here is the call graph for this function:
Here is the caller graph for this function:| bool QActionPrivate::setEnabled | ( | bool | enable, |
| bool | byGroup | ||
| ) |
Definition at line 938 of file qaction.cpp.
References emit, explicitEnabled, explicitEnabledValue, QGuiApplicationPrivate::instance(), sendDataChanged(), and visible.
Referenced by setVisible().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 130 of file qaction.cpp.
| void QActionPrivate::setVisible | ( | bool | b | ) |
Definition at line 1001 of file qaction.cpp.
References emit, explicitEnabled, explicitEnabledValue, QAPP_CHECK, sendDataChanged(), setEnabled(), and visible.
Here is the call graph for this function:Definition at line 120 of file qaction.cpp.
References QObjectData::parent, QCoreApplication::sendEvent(), and str.
Here is the call graph for this function:| QObjectList QActionPrivate::associatedObjects |
Definition at line 65 of file qaction_p.h.
Referenced by QGraphicsWidget::~QGraphicsWidget(), QWidget::~QWidget(), QtWidgetsActionPrivate::destroy(), QGraphicsWidget::insertAction(), QWidget::insertAction(), QGraphicsWidget::removeAction(), and QWidget::removeAction().
| uint QActionPrivate::checkable |
Definition at line 77 of file qaction_p.h.
| uint QActionPrivate::checked |
Definition at line 78 of file qaction_p.h.
| uint QActionPrivate::enabled |
Definition at line 75 of file qaction_p.h.
| uint QActionPrivate::explicitEnabled |
Definition at line 75 of file qaction_p.h.
Referenced by setEnabled(), and setVisible().
| uint QActionPrivate::explicitEnabledValue |
Definition at line 75 of file qaction_p.h.
Referenced by setEnabled(), and setVisible().
| QFont QActionPrivate::font |
Definition at line 74 of file qaction_p.h.
| uint QActionPrivate::fontSet |
Definition at line 80 of file qaction_p.h.
| uint QActionPrivate::forceInvisible |
Definition at line 76 of file qaction_p.h.
| QPointer<QActionGroup> QActionPrivate::group |
Definition at line 53 of file qaction_p.h.
| QIcon QActionPrivate::icon |
Definition at line 56 of file qaction_p.h.
| QString QActionPrivate::iconText |
Definition at line 55 of file qaction_p.h.
| int QActionPrivate::iconVisibleInMenu |
Definition at line 82 of file qaction_p.h.
| QAction::MenuRole QActionPrivate::menuRole = QAction::TextHeuristicRole |
Definition at line 85 of file qaction_p.h.
| QAction::Priority QActionPrivate::priority = QAction::NormalPriority |
Definition at line 86 of file qaction_p.h.
| uint QActionPrivate::separator |
Definition at line 79 of file qaction_p.h.
| int QActionPrivate::shortcutVisibleInContextMenu |
Definition at line 83 of file qaction_p.h.
| QString QActionPrivate::statustip |
Definition at line 58 of file qaction_p.h.
| QString QActionPrivate::text |
Definition at line 54 of file qaction_p.h.
| QString QActionPrivate::tooltip |
Definition at line 57 of file qaction_p.h.
| QVariant QActionPrivate::userData |
Definition at line 63 of file qaction_p.h.
| uint QActionPrivate::visible |
Definition at line 76 of file qaction_p.h.
Referenced by setEnabled(), and setVisible().
| QString QActionPrivate::whatsthis |
Definition at line 59 of file qaction_p.h.