Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
abstractformeditorplugin.h
Go to the documentation of this file.
1// Copyright (C) 2016 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
3// Qt-Security score:significant reason:default
4
5#ifndef ABSTRACTFORMEDITORPLUGIN_H
6#define ABSTRACTFORMEDITORPLUGIN_H
7
8#include <QtDesigner/sdk_global.h>
9
10#include <QtCore/qobject.h>
11
12QT_BEGIN_NAMESPACE
13
14class QDesignerFormEditorInterface;
15class QAction;
16
17class QDESIGNER_SDK_EXPORT QDesignerFormEditorPluginInterface
18{
19public:
20 Q_DISABLE_COPY_MOVE(QDesignerFormEditorPluginInterface)
21
22 QDesignerFormEditorPluginInterface() = default;
23 virtual ~QDesignerFormEditorPluginInterface() = default;
24
25 virtual bool isInitialized() const = 0;
26 virtual void initialize(QDesignerFormEditorInterface *core) = 0;
27 virtual QAction *action() const = 0;
28
29 virtual QDesignerFormEditorInterface *core() const = 0;
30};
31Q_DECLARE_INTERFACE(QDesignerFormEditorPluginInterface, "org.qt-project.Qt.Designer.QDesignerFormEditorPluginInterface")
32
33QT_END_NAMESPACE
34
35#endif // ABSTRACTFORMEDITORPLUGIN_H
The QDesignerFormEditorPluginInterface class provides an interface that is used to manage plugins for...
Q_DECLARE_INTERFACE(QNetworkAccessBackendFactory, QNetworkAccessBackendFactory_iid)