Debian Codegraph @

src/lomiriappmenu/registry.h

raw symbols SCIP
1 /*
2 * Copyright (C) 2016 Canonical, Ltd.
3 *
4 * This program is free software: you can redistribute it and/or modify it under
5 * the terms of the GNU Lesser General Public License version 3, as published by
6 * the Free Software Foundation.
7 *
8 * This program is distributed in the hope that it will be useful, but WITHOUT
9 * ANY WARRANTY; without even the implied warranties of MERCHANTABILITY,
10 * SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 * Lesser General Public License for more details.
12 *
13 * You should have received a copy of the GNU Lesser General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17 #ifndef LOMIRI_MENU_REGISTRY_H
18 #define LOMIRI_MENU_REGISTRY_Hcxx . . $ `src/lomiriappmenu/registry.h:18:9`!
19
20 #include <QObject>
21 #include <QScopedPointer>
22
23 class ComLomiriMenuRegistrarInterfacecxx . . $ ComLomiriMenuRegistrarInterface#;
24 class QDBusObjectPathcxx . . $ QDBusObjectPath#;
25 class QDBusServiceWatchercxx . . $ QDBusServiceWatcher#;
26
27 class LomiriMenuRegistrycxx . . $ LomiriMenuRegistry# : public QObjectcxx . . $ QObject#
28 {
29 Q_OBJECTcxx . . $ LomiriMenuRegistry#tr(75d9f1c324b4579d).
30 public:
31 LomiriMenuRegistrycxx . . $ LomiriMenuRegistry#LomiriMenuRegistry(749de1b6ae65bddd).(QObjectcxx . . $ QObject#* parent = nullptr);
32 virtual ~cxx . . $ LomiriMenuRegistry#`~LomiriMenuRegistry`(49f6e7a06ebc5aa8).LomiriMenuRegistrycxx . . $ LomiriMenuRegistry#();
33
34 static LomiriMenuRegistrycxx . . $ LomiriMenuRegistry# *instancecxx . . $ LomiriMenuRegistry#instance(b0a1ce46fb707340).();
35
36 void registerApplicationMenucxx . . $ LomiriMenuRegistry#registerApplicationMenu(d940720556290bb7).(pid_tcxx . . $ pid_t# pid, QDBusObjectPathcxx . . $ QDBusObjectPath# menuObjectPath, const QStringcxx . . $ QString# &service);
37 void unregisterApplicationMenucxx . . $ LomiriMenuRegistry#unregisterApplicationMenu(ed291af23ed92a62).(pid_tcxx . . $ pid_t# pid, QDBusObjectPathcxx . . $ QDBusObjectPath# menuObjectPath);
38
39 void registerSurfaceMenucxx . . $ LomiriMenuRegistry#registerSurfaceMenu(ea9db58ee935b3e8).(const QStringcxx . . $ QString# &surfaceId, QDBusObjectPathcxx . . $ QDBusObjectPath# menuObjectPath, const QStringcxx . . $ QString# &service);
40 void unregisterSurfaceMenucxx . . $ LomiriMenuRegistry#unregisterSurfaceMenu(88b147b41fa0c21e).(const QStringcxx . . $ QString# &surfaceId, QDBusObjectPathcxx . . $ QDBusObjectPath# menuObjectPath);
41
42 bool isConnectedcxx . . $ LomiriMenuRegistry#isConnected(50ce9a9e25b4a850).() const { return m_connectedcxx . . $ LomiriMenuRegistry#m_connected.; }
43
44 Q_SIGNALScxx . . $ `<external>/1208926524888476972/qobjectdefs.h:93:10`!:
45 void serviceChangedcxx . . $ LomiriMenuRegistry#serviceChanged(49f6e7a06ebc5aa8).();
46
47 private Q_SLOTScxx . . $ `<external>/1208926524888476972/qobjectdefs.h:92:10`!:
48 void serviceOwnerChangedcxx . . $ LomiriMenuRegistry#serviceOwnerChanged(9f9ceb6f9de3a67b).(const QStringcxx . . $ QString# &serviceName, const QStringcxx . . $ QString#& oldOwner, const QStringcxx . . $ QString# &newOwner);
49
50 private:
51 QScopedPointercxx . . $ QScopedPointer#<QDBusServiceWatchercxx . . $ QDBusServiceWatcher#> m_serviceWatchercxx . . $ LomiriMenuRegistry#m_serviceWatcher.;
52 QScopedPointercxx . . $ QScopedPointer#<ComLomiriMenuRegistrarInterfacecxx . . $ ComLomiriMenuRegistrarInterface#> m_interfacecxx . . $ LomiriMenuRegistry#m_interface.;
53 bool m_connectedcxx . . $ LomiriMenuRegistry#m_connected.;
54 };
55
56 #endif // LOMIRI_MENU_REGISTRY_H