pqCameraLinkReaction.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 pqCameraLinkReaction_h
5 #define pqCameraLinkReaction_h
6 
7 #include "pqReaction.h"
8 
10 {
11  Q_OBJECT
12  typedef pqReaction Superclass;
13 
14 public:
15  pqCameraLinkReaction(QAction* parent);
16 
20  static void addCameraLink();
21 
22 public Q_SLOTS: // NOLINT(readability-redundant-access-specifiers)
26  void updateEnableState() override;
27 
28 protected:
33 
34 private:
35  Q_DISABLE_COPY(pqCameraLinkReaction)
36 };
37 
38 #endif
void onTriggered() override
Called when the action is triggered.
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
static void addCameraLink()
Adds camera link with the active view.