24 #ifndef SYNCCLIENTINTERFACEPRIVATE_H 25 #define SYNCCLIENTINTERFACEPRIVATE_H 28 #include "SyncDaemonProxy.h" 29 #include <SyncProfile.h> 36 class SyncClientInterface;
57 bool startSync(
const QString &aProfileId)
const;
63 void abortSync(
const QString &aProfileId)
const;
184 void slotProfileChanged(QString aProfileId ,
int aChangeType , QString aChangedProfileAsXml);
208 void profileChanged(QString aProfileId,
int aChangeType, QString aChangedProfile);
SyncInterface Class - Main Entry Point for SyncFW Clients.
Definition: SyncClientInterface.h:49
bool removeProfile(QString &aProfileId)
function to remove a profile
Definition: SyncClientInterfacePrivate.cpp:117
Class for handling sync schedule settings.
Definition: SyncSchedule.h:52
QString syncProfile(const QString &aProfileId)
Gets a sync profile.
Definition: SyncClientInterfacePrivate.cpp:242
Private implementation class for SyncClientInterface.
Definition: SyncClientInterfacePrivate.h:39
Contains information about a completed synchronization session.
Definition: SyncResults.h:58
Definition: AccountsHelper.h:31
bool saveSyncResults(const QString &aProfileId, const Buteo::SyncResults &aSyncResults)
this function converts the save the syncResults into log.xml file corresponding to profileName...
Definition: SyncClientInterfacePrivate.cpp:173
bool isValid()
function to check if the interface is valid
Definition: SyncClientInterfacePrivate.cpp:197
QList< QString > allVisibleSyncProfiles()
Gets all visible sync profiles.
Definition: SyncClientInterfacePrivate.cpp:225
void profileChanged(QString aProfileId, int aChangeType, QString aChangedProfile)
Signal that gets emitted on receiving profileChanged from msyncd.
Definition: moc_SyncClientInterfacePrivate.cpp:156
void resultsAvailable(QString aProfileId, QString aLastSyncResultAsXml)
this is the slot where we will receive the xml data for results from msyncd the xml looks like this ...
Definition: SyncClientInterfacePrivate.cpp:145
void slotProfileChanged(QString aProfileId, int aChangeType, QString aChangedProfileAsXml)
this is the slot where we will receive the xml data for profile from msyncd. The XML Data received wi...
Definition: SyncClientInterfacePrivate.cpp:138
QStringList getRunningSyncList()
function to get Running sync list
Definition: SyncClientInterfacePrivate.cpp:107
QStringList syncProfilesByKey(const QString &aKey, const QString &aValue)
Gets a sync profiles which matches the key-value.
Definition: SyncClientInterfacePrivate.cpp:255
bool updateProfile(Buteo::SyncProfile &aProfile)
function to update an existing profile
Definition: SyncClientInterfacePrivate.cpp:127
QStringList syncProfilesByType(const QString &aType)
Gets a profiles matching the profile type.
Definition: SyncClientInterfacePrivate.cpp:267
Buteo::SyncResults getLastSyncResult(const QString &aProfileId)
To get lastSyncResult.
Definition: SyncClientInterfacePrivate.cpp:202
bool setSyncSchedule(QString &aProfileId, SyncSchedule &aSchedule)
this function converts the SyncSchedule object to an xml file of the below format ...
Definition: SyncClientInterfacePrivate.cpp:158
SyncClientInterfacePrivate(SyncClientInterface *aParent)
Constructor.
Definition: SyncClientInterfacePrivate.cpp:39
bool startSync(const QString &aProfileId) const
function to start the sync
Definition: SyncClientInterfacePrivate.cpp:87
A top level synchronization profile.
Definition: SyncProfile.h:47
Proxy class for interface com.meego.msyncd.
Definition: SyncDaemonProxy.h:48
void abortSync(const QString &aProfileId) const
function to abort the sync
Definition: SyncClientInterfacePrivate.cpp:99
~SyncClientInterfacePrivate()
Destructor.
Definition: SyncClientInterfacePrivate.cpp:80
bool getBackUpRestoreState()
function to add a profile
Definition: SyncClientInterfacePrivate.cpp:187
Definition: SyncBackupAdaptor.h:40