pqPluginToolBarBehavior.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 pqPluginToolBarBehavior_h
5 #define pqPluginToolBarBehavior_h
6 
8 #include <QObject>
9 
24 class QMainWindow;
26 {
27  Q_OBJECT
28  typedef QObject Superclass;
29 
30 public:
31  pqPluginToolBarBehavior(QMainWindow* parent = nullptr);
32  ~pqPluginToolBarBehavior() override;
33 
34 public Q_SLOTS: // NOLINT(readability-redundant-access-specifiers)
35  void addPluginInterface(QObject* iface);
36 
37 private:
38  Q_DISABLE_COPY(pqPluginToolBarBehavior)
39 };
40 
41 #endif
#define PQAPPLICATIONCOMPONENTS_EXPORT
Behavior that monitors loaded plugins to handle any implementations of pqToolBarInterface.