mailcommon
#include <backupjob.h>
Public Types | |
enum | ArchiveType { Zip = 0, Tar = 1, TarBz2 = 2, TarGz = 3 } |
Signals | |
void | backupDone (const QString &) |
void | error (const QString &) |
Public Member Functions | |
BackupJob (QWidget *parent=0) | |
~BackupJob () | |
void | setArchiveType (ArchiveType type) |
void | setDeleteFoldersAfterCompletion (bool deleteThem) |
void | setDisplayMessageBox (bool display) |
void | setRealPath (const QString &path) |
void | setRecursive (bool recursive) |
void | setRootFolder (const Akonadi::Collection &rootFolder) |
void | setSaveLocation (const KUrl &savePath) |
void | start () |
Detailed Description
Writes an entire folder structure to an archive file.
The archive is structured like a hierarchy of maildir folders. However, every type of folder works as the source, i.e. also online IMAP folders.
The job deletes itself after it finished.
Definition at line 54 of file backupjob.h.
Member Enumeration Documentation
Enumerator | |
---|---|
Zip | |
Tar | |
TarBz2 | |
TarGz |
Definition at line 60 of file backupjob.h.
Constructor & Destructor Documentation
|
explicit |
Definition at line 46 of file backupjob.cpp.
BackupJob::~BackupJob | ( | ) |
Definition at line 65 of file backupjob.cpp.
Member Function Documentation
|
signal |
|
signal |
void BackupJob::setArchiveType | ( | ArchiveType | type | ) |
Definition at line 87 of file backupjob.cpp.
void BackupJob::setDeleteFoldersAfterCompletion | ( | bool | deleteThem | ) |
Definition at line 92 of file backupjob.cpp.
void BackupJob::setDisplayMessageBox | ( | bool | display | ) |
Definition at line 455 of file backupjob.cpp.
void BackupJob::setRealPath | ( | const QString & | path | ) |
Definition at line 77 of file backupjob.cpp.
void BackupJob::setRecursive | ( | bool | recursive | ) |
Definition at line 97 of file backupjob.cpp.
void BackupJob::setRootFolder | ( | const Akonadi::Collection & | rootFolder | ) |
Definition at line 72 of file backupjob.cpp.
void BackupJob::setSaveLocation | ( | const KUrl & | savePath | ) |
Definition at line 82 of file backupjob.cpp.
void BackupJob::start | ( | ) |
Definition at line 403 of file backupjob.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:55:15 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.