diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-06-12 02:11:02 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-06-12 02:11:02 +0200 |
commit | 3fa1766af3fa85067d4b2d48c8410e6c201ae323 (patch) | |
tree | 5662b068088472ad7133d2b91bb0e0ffe1d9b10c /examples/imapresource/imapserverproxy.h | |
parent | ce56e7e0c973d31a900c9c467f639a344ea71bf1 (diff) | |
download | sink-3fa1766af3fa85067d4b2d48c8410e6c201ae323.tar.gz sink-3fa1766af3fa85067d4b2d48c8410e6c201ae323.zip |
Moving of mails between folders
Diffstat (limited to 'examples/imapresource/imapserverproxy.h')
-rw-r--r-- | examples/imapresource/imapserverproxy.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/imapresource/imapserverproxy.h b/examples/imapresource/imapserverproxy.h index 67ff000..95ed704 100644 --- a/examples/imapresource/imapserverproxy.h +++ b/examples/imapresource/imapserverproxy.h | |||
@@ -93,6 +93,7 @@ public: | |||
93 | KAsync::Job<void> remove(const QString &mailbox); | 93 | KAsync::Job<void> remove(const QString &mailbox); |
94 | KAsync::Job<void> expunge(); | 94 | KAsync::Job<void> expunge(); |
95 | KAsync::Job<void> expunge(const KIMAP::ImapSet &set); | 95 | KAsync::Job<void> expunge(const KIMAP::ImapSet &set); |
96 | KAsync::Job<void> copy(const KIMAP::ImapSet &set, const QString &newMailbox); | ||
96 | 97 | ||
97 | typedef std::function<void(const QString &, | 98 | typedef std::function<void(const QString &, |
98 | const QMap<qint64,qint64> &, | 99 | const QMap<qint64,qint64> &, |
@@ -109,6 +110,7 @@ public: | |||
109 | KAsync::Job<QList<qint64>> fetchHeaders(const QString &mailbox); | 110 | KAsync::Job<QList<qint64>> fetchHeaders(const QString &mailbox); |
110 | KAsync::Job<void> remove(const QString &mailbox, const KIMAP::ImapSet &set); | 111 | KAsync::Job<void> remove(const QString &mailbox, const KIMAP::ImapSet &set); |
111 | KAsync::Job<void> remove(const QString &mailbox, const QByteArray &imapSet); | 112 | KAsync::Job<void> remove(const QString &mailbox, const QByteArray &imapSet); |
113 | KAsync::Job<void> move(const QString &mailbox, const KIMAP::ImapSet &set, const QString &newMailbox); | ||
112 | KAsync::Job<QString> createSubfolder(const QString &parentMailbox, const QString &folderName); | 114 | KAsync::Job<QString> createSubfolder(const QString &parentMailbox, const QString &folderName); |
113 | KAsync::Job<QString> renameSubfolder(const QString &mailbox, const QString &newName); | 115 | KAsync::Job<QString> renameSubfolder(const QString &mailbox, const QString &newName); |
114 | 116 | ||