Krita Source Code Documentation
Loading...
Searching...
No Matches
kmainwindowiface_p.h
Go to the documentation of this file.
1/* This file is part of the KDE project
2 SPDX-FileCopyrightText: 2001 Ian Reinhart Geiser <geiseri@yahoo.com>
3 SPDX-FileCopyrightText: 2006 Thiago Macieira <thiago@kde.org>
4
5 SPDX-License-Identifier: LGPL-2.0-or-later
6*/
7
8#ifndef KMAINWINDOWIFACE_P_H
9#define KMAINWINDOWIFACE_P_H
10
11#include <QDBusAbstractAdaptor>
12#include <QMap>
13
14class KXmlGuiWindow;
15
24class KisKMainWindowInterface : public QDBusAbstractAdaptor
25{
26 Q_OBJECT
27 Q_CLASSINFO("D-Bus Interface", "org.kde.KisKMainWindow")
28
29public:
40 ~KisKMainWindowInterface() override;
41
42public Q_SLOTS:
48
55 bool activateAction(const QString &action);
56
63 bool disableAction(const QString &action);
64
71 bool enableAction(const QString &action);
72
79 bool actionIsEnabled(const QString &action);
80
87 QString actionToolTip(const QString &action);
88
95 qlonglong winId();
101private:
103};
104
105#endif // KMAINWINDOWIFACE_P_H
106
KDE top level main window with predefined action layout
D-Bus interface to KisKMainWindow.
QString actionToolTip(const QString &action)
bool activateAction(const QString &action)
KisKMainWindowInterface(KXmlGuiWindow *mainWindow)
bool actionIsEnabled(const QString &action)
bool disableAction(const QString &action)
bool enableAction(const QString &action)