pqSaveAnimationReaction.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-FileCopyrightText: Copyright (c) Sandia Corporation
3 // SPDX-License-Identifier: BSD-3-Clause
4 #ifndef pqSaveAnimationReaction_h
5 #define pqSaveAnimationReaction_h
6 
7 #include "pqReaction.h"
8 
9 class pqServer;
10 
16 {
17  Q_OBJECT
18  typedef pqReaction Superclass;
19 
20 public:
24  pqSaveAnimationReaction(QAction* parent);
25 
31  static void saveAnimation();
32 
33 public Q_SLOTS: // NOLINT(readability-redundant-access-specifiers)
37  void updateEnableState() override;
38 
39 protected:
44 
45 private:
46  Q_DISABLE_COPY(pqSaveAnimationReaction)
47 };
48 
49 #endif
Reaction to save animation.
static void saveAnimation()
Saves the animation from the active scene.
virtual void updateEnableState()
Definition: pqReaction.h:48
#define PQAPPLICATIONCOMPONENTS_EXPORT
This is a superclass just to make it easier to collect all such reactions.
Definition: pqReaction.h:25
void onTriggered() override
Called when the action is triggered.
pqServer (should be renamed to pqSession) is a pqServerManagerModelItem subclass that represents a vt...
Definition: pqServer.h:35