Debian Codegraph @

Dekko/backend/accounts/service/AccountServiceInterface.h

raw symbols SCIP
1 /*
2 * This file was generated by qdbusxml2cpp version 0.8
3 * Command line was: qdbusxml2cpp /home/dan/dekko/Dekko/backend/accounts/service/dbus/account_service.xml -N -p AccountServiceInterface -c AccountServiceInterface
4 *
5 * qdbusxml2cpp is Copyright (C) 2016 The Qt Company Ltd.
6 *
7 * This is an auto-generated file.
8 * Do not edit! All changes made to it will be lost.
9 */
10
11 #ifndef ACCOUNTSERVICEINTERFACE_H
12 #define ACCOUNTSERVICEINTERFACE_H
13
14 #include <QtCore/QObject>
15 #include <QtCore/QByteArray>
16 #include <QtCore/QList>
17 #include <QtCore/QMap>
18 #include <QtCore/QString>
19 #include <QtCore/QStringList>
20 #include <QtCore/QVariant>
21 #include <QtDBus/QtDBus>
22
23 /*
24 * Proxy class for interface org.dekkoproject.AccountService
25 */
26 class AccountServiceInterface: public QDBusAbstractInterface
27 {
28 Q_OBJECT
29 public:
30 static inline const char *staticInterfaceName()
31 { return "org.dekkoproject.AccountService"; }
32
33 public:
34 AccountServiceInterface(const QString &service, const QString &path, const QDBusConnection &connection, QObject *parent = 0);
35
36 ~AccountServiceInterface();
37
38 public Q_SLOTS: // METHODS
39 inline QDBusPendingReply<QList<quint64> > queryAccounts(const QByteArray &accountKey, const QByteArray &sortKey, int limit)
40 {
41 QList<QVariant> argumentList;
42 argumentList << QVariant::fromValue(accountKey) << QVariant::fromValue(sortKey) << QVariant::fromValue(limit);
43 return asyncCallWithArgumentList(QStringLiteral("queryAccounts"), argumentList);
44 }
45
46 inline QDBusPendingReply<> removeAccount(qulonglong id)
47 {
48 QList<QVariant> argumentList;
49 argumentList << QVariant::fromValue(id);
50 return asyncCallWithArgumentList(QStringLiteral("removeAccount"), argumentList);
51 }
52
53 Q_SIGNALS: // SIGNALS
54 void accountRemoved(qulonglong id);
55 };
56
57 #endif