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
Collaboration diagram for pqAddToFavoritesReaction:
Collaboration graph

Public Slots

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

Public Member Functions

 pqAddToFavoritesReaction (QAction *parent, QVector< QString > &filters)
 pqAddToFavoritesReaction (QAction *parent, pqProxyGroupMenuManager *manager)
 ~pqAddToFavoritesReaction () override
- 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 20 of file pqAddToFavoritesReaction.h.

Constructor & Destructor Documentation

◆ pqAddToFavoritesReaction() [1/2]

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

◆ pqAddToFavoritesReaction() [2/2]

pqAddToFavoritesReaction::pqAddToFavoritesReaction ( QAction *  parent,
pqProxyGroupMenuManager manager 

◆ ~pqAddToFavoritesReaction()

pqAddToFavoritesReaction::~pqAddToFavoritesReaction ( )

Member Function Documentation

◆ addToFavorites()

static void pqAddToFavoritesReaction::addToFavorites ( QAction *  parent)

Add filter in favorites.

◆ updateEnableState

void pqAddToFavoritesReaction::updateEnableState ( )

Updates the enabled state.

Applications need not explicitly call this.

◆ onTriggered()

void pqAddToFavoritesReaction::onTriggered ( )

Called when the action is triggered.

Reimplemented from pqReaction.

Definition at line 50 of file pqAddToFavoritesReaction.h.

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