pqMasterOnlyReaction.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 pqMasterOnlyReaction_h
5 #define pqMasterOnlyReaction_h
6 
8 #include "pqReaction.h"
9 #include <QAction>
10 
25 {
26  Q_OBJECT
27  typedef pqReaction Superclass;
28 
29 public:
30  pqMasterOnlyReaction(QAction* parentObject);
31  pqMasterOnlyReaction(QAction* parentObject, Qt::ConnectionType type);
32 
33 protected Q_SLOTS:
34  void updateEnableState() override;
35 
36 private:
37  Q_DISABLE_COPY(pqMasterOnlyReaction)
38 };
39 
40 #endif
type
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
This is a superclass just to make it easier to collect all such reactions.