• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdepim API Reference
  • KDE Home
  • Contact Us
 

mailcommon

  • MailCommon
  • BackupJob
Public Types | Signals | Public Member Functions | List of all members
MailCommon::BackupJob Class Reference

#include <backupjob.h>

Inheritance diagram for MailCommon::BackupJob:
Inheritance graph
[legend]

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

enum MailCommon::BackupJob::ArchiveType
Enumerator
Zip 
Tar 
TarBz2 
TarGz 

Definition at line 60 of file backupjob.h.

Constructor & Destructor Documentation

BackupJob::BackupJob ( QWidget *  parent = 0)
explicit

Definition at line 46 of file backupjob.cpp.

BackupJob::~BackupJob ( )

Definition at line 65 of file backupjob.cpp.

Member Function Documentation

void MailCommon::BackupJob::backupDone ( const QString &  )
signal
void MailCommon::BackupJob::error ( const QString &  )
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:
  • backupjob.h
  • backupjob.cpp
This file is part of the KDE documentation.
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.

mailcommon

Skip menu "mailcommon"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdepim API Reference

Skip menu "kdepim API Reference"
  • akonadi_next
  • akregator
  • blogilo
  • calendarsupport
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt2
  • kjots
  • kleopatra
  • kmail
  • knode
  • knotes
  • kontact
  • korgac
  • korganizer
  • ktimetracker
  • libkdepim
  • libkleo
  • libkpgp
  • mailcommon
  • messagelist
  • messageviewer

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal