pqReloadFilesReaction adds handler code to reload the active reader or all readers depending on the ReloadMode passed in the constructor. More...
#include <pqReloadFilesReaction.h>


Public Types | |
| enum | ReloadModes { ActiveSource, AllSources } |
Public Member Functions | |
| pqReloadFilesReaction (QAction *parent=nullptr, ReloadModes reloadMode=ActiveSource) | |
| ~pqReloadFilesReaction () override | |
| bool | reloadSources () |
| reload the active source or all sources if they support reload. More... | |
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 bool | reload (vtkSMSourceProxy *proxy) |
reload the proxy if it supports reload. More... | |
Protected Member Functions | |
| void | onTriggered () override |
| Called when the action is triggered. More... | |
| void | updateEnableState () override |
Additional Inherited Members | |
Protected Slots inherited from pqReaction | |
| virtual void | updateMasterEnableState (bool) |
Protected Attributes inherited from pqReaction | |
| bool | IsMaster |
pqReloadFilesReaction adds handler code to reload the active reader or all readers depending on the ReloadMode passed in the constructor.
It calls the "reload" property, identified by hints, if present, or calls vtkSMProxy::RecreateVTKObjects().
Definition at line 18 of file pqReloadFilesReaction.h.
| Enumerator | |
|---|---|
| ActiveSource | |
| AllSources | |
Definition at line 24 of file pqReloadFilesReaction.h.
| pqReloadFilesReaction::pqReloadFilesReaction | ( | QAction * | parent = nullptr, |
| ReloadModes | reloadMode = ActiveSource |
||
| ) |
|
override |
| bool pqReloadFilesReaction::reloadSources | ( | ) |
reload the active source or all sources if they support reload.
Returns true on success.
|
static |
reload the proxy if it supports reload.
Returns true on success.
|
inlineoverrideprotectedvirtual |
Called when the action is triggered.
Reimplemented from pqReaction.
Definition at line 44 of file pqReloadFilesReaction.h.
|
overrideprotectedvirtual |
Reimplemented from pqReaction.
1.8.13 on Mon Mar 23 2026