pqPluginActionGroupBehavior.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 pqPluginActionGroupBehavior_h
5 #define pqPluginActionGroupBehavior_h
6 
8 #include <QObject>
9 
10 class QMainWindow;
11 
19 {
20  Q_OBJECT
21  typedef QObject Superclass;
22 
23 public:
24  pqPluginActionGroupBehavior(QMainWindow* parent = nullptr);
25 
26 public Q_SLOTS: // NOLINT(readability-redundant-access-specifiers)
27  void addPluginInterface(QObject* iface);
28 
29 private:
30  Q_DISABLE_COPY(pqPluginActionGroupBehavior)
31 };
32 
33 #endif
#define PQAPPLICATIONCOMPONENTS_EXPORT
pqPluginActionGroupBehavior adds support for loading menus/toolbars from plugins. ...