ParaView
Public Slots | Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
pqLoadStateReaction Class Reference

Reaction for load state action. More...

#include <pqLoadStateReaction.h>

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

Public Slots

void updateEnableState ()
 Updates the enabled state. More...
 

Public Member Functions

 pqLoadStateReaction (QAction *parent)
 Constructor. More...
 
- Public Member Functions inherited from pqReaction
 pqReaction (QAction *parent, Qt::ConnectionType type=Qt::AutoConnection)
 Constructor. More...
 
virtual ~pqReaction ()
 
QAction * parentAction () const
 Provides access to the parent action. More...
 

Static Public Member Functions

static void loadState (const QString &filename)
 Loads the state file. More...
 
static void loadState ()
 

Protected Member Functions

virtual void onTriggered ()
 Called when the action is triggered. More...
 

Additional Inherited Members

- Protected Slots inherited from pqReaction
virtual void updateEnableState ()
 
virtual void updateMasterEnableState (bool)
 
- Protected Attributes inherited from pqReaction
bool IsMaster
 

Detailed Description

Reaction for load state action.

Definition at line 41 of file pqLoadStateReaction.h.

Constructor & Destructor Documentation

◆ pqLoadStateReaction()

pqLoadStateReaction::pqLoadStateReaction ( QAction *  parent)

Constructor.

Parent cannot be NULL.

Member Function Documentation

◆ loadState() [1/2]

static void pqLoadStateReaction::loadState ( const QString &  filename)
static

Loads the state file.

Note that this method is static. Applications can simply use this without having to create a reaction instance.

◆ loadState() [2/2]

static void pqLoadStateReaction::loadState ( )
static

◆ updateEnableState

void pqLoadStateReaction::updateEnableState ( )
slot

Updates the enabled state.

Applications need not explicitly call this.

◆ onTriggered()

virtual void pqLoadStateReaction::onTriggered ( )
inlineprotectedvirtual

Called when the action is triggered.

Reimplemented from pqReaction.

Definition at line 71 of file pqLoadStateReaction.h.


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