35 #include "pqApplicationComponentsModule.h" 48 class PQAPPLICATIONCOMPONENTS_EXPORT
pqReaction :
public QObject
51 typedef QObject Superclass;
54 pqReaction(QAction* parent,Qt::ConnectionType type = Qt::AutoConnection );
60 return qobject_cast<QAction*>(this->parent());
68 virtual void updateMasterEnableState(
bool);
virtual void updateEnableState()
This is a superclass just to make it easier to collect all such reactions.
QAction * parentAction() const
Provides access to the parent action.
virtual void onTriggered()
Called when the action is triggered.