QtBase  v6.3.1
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
QActionPrivate Class Reference

#include <qaction_p.h>

Inheritance diagram for QActionPrivate:
Inheritance graph
[legend]
Collaboration diagram for QActionPrivate:
Collaboration graph
[legend]

Public Member Functions

 QActionPrivate ()
 
 ~QActionPrivate ()
 
virtual void destroy ()
 
bool setEnabled (bool enable, bool byGroup)
 
void setVisible (bool b)
 
virtual QObjectmenu () const
 
virtual void setMenu (QObject *menu)
 
bool showStatusText (QObject *widget, const QString &str)
 
void sendDataChanged ()
 
- Public Member Functions inherited from QObjectPrivate
 QObjectPrivate (int version=QObjectPrivateVersion)
 
virtual ~QObjectPrivate ()
 
void deleteChildren ()
 
void clearBindingStorage ()
 
void checkForIncompatibleLibraryVersion (int version) const
 
void setParent_helper (QObject *)
 
void moveToThread_helper ()
 
void setThreadData_helper (QThreadData *currentData, QThreadData *targetData)
 
void _q_reregisterTimers (void *pointer)
 
bool isSender (const QObject *receiver, const char *signal) const
 
QObjectList receiverList (const char *signal) const
 
QObjectList senderList () const
 
void addConnection (int signal, Connection *c)
 
int signalIndex (const char *signalName, const QMetaObject **meta=nullptr) const
 
bool isSignalConnected (uint signalIdx, bool checkDeclarative=true) const
 
bool maybeSignalConnected (uint signalIndex) const
 
bool isDeclarativeSignalConnected (uint signalIdx) const
 
void connectNotify (const QMetaMethod &signal)
 
void disconnectNotify (const QMetaMethod &signal)
 
void ensureConnectionData ()
 
- Public Member Functions inherited from QObjectData
 QObjectData ()=default
 
virtual ~QObjectData ()=0
 
QMetaObjectdynamicMetaObject () const
 

Static Public Member Functions

static QActionPrivateget (QAction *q)
 
- Static Public Member Functions inherited from QObjectPrivate
static QObjectPrivateget (QObject *o)
 
static const QObjectPrivateget (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)
 
static bool disconnect (Connection *c)
 

Public Attributes

QPointer< QActionGroupgroup
 
QString text
 
QString iconText
 
QIcon icon
 
QString tooltip
 
QString statustip
 
QString whatsthis
 
QVariant userData
 
QObjectList associatedObjects
 
QFont font
 
uint enabled: 1
 
uint explicitEnabled: 1
 
uint explicitEnabledValue: 1
 
uint visible: 1
 
uint forceInvisible: 1
 
uint checkable: 1
 
uint checked: 1
 
uint separator: 1
 
uint fontSet: 1
 
int iconVisibleInMenu: 2
 
int shortcutVisibleInContextMenu: 2
 
QAction::MenuRole menuRole = QAction::TextHeuristicRole
 
QAction::Priority priority = QAction::NormalPriority
 
- Public Attributes inherited from QObjectPrivate
ExtraDataextraData
 
QAtomicPointer< QThreadDatathreadData
 
QAtomicPointer< ConnectionDataconnections
 
union {
   QObject *   currentChildBeingDeleted
 
   QAbstractDeclarativeData *   declarativeData
 
}; 
 
QAtomicPointer< QtSharedPointer::ExternalRefCountDatasharedRefcount
 
- Public Attributes inherited from QObjectData
QObjectq_ptr
 
QObjectparent
 
QObjectList children
 
uint isWidget: 1
 
uint blockSig: 1
 
uint wasDeleted: 1
 
uint isDeletingChildren: 1
 
uint sendChildEvents: 1
 
uint receiveChildEvents: 1
 
uint isWindow: 1
 
uint deleteLaterCalled: 1
 
uint unused: 24
 
int postedEvents
 
QDynamicMetaObjectDatametaObject
 
QBindingStorage bindingStorage
 

Additional Inherited Members

- Public Types inherited from QObjectPrivate
typedef void(* StaticMetaCallFunction) (QObject *, QMetaObject::Call, int, void **)
 
using ConnectionDataPointer = QExplicitlySharedDataPointer< ConnectionData >
 

Detailed Description

Definition at line 68 of file qaction_p.h.

Constructor & Destructor Documentation

◆ QActionPrivate()

QActionPrivate::QActionPrivate ( )

Definition at line 80 of file qaction.cpp.

◆ ~QActionPrivate()

QActionPrivate::~QActionPrivate ( )
default

Member Function Documentation

◆ destroy()

void QActionPrivate::destroy ( )
virtual

Reimplemented in QtWidgetsActionPrivate.

Definition at line 101 of file qaction.cpp.

◆ get()

static QActionPrivate* QActionPrivate::get ( QAction q)
inlinestatic

Definition at line 81 of file qaction_p.h.

Here is the caller graph for this function:

◆ menu()

QObject * QActionPrivate::menu ( ) const
virtual

Definition at line 168 of file qaction.cpp.

◆ sendDataChanged()

void QActionPrivate::sendDataChanged ( )

Definition at line 105 of file qaction.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setEnabled()

bool QActionPrivate::setEnabled ( bool  enable,
bool  byGroup 
)

Definition at line 968 of file qaction.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setMenu()

void QActionPrivate::setMenu ( QObject menu)
virtual

Definition at line 164 of file qaction.cpp.

◆ setVisible()

void QActionPrivate::setVisible ( bool  b)

Definition at line 1031 of file qaction.cpp.

Here is the call graph for this function:

◆ showStatusText()

bool QActionPrivate::showStatusText ( QObject widget,
const QString str 
)

Definition at line 154 of file qaction.cpp.

Here is the call graph for this function:

Member Data Documentation

◆ associatedObjects

QObjectList QActionPrivate::associatedObjects

Definition at line 101 of file qaction_p.h.

◆ checkable

uint QActionPrivate::checkable

Definition at line 113 of file qaction_p.h.

◆ checked

uint QActionPrivate::checked

Definition at line 114 of file qaction_p.h.

◆ enabled

uint QActionPrivate::enabled

Definition at line 111 of file qaction_p.h.

◆ explicitEnabled

uint QActionPrivate::explicitEnabled

Definition at line 111 of file qaction_p.h.

◆ explicitEnabledValue

uint QActionPrivate::explicitEnabledValue

Definition at line 111 of file qaction_p.h.

◆ font

QFont QActionPrivate::font

Definition at line 110 of file qaction_p.h.

◆ fontSet

uint QActionPrivate::fontSet

Definition at line 116 of file qaction_p.h.

◆ forceInvisible

uint QActionPrivate::forceInvisible

Definition at line 112 of file qaction_p.h.

◆ group

QPointer<QActionGroup> QActionPrivate::group

Definition at line 89 of file qaction_p.h.

◆ icon

QIcon QActionPrivate::icon

Definition at line 92 of file qaction_p.h.

◆ iconText

QString QActionPrivate::iconText

Definition at line 91 of file qaction_p.h.

◆ iconVisibleInMenu

int QActionPrivate::iconVisibleInMenu

Definition at line 118 of file qaction_p.h.

◆ menuRole

QAction::MenuRole QActionPrivate::menuRole = QAction::TextHeuristicRole

Definition at line 121 of file qaction_p.h.

◆ priority

QAction::Priority QActionPrivate::priority = QAction::NormalPriority

Definition at line 122 of file qaction_p.h.

◆ separator

uint QActionPrivate::separator

Definition at line 115 of file qaction_p.h.

◆ shortcutVisibleInContextMenu

int QActionPrivate::shortcutVisibleInContextMenu

Definition at line 119 of file qaction_p.h.

◆ statustip

QString QActionPrivate::statustip

Definition at line 94 of file qaction_p.h.

◆ text

QString QActionPrivate::text

Definition at line 90 of file qaction_p.h.

◆ tooltip

QString QActionPrivate::tooltip

Definition at line 93 of file qaction_p.h.

◆ userData

QVariant QActionPrivate::userData

Definition at line 99 of file qaction_p.h.

◆ visible

uint QActionPrivate::visible

Definition at line 112 of file qaction_p.h.

◆ whatsthis

QString QActionPrivate::whatsthis

Definition at line 95 of file qaction_p.h.


The documentation for this class was generated from the following files: