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

Reaction to add selected filter in favorites. More...

#include <pqAddToFavoritesReaction.h>

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

Public Slots

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

Public Member Functions

 pqAddToFavoritesReaction (QAction *parent, QVector< QString > &filters)
 
- Public Member Functions inherited from pqReaction
 pqReaction (QAction *parent, Qt::ConnectionType type=Qt::AutoConnection)
 Constructor. More...
 
 ~pqReaction () override
 
QAction * parentAction () const
 Provides access to the parent action. More...
 

Static Public Member Functions

static void addToFavorites (QAction *parent)
 Add filter in favorites. More...
 

Protected Member Functions

void onTriggered () override
 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 to add selected filter in favorites.

Definition at line 41 of file pqAddToFavoritesReaction.h.

Constructor & Destructor Documentation

◆ pqAddToFavoritesReaction()

pqAddToFavoritesReaction::pqAddToFavoritesReaction ( QAction *  parent,
QVector< QString > &  filters 
)

Member Function Documentation

◆ addToFavorites()

static void pqAddToFavoritesReaction::addToFavorites ( QAction *  parent)
static

Add filter in favorites.

◆ updateEnableState

void pqAddToFavoritesReaction::updateEnableState ( )
overrideslot

Updates the enabled state.

Applications need not explicitly call this.

◆ onTriggered()

void pqAddToFavoritesReaction::onTriggered ( )
inlineoverrideprotectedvirtual

Called when the action is triggered.

Reimplemented from pqReaction.

Definition at line 65 of file pqAddToFavoritesReaction.h.


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