| 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 -a AccountServiceAdaptor -c AccountServiceAdaptor |
| 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 | #include "AccountServiceAdaptor.h" |
| 12 | #include <QtCore/QMetaObject> |
| 13 | #include <QtCore/QByteArray> |
| 14 | #include <QtCore/QList> |
| 15 | #include <QtCore/QMap> |
| 16 | #include <QtCore/QString> |
| 17 | #include <QtCore/QStringList> |
| 18 | #include <QtCore/QVariant> |
| 19 | |
| 20 | /* |
| 21 | * Implementation of adaptor class AccountServiceAdaptor |
| 22 | */ |
| 23 | |
| 24 | AccountServiceAdaptor::AccountServiceAdaptor(QObject *parent) |
| 25 | : QDBusAbstractAdaptor(parent) |
| 26 | { |
| 27 | // constructor |
| 28 | setAutoRelaySignals(true); |
| 29 | } |
| 30 | |
| 31 | AccountServiceAdaptor::~AccountServiceAdaptor() |
| 32 | { |
| 33 | // destructor |
| 34 | } |
| 35 | |
| 36 | QList<quint64> AccountServiceAdaptor::queryAccounts(const QByteArray &accountKey, const QByteArray &sortKey, int limit) |
| 37 | { |
| 38 | // handle method call org.dekkoproject.AccountService.queryAccounts |
| 39 | QList<quint64> accounts; |
| 40 | QMetaObject::invokeMethod(parent(), "queryAccounts", Q_RETURN_ARG(QList<quint64>, accounts), Q_ARG(QByteArray, accountKey), Q_ARG(QByteArray, sortKey), Q_ARG(int, limit)); |
| 41 | return accounts; |
| 42 | } |
| 43 | |
| 44 | void AccountServiceAdaptor::removeAccount(qulonglong id) |
| 45 | { |
| 46 | // handle method call org.dekkoproject.AccountService.removeAccount |
| 47 | QMetaObject::invokeMethod(parent(), "removeAccount", Q_ARG(qulonglong, id)); |
| 48 | } |
| 49 |