/* * This file was generated by qdbusxml2cpp version 0.8 * Command line was: qdbusxml2cpp /home/dan/dekko/Dekko/backend/mail/service/dbus/service_worker.xml -N -a MailServiceAdaptor -c MailServiceAdaptor * * qdbusxml2cpp is Copyright (C) 2016 The Qt Company Ltd. * * This is an auto-generated file. * This file may have been hand-edited. Look for HAND-EDIT comments * before re-generating it. */ #ifndef MAILSERVICEADAPTOR_H #define MAILSERVICEADAPTOR_H #include #include QT_BEGIN_NAMESPACE class QByteArray; template class QList; template class QMap; class QString; class QStringList; class QVariant; QT_END_NAMESPACE /* * Adaptor class for interface org.dekkoproject.MailService */ class MailServiceAdaptor: public QDBusAbstractAdaptor { Q_OBJECT Q_CLASSINFO("D-Bus Interface", "org.dekkoproject.MailService") Q_CLASSINFO("D-Bus Introspection", "" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" "") public: MailServiceAdaptor(QObject *parent); virtual ~MailServiceAdaptor(); public: // PROPERTIES Q_PROPERTY(bool hasUndoableAction READ hasUndoableAction) bool hasUndoableAction() const; Q_PROPERTY(QString undoDescription READ undoDescription) QString undoDescription() const; public Q_SLOTS: // METHODS void createStandardFolders(qulonglong accountId); void deleteMessages(const QList &ids); void downloadMessagePart(qulonglong msgId, const QString &partLocation); void downloadMessages(const QList &msgIds); void emptyTrash(const QList &accountIds); void markFolderRead(qulonglong folderId); void markMessageForwarded(const QList &msgIds); void markMessagesDone(const QList &msgIds, bool done); void markMessagesImportant(const QList &msgIds, bool important); void markMessagesRead(const QList &msgIds, bool read); void markMessagesReplied(const QList &msgIds, bool all); void markMessagesTodo(const QList &msgIds, bool read); void moveToFolder(const QList &msgIds, qulonglong folderId); void moveToStandardFolder(const QList &msgIds, int folderType, bool userTriggered); void pruneCache(const QList &msgIds); QList queryFolders(const QByteArray &folderKey, const QByteArray &sortKey, int limit); QList queryMessages(const QByteArray &msgKey, const QByteArray &sortKey, int limit); void removeMessage(qulonglong msgId, int option); void restoreMessage(qulonglong id); void sendAnyQueuedMail(); void sendMessage(qulonglong msgId); void sendPendingMessages(); void syncFolders(qulonglong accountId, const QList &folders); void synchronizeAccount(qulonglong accountId); int totalCount(const QByteArray &msgKey); void undoActions(); Q_SIGNALS: // SIGNALS void accountSynced(qulonglong id); void actionFailed(qulonglong id, int statusCode, const QString &statusText); void clientError(qulonglong accountId, int error, const QString &errorString); void messageFetchFailed(const QList &msgIds); void messagePartFetchFailed(qulonglong msgId, const QString &partLocation); void messagePartNowAvailable(qulonglong msgId, const QString &partLocation); void messageRestored(qulonglong msgId); void messageSendingFailed(const QList &msgIds, int error); void messagesNowAvailable(const QList &msgIds); void messagesSent(const QList &msgIds); void queueChanged(); void standardFoldersCreated(qulonglong accountId, bool created); void syncAccountFailed(qulonglong id); void undoCountChanged(); void updatesRolledBack(); void foldersSynced(const qulonglong accountId, const QList &folderIds); void foldersSyncFailed(const qulonglong accountId, const QList &folderIds); }; #endif