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
taskmenu.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 TASKMENU_H
6#define TASKMENU_H
7
8#include <QtDesigner/sdk_global.h>
9#include <QtDesigner/extension.h>
10
11QT_BEGIN_NAMESPACE
12
13class QAction;
14
15class QDESIGNER_SDK_EXPORT QDesignerTaskMenuExtension
16{
17public:
18 Q_DISABLE_COPY_MOVE(QDesignerTaskMenuExtension)
19
20 QDesignerTaskMenuExtension() = default;
21 virtual ~QDesignerTaskMenuExtension();
22
23 virtual QAction *preferredEditAction() const;
24
25 virtual QList<QAction*> taskActions() const = 0;
26};
27Q_DECLARE_EXTENSION_INTERFACE(QDesignerTaskMenuExtension, "org.qt-project.Qt.Designer.TaskMenu")
28
29QT_END_NAMESPACE
30
31#endif // TASKMENU_H