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
qdbusmenuregistrarproxy_p.h
Go to the documentation of this file.
1// Copyright (C) 2016 Dmitry Shachnev <mitya57@gmail.com>
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3// Qt-Security score:significant reason:default
4
5/*
6 * This file was originally created by qdbusxml2cpp version 0.8
7 * Command line was: qdbusxml2cpp -p qdbusmenuregistrarproxy ../../3rdparty/dbus-ifaces/com.canonical.AppMenu.Registrar.xml
8 *
9 * However it is maintained manually.
10 */
11
12#ifndef QDBUSMENUREGISTRARPROXY_P_H
13#define QDBUSMENUREGISTRARPROXY_P_H
14
15//
16// W A R N I N G
17// -------------
18//
19// This file is not part of the Qt API. It exists purely as an
20// implementation detail. This header file may change from version to
21// version without notice, or even be removed.
22//
23// We mean it.
24//
25
26#include <QtCore/QObject>
27#include <QtCore/QByteArray>
28#include <QtCore/QList>
29#include <QtCore/QString>
30#include <QtCore/QVariant>
31#include <QtDBus/QDBusAbstractInterface>
32#include <QtDBus/QDBusConnection>
33#include <QtDBus/QDBusReply>
34#include <QtCore/private/qglobal_p.h>
35
37
38/*
39 * Proxy class for interface com.canonical.AppMenu.Registrar
40 */
42{
44public:
45 static inline const char *staticInterfaceName()
46 {
47 return "com.canonical.AppMenu.Registrar";
48 }
49
50public:
52 const QString &path,
54 QObject *parent = nullptr);
55
57
58public Q_SLOTS: // METHODS
71
76
78 {
79 return asyncCall(QStringLiteral("UnregisterWindow"), windowId);
80 }
81};
82
83QT_END_NAMESPACE
84
85#endif // QDBUSMENUREGISTRARPROXY_P_H
Combined button and popup list for selecting options.
#define REGISTRAR_PATH
#define REGISTRAR_SERVICE