KMail::BackupJob Class Reference

#include <backupjob.h>

Inherits TQObject.

Public Types

enum  ArchiveType { Zip = 0 , Tar = 1 , TarBz2 = 2 , TarGz = 3 }
 

Public Member Functions

 BackupJob (TQWidget *parent=0)
 
void setRootFolder (KMFolder *rootFolder)
 
void setSaveLocation (const KURL &savePath)
 
void setArchiveType (ArchiveType type)
 
void setDeleteFoldersAfterCompletion (bool deleteThem)
 
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 48 of file backupjob.h.


The documentation for this class was generated from the following files: