summaryrefslogtreecommitdiffstats
path: root/examples/maildirresource/libmaildir/maildir.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/maildirresource/libmaildir/maildir.h')
-rw-r--r--examples/maildirresource/libmaildir/maildir.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/examples/maildirresource/libmaildir/maildir.h b/examples/maildirresource/libmaildir/maildir.h
index 5936515..6c68656 100644
--- a/examples/maildirresource/libmaildir/maildir.h
+++ b/examples/maildirresource/libmaildir/maildir.h
@@ -262,6 +262,19 @@ public:
262 querying the last error string. */ 262 querying the last error string. */
263 QString lastError() const; 263 QString lastError() const;
264 264
265 /**
266 * Returns the key from the file identified by the full path @param file.
267 */
268 static QString getKeyFromFile( const QString& file );
269
270 /**
271 * Returns the directory from a file.
272 *
273 * Strips key and new/cur/tmp.
274 * The returned path is ended with a trailing slash.
275 */
276 static QString getDirectoryFromFile( const QString& file );
277
265private: 278private:
266 void swap( const Maildir& ); 279 void swap( const Maildir& );
267 class Private; 280 class Private;