pqSignalsBlocker.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 pqSignalsBlocker_h
5 #define pqSignalsBlocker_h
6 
7 #include "pqCoreModule.h"
8 #include <QObject>
9 
15 class PQCORE_EXPORT pqSignalsBlocker : public QObject
16 {
17  Q_OBJECT
18 public:
19  pqSignalsBlocker(QObject* parent = nullptr);
20 
21 Q_SIGNALS:
22  void passSignal();
23 };
24 
25 #endif
pqSignalsBlocker only exposes a custom signal to act as an intermediate object on which to call block...
#define PQCORE_EXPORT
Definition: pqCoreModule.h:15