Debian Codegraph @

online-accounts/lib/qt/LomiriOnlineAccounts/dbus_interface.h

raw symbols SCIP
1 /*
2 * This file is part of libOnlineAccounts
3 *
4 * Copyright (C) 2015 Canonical Ltd.
5 *
6 * Contact: Alberto Mardegan <[email protected]>
7 *
8 * This program is free software: you can redistribute it and/or modify it
9 * under the terms of the GNU Lesser General Public License version 3, as
10 * published by the Free Software Foundation.
11 *
12 * This program is distributed in the hope that it will be useful, but
13 * WITHOUT ANY WARRANTY; without even the implied warranties of
14 * MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR
15 * PURPOSE. See the GNU Lesser General Public License for more details.
16 *
17 * You should have received a copy of the GNU Lesser General Public License
18 * along with this program. If not, see <http://www.gnu.org/licenses/>.
19 */
20
21 #ifndef ONLINE_ACCOUNTS_DBUS_INTERFACE_H
22 #define ONLINE_ACCOUNTS_DBUS_INTERFACE_Hcxx . . $ `online-accounts/lib/qt/LomiriOnlineAccounts/dbus_interface.h:22:9`!
23
24 #include <QDBusAbstractInterface>
25 #include <QDBusPendingCall>
26 #include <QDBusPendingReply>
27 #include <QList>
28
29 #include "account_info.h"cxx . . $ `<file>/online-accounts/lib/qt/LomiriOnlineAccounts/account_info.h`/
30
31 namespace OnlineAccountscxx . . $ OnlineAccounts/ {
32
33 /* Avoid using QDBusInterface which does a blocking introspection call.
34 */
35 class DBusInterfacecxx . . $ OnlineAccounts/DBusInterface#: public QDBusAbstractInterfacecxx . . $ QDBusAbstractInterface#
36 {
37 Q_OBJECTcxx . . $ QMetaObject#Call#
38
39 public:
40 DBusInterfacecxx . . $ OnlineAccounts/DBusInterface#DBusInterface(224dae0651165b93).(const QStringcxx . . $ QString# &service,
41 const QStringcxx . . $ QString# &path,
42 const char *interface,
43 const QDBusConnectioncxx . . $ QDBusConnection# &connection,
44 QObjectcxx . . $ QObject# *parent = 0);
45 virtual ~cxx . . $ OnlineAccounts/DBusInterface#`~DBusInterface`(ced63f7c635d850d).DBusInterfacecxx . . $ OnlineAccounts/DBusInterface#();
46
47 QDBusPendingCallcxx . . $ QDBusPendingCall# getAccountscxx . . $ OnlineAccounts/DBusInterface#getAccounts(b51b7b3132a30a2e).(const QVariantMapcxx . . $ QVariantMap# &filters);
48
49 QDBusPendingCallcxx . . $ QDBusPendingCall# authenticatecxx . . $ OnlineAccounts/DBusInterface#authenticate(b00d1d18985ea8c5).(AccountIdcxx . . $ OnlineAccounts/AccountId# accountId, const QStringcxx . . $ QString# &service,
50 bool interactive, bool invalidate,
51 const QVariantMapcxx . . $ QVariantMap# &parameters);
52
53 QDBusPendingCallcxx . . $ QDBusPendingCall# requestAccesscxx . . $ OnlineAccounts/DBusInterface#requestAccess(4159e901b734aa9f).(const QStringcxx . . $ QString# &service,
54 const QVariantMapcxx . . $ QVariantMap# &parameters);
55
56 Q_SIGNALScxx . . $ `<external>/1208926524888476972/qobjectdefs.h:93:10`!:
57 void accountChangedcxx . . $ OnlineAccounts/DBusInterface#accountChanged(74743381be4c72db).(const QStringcxx . . $ QString# &service,
58 const OnlineAccountscxx . . $ OnlineAccounts/::AccountInfocxx . . $ OnlineAccounts/AccountInfo# &info);
59
60 private Q_SLOTScxx . . $ `<external>/1208926524888476972/qobjectdefs.h:92:10`!:
61 void onAccountChangedcxx . . $ OnlineAccounts/DBusInterface#onAccountChanged(74743381be4c72db).(const QStringcxx . . $ QString# &service,
62 const OnlineAccountscxx . . $ OnlineAccounts/::AccountInfocxx . . $ OnlineAccounts/AccountInfo# &info);
63
64 private:
65 bool connectcxx . . $ OnlineAccounts/DBusInterface#connect(965e8f631af2ae0).(const char *signal, const char *signature,
66 QObjectcxx . . $ QObject# *receiver, const char *slot);
67 };
68
69 }
70
71 #endif // ONLINE_ACCOUNTS_DBUS_INTERFACE_H