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

kpilot

RestoreAction Class Reference

#include <hotSync.h>

Inheritance diagram for RestoreAction:

Inheritance graph
[legend]

List of all members.


Detailed Description

Definition at line 144 of file hotSync.h.


Public Types

enum  Status { InstallingFiles, GettingFileInfo, Done }

Public Member Functions

 RestoreAction (KPilotLink *, QWidget *w=0L)
void setDirectory (const QString &path)
virtual QString statusString () const

Protected Slots

void installNextFile ()

Protected Member Functions

virtual bool exec ()

Member Enumeration Documentation

enum RestoreAction::Status

Enumerator:
InstallingFiles 
GettingFileInfo 
Done 

Reimplemented from SyncAction.

Definition at line 150 of file hotSync.h.


Constructor & Destructor Documentation

RestoreAction::RestoreAction ( KPilotLink *  p,
QWidget *  w = 0L 
) [explicit]

Definition at line 918 of file hotSync.cc.


Member Function Documentation

bool RestoreAction::exec (  )  [protected, virtual]

This function starts the actual processing done by the conduit.

It should return false if the processing cannot be initiated, f.ex. because some parameters were not set or a needed library is missing. This will be reported to the user. It should return true if processing is started normally. If processing starts normally, it is the _conduit's_ responsibility to eventually emit syncDone(); if processing does not start normally (ie. exec() returns false) then the environment will deal with syncDone().

Implements SyncAction.

Definition at line 931 of file hotSync.cc.

void RestoreAction::installNextFile (  )  [protected, slot]

Definition at line 1016 of file hotSync.cc.

void RestoreAction::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 restory directory name ( generally $KDEHOME/share/apps/kpilot/DBBackup/_user_name_ ).

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

Definition at line 926 of file hotSync.cc.

QString RestoreAction::statusString (  )  const [virtual]

Return a human-readable representation of the status.

Reimplemented from SyncAction.

Definition at line 1063 of file hotSync.cc.


The documentation for this class was generated from the following files:
  • hotSync.h
  • hotSync.cc

kpilot

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

kdepim

Skip menu "kdepim"
  • akonadi
  •   clients
  •   kabc
  •   kcal
  •   kcm
  • akregator
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt
  • kdgantt1
  • kjots
  • kleopatra
  • kmail
  • kmobiletools
  • knode
  • knotes
  • kontact
  • kontactinterfaces
  • korganizer
  •   korgac
  • kpilot
  • ktimetracker
  •   doc
  • libkdepim
  • libkholidays
  • libkleo
  • libkpgp
  • maildir
Generated for kdepim by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal