diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-02-11 17:02:40 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-02-11 17:02:40 +0100 |
commit | 7af2d3ac28311917eabd1b7c0ae07fffdf401b2f (patch) | |
tree | c362f642a167e6189450aeb370c05f93f361d873 /examples/maildirresource/libmaildir/maildir.h | |
parent | 4bb71b2142223d4a81a449c6bfcfa22918c6fc90 (diff) | |
download | sink-7af2d3ac28311917eabd1b7c0ae07fffdf401b2f.tar.gz sink-7af2d3ac28311917eabd1b7c0ae07fffdf401b2f.zip |
Import new mails as well
Diffstat (limited to 'examples/maildirresource/libmaildir/maildir.h')
-rw-r--r-- | examples/maildirresource/libmaildir/maildir.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/examples/maildirresource/libmaildir/maildir.h b/examples/maildirresource/libmaildir/maildir.h index 6c68656..31778ac 100644 --- a/examples/maildirresource/libmaildir/maildir.h +++ b/examples/maildirresource/libmaildir/maildir.h | |||
@@ -163,6 +163,11 @@ public: | |||
163 | QDateTime lastModified( const QString &key ) const; | 163 | QDateTime lastModified( const QString &key ) const; |
164 | 164 | ||
165 | /** | 165 | /** |
166 | * Move all mails in new to cur | ||
167 | */ | ||
168 | void importNewMails(); | ||
169 | |||
170 | /** | ||
166 | * Return the contents of the file in the maildir with the given @p key. | 171 | * Return the contents of the file in the maildir with the given @p key. |
167 | */ | 172 | */ |
168 | QByteArray readEntry( const QString& key ) const; | 173 | QByteArray readEntry( const QString& key ) const; |