Debian Codegraph @

Dekko/backend/mail/service/MailServiceAdaptor.cpp

raw symbols SCIP
1 /*
2 * This file was generated by qdbusxml2cpp version 0.8
3 * Command line was: qdbusxml2cpp /home/dan/dekko/Dekko/backend/mail/service/dbus/service_worker.xml -N -a MailServiceAdaptor -c MailServiceAdaptor
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 "MailServiceAdaptor.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 MailServiceAdaptor
22 */
23
24 MailServiceAdaptor::MailServiceAdaptor(QObject *parent)
25 : QDBusAbstractAdaptor(parent)
26 {
27 // constructor
28 setAutoRelaySignals(true);
29 }
30
31 MailServiceAdaptor::~MailServiceAdaptor()
32 {
33 // destructor
34 }
35
36 bool MailServiceAdaptor::hasUndoableAction() const
37 {
38 // get the value of property hasUndoableAction
39 return qvariant_cast< bool >(parent()->property("hasUndoableAction"));
40 }
41
42 QString MailServiceAdaptor::undoDescription() const
43 {
44 // get the value of property undoDescription
45 return qvariant_cast< QString >(parent()->property("undoDescription"));
46 }
47
48 void MailServiceAdaptor::createStandardFolders(qulonglong accountId)
49 {
50 // handle method call org.dekkoproject.MailService.createStandardFolders
51 QMetaObject::invokeMethod(parent(), "createStandardFolders", Q_ARG(qulonglong, accountId));
52 }
53
54 void MailServiceAdaptor::deleteMessages(const QList<quint64> &ids)
55 {
56 // handle method call org.dekkoproject.MailService.deleteMessages
57 QMetaObject::invokeMethod(parent(), "deleteMessages", Q_ARG(QList<quint64>, ids));
58 }
59
60 void MailServiceAdaptor::downloadMessagePart(qulonglong msgId, const QString &partLocation)
61 {
62 // handle method call org.dekkoproject.MailService.downloadMessagePart
63 QMetaObject::invokeMethod(parent(), "downloadMessagePart", Q_ARG(qulonglong, msgId), Q_ARG(QString, partLocation));
64 }
65
66 void MailServiceAdaptor::downloadMessages(const QList<quint64> &msgIds)
67 {
68 // handle method call org.dekkoproject.MailService.downloadMessages
69 QMetaObject::invokeMethod(parent(), "downloadMessages", Q_ARG(QList<quint64>, msgIds));
70 }
71
72 void MailServiceAdaptor::emptyTrash(const QList<quint64> &accountIds)
73 {
74 // handle method call org.dekkoproject.MailService.emptyTrash
75 QMetaObject::invokeMethod(parent(), "emptyTrash", Q_ARG(QList<quint64>, accountIds));
76 }
77
78 void MailServiceAdaptor::markFolderRead(qulonglong folderId)
79 {
80 // handle method call org.dekkoproject.MailService.markFolderRead
81 QMetaObject::invokeMethod(parent(), "markFolderRead", Q_ARG(qulonglong, folderId));
82 }
83
84 void MailServiceAdaptor::markMessageForwarded(const QList<quint64> &msgIds)
85 {
86 // handle method call org.dekkoproject.MailService.markMessageForwarded
87 QMetaObject::invokeMethod(parent(), "markMessageForwarded", Q_ARG(QList<quint64>, msgIds));
88 }
89
90 void MailServiceAdaptor::markMessagesDone(const QList<quint64> &msgIds, bool done)
91 {
92 // handle method call org.dekkoproject.MailService.markMessagesDone
93 QMetaObject::invokeMethod(parent(), "markMessagesDone", Q_ARG(QList<quint64>, msgIds), Q_ARG(bool, done));
94 }
95
96 void MailServiceAdaptor::markMessagesImportant(const QList<quint64> &msgIds, bool important)
97 {
98 // handle method call org.dekkoproject.MailService.markMessagesImportant
99 QMetaObject::invokeMethod(parent(), "markMessagesImportant", Q_ARG(QList<quint64>, msgIds), Q_ARG(bool, important));
100 }
101
102 void MailServiceAdaptor::markMessagesRead(const QList<quint64> &msgIds, bool read)
103 {
104 // handle method call org.dekkoproject.MailService.markMessagesRead
105 QMetaObject::invokeMethod(parent(), "markMessagesRead", Q_ARG(QList<quint64>, msgIds), Q_ARG(bool, read));
106 }
107
108 void MailServiceAdaptor::markMessagesReplied(const QList<quint64> &msgIds, bool all)
109 {
110 // handle method call org.dekkoproject.MailService.markMessagesReplied
111 QMetaObject::invokeMethod(parent(), "markMessagesReplied", Q_ARG(QList<quint64>, msgIds), Q_ARG(bool, all));
112 }
113
114 void MailServiceAdaptor::markMessagesTodo(const QList<quint64> &msgIds, bool read)
115 {
116 // handle method call org.dekkoproject.MailService.markMessagesTodo
117 QMetaObject::invokeMethod(parent(), "markMessagesTodo", Q_ARG(QList<quint64>, msgIds), Q_ARG(bool, read));
118 }
119
120 void MailServiceAdaptor::moveToFolder(const QList<quint64> &msgIds, qulonglong folderId)
121 {
122 // handle method call org.dekkoproject.MailService.moveToFolder
123 QMetaObject::invokeMethod(parent(), "moveToFolder", Q_ARG(QList<quint64>, msgIds), Q_ARG(qulonglong, folderId));
124 }
125
126 void MailServiceAdaptor::moveToStandardFolder(const QList<quint64> &msgIds, int folderType, bool userTriggered)
127 {
128 // handle method call org.dekkoproject.MailService.moveToStandardFolder
129 QMetaObject::invokeMethod(parent(), "moveToStandardFolder", Q_ARG(QList<quint64>, msgIds), Q_ARG(int, folderType), Q_ARG(bool, userTriggered));
130 }
131
132 void MailServiceAdaptor::pruneCache(const QList<quint64> &msgIds)
133 {
134 // handle method call org.dekkoproject.MailService.pruneCache
135 QMetaObject::invokeMethod(parent(), "pruneCache", Q_ARG(QList<quint64>, msgIds));
136 }
137
138 QList<quint64> MailServiceAdaptor::queryFolders(const QByteArray &folderKey, const QByteArray &sortKey, int limit)
139 {
140 // handle method call org.dekkoproject.MailService.queryFolders
141 QList<quint64> folders;
142 QMetaObject::invokeMethod(parent(), "queryFolders", Q_RETURN_ARG(QList<quint64>, folders), Q_ARG(QByteArray, folderKey), Q_ARG(QByteArray, sortKey), Q_ARG(int, limit));
143 return folders;
144 }
145
146 QList<quint64> MailServiceAdaptor::queryMessages(const QByteArray &msgKey, const QByteArray &sortKey, int limit)
147 {
148 // handle method call org.dekkoproject.MailService.queryMessages
149 QList<quint64> messages;
150 QMetaObject::invokeMethod(parent(), "queryMessages", Q_RETURN_ARG(QList<quint64>, messages), Q_ARG(QByteArray, msgKey), Q_ARG(QByteArray, sortKey), Q_ARG(int, limit));
151 return messages;
152 }
153
154 void MailServiceAdaptor::removeMessage(qulonglong msgId, int option)
155 {
156 // handle method call org.dekkoproject.MailService.removeMessage
157 QMetaObject::invokeMethod(parent(), "removeMessage", Q_ARG(qulonglong, msgId), Q_ARG(int, option));
158 }
159
160 void MailServiceAdaptor::restoreMessage(qulonglong id)
161 {
162 // handle method call org.dekkoproject.MailService.restoreMessage
163 QMetaObject::invokeMethod(parent(), "restoreMessage", Q_ARG(qulonglong, id));
164 }
165
166 void MailServiceAdaptor::sendAnyQueuedMail()
167 {
168 // handle method call org.dekkoproject.MailService.sendAnyQueuedMail
169 QMetaObject::invokeMethod(parent(), "sendAnyQueuedMail");
170 }
171
172 void MailServiceAdaptor::sendMessage(qulonglong msgId)
173 {
174 // handle method call org.dekkoproject.MailService.sendMessage
175 QMetaObject::invokeMethod(parent(), "sendMessage", Q_ARG(qulonglong, msgId));
176 }
177
178 void MailServiceAdaptor::sendPendingMessages()
179 {
180 // handle method call org.dekkoproject.MailService.sendPendingMessages
181 QMetaObject::invokeMethod(parent(), "sendPendingMessages");
182 }
183
184 void MailServiceAdaptor::syncFolders(qulonglong accountId, const QList<quint64> &folders)
185 {
186 // handle method call org.dekkoproject.MailService.syncFolders
187 QMetaObject::invokeMethod(parent(), "syncFolders", Q_ARG(qulonglong, accountId), Q_ARG(QList<quint64>, folders));
188 }
189
190 void MailServiceAdaptor::synchronizeAccount(qulonglong accountId)
191 {
192 // handle method call org.dekkoproject.MailService.synchronizeAccount
193 QMetaObject::invokeMethod(parent(), "synchronizeAccount", Q_ARG(qulonglong, accountId));
194 }
195
196 int MailServiceAdaptor::totalCount(const QByteArray &msgKey)
197 {
198 // handle method call org.dekkoproject.MailService.totalCount
199 int count;
200 QMetaObject::invokeMethod(parent(), "totalCount", Q_RETURN_ARG(int, count), Q_ARG(QByteArray, msgKey));
201 return count;
202 }
203
204 void MailServiceAdaptor::undoActions()
205 {
206 // handle method call org.dekkoproject.MailService.undoActions
207 QMetaObject::invokeMethod(parent(), "undoActions");
208 }
209