kpilot/kpilot

BackupAction Class Reference

Inheritance diagram for BackupAction:

SyncAction List of all members.

Detailed Description

Definition at line 52 of file hotSync.h.


Public Types

enum  Status {
  Init, Error, FastBackup, FullBackup,
  BackupIncomplete, BackupEnded, BackupComplete
}

Public Member Functions

 BackupAction (KPilotLink *, bool full)
virtual QString statusString () const
void setDirectory (const QString &path)
virtual bool event (QEvent *e)

Protected Member Functions

virtual bool exec ()

Constructor & Destructor Documentation

BackupAction::BackupAction KPilotLink ,
bool  full
 

Constructor.

Back up all the databases on the link to a directory on the local disk. If full is true, then a full backup, including applications, is done. Otherwise, only user data is backed-up.

See also:
setDirectory()

Definition at line 175 of file hotSync.cc.


Member Function Documentation

void BackupAction::setDirectory const QString &  path  ) 
 

By default, a path based on the user name (either on the handheld or set in KPilot) is used to determine the backup directory name ( generally $KDEHOME/share/apps/kpilot/DBBackup/_user_name_ ).

Use setDirectory() to change that and use a given path as target for the backup. Use an empty path to restore the default behavior of using the username.

Definition at line 222 of file hotSync.cc.


The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys