Buteo Synchronization Framework
|
Handles Sync requirements towards Backup. More...
#include <SyncBackup.h>
Public Slots | |
uchar | backupStarts (const QDBusMessage &message) |
Called by backup framework when backup starts. More... | |
uchar | backupFinished (const QDBusMessage &message) |
uchar | restoreStarts (const QDBusMessage &message) |
uchar | restoreFinished (const QDBusMessage &message) |
void | backupServiceUnregistered (const QString &serviceName) |
![]() | |
virtual uchar | backupStarts (const QDBusMessage &message)=0 |
Sets the required params and stops the servers and any running sync sessions. More... | |
virtual uchar | backupFinished (const QDBusMessage &message)=0 |
Sets the required params and starts the servers. More... | |
virtual uchar | restoreStarts (const QDBusMessage &message)=0 |
Sets the required params and stops the servers and any running sync sessions. More... | |
virtual uchar | restoreFinished (const QDBusMessage &message)=0 |
Sets the required params and starts the servers. More... | |
virtual bool | getBackUpRestoreState ()=0 |
Requests the current state og backup/restore operation. More... | |
Public Member Functions | |
SyncBackup () | |
Default Constructor. | |
~SyncBackup () | |
Destructor. | |
bool | getBackUpRestoreState () |
Requests the current state og backup/restore operation. More... | |
void | sendReply (uchar aResult) |
Reply to backup framework, result of o/p. More... | |
Static Public Attributes | |
static const char * | DBUS_BACKUP_OBJECT = "/backup" |
path to the backup dbus object | |
Additional Inherited Members | |
![]() | |
void | backupDone () |
Notifies about completion of backup. More... | |
void | startBackup () |
Notifies about starting of backup. More... | |
void | restoreDone () |
Notifies about completion of restore opertaion. More... | |
void | startRestore () |
Notifies about starting of restore operation. More... | |
Handles Sync requirements towards Backup.
This class communicates with the Backup daemon for Backup state before starting a sync.
|
slot |
Called by backup framework when backup is completed
message | - result |
|
slot |
Called if backup service exits/aborts...
serviceName | - name of the service |
|
slot |
Called by backup framework when backup starts.
message | - result |
|
virtual |
Requests the current state og backup/restore operation.
Implements Buteo::SyncBackupProxy.
|
slot |
Called by backup framework when backup ie restored
message | - result |
|
slot |
Called by backup framework when it starts to restore a backup.
message | - result |
void SyncBackup::sendReply | ( | uchar | aResult | ) |
Reply to backup framework, result of o/p.
aResult | - result |