24#ifndef SYNCCLIENTINTERFACEPRIVATE_H
25#define SYNCCLIENTINTERFACEPRIVATE_H
28#include "SyncDaemonProxy.h"
29#include <SyncProfile.h>
36class 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);
Private implementation class for SyncClientInterface.
Definition SyncClientInterfacePrivate.h:40
bool removeProfile(QString &aProfileId)
function to remove a profile
Definition SyncClientInterfacePrivate.cpp:117
QStringList getRunningSyncList()
function to get Running sync list
Definition SyncClientInterfacePrivate.cpp:107
bool setSyncSchedule(QString &aProfileId, SyncSchedule &aSchedule)
this function converts the SyncSchedule object to an xml file of the below format
Definition SyncClientInterfacePrivate.cpp:158
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
bool getBackUpRestoreState()
function to add a profile
Definition SyncClientInterfacePrivate.cpp:187
void profileChanged(QString aProfileId, int aChangeType, QString aChangedProfile)
Signal that gets emitted on receiving profileChanged from msyncd.
Definition moc_SyncClientInterfacePrivate.cpp:173
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
QList< QString > allVisibleSyncProfiles()
Gets all visible sync profiles.
Definition SyncClientInterfacePrivate.cpp:221
bool startSync(const QString &aProfileId) const
function to start the sync
Definition SyncClientInterfacePrivate.cpp:87
bool isValid()
function to check if the interface is valid
Definition SyncClientInterfacePrivate.cpp:197
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
QStringList syncProfilesByKey(const QString &aKey, const QString &aValue)
Gets a sync profiles which matches the key-value.
Definition SyncClientInterfacePrivate.cpp:251
QString syncProfile(const QString &aProfileId)
Gets a sync profile.
Definition SyncClientInterfacePrivate.cpp:238
QStringList syncProfilesByType(const QString &aType)
Gets a profiles matching the profile type.
Definition SyncClientInterfacePrivate.cpp:263
Buteo::SyncResults getLastSyncResult(const QString &aProfileId)
To get lastSyncResult.
Definition SyncClientInterfacePrivate.cpp:202
void abortSync(const QString &aProfileId) const
function to abort the sync
Definition SyncClientInterfacePrivate.cpp:99
~SyncClientInterfacePrivate()
Destructor.
Definition SyncClientInterfacePrivate.cpp:80
bool updateProfile(Buteo::SyncProfile &aProfile)
function to update an existing profile
Definition SyncClientInterfacePrivate.cpp:127
SyncInterface Class - Main Entry Point for SyncFW Clients.
Definition SyncClientInterface.h:50
A top level synchronization profile.
Definition SyncProfile.h:49
Contains information about a completed synchronization session.
Definition SyncResults.h:62
Class for handling sync schedule settings.
Definition SyncSchedule.h:53
Definition SyncBackupAdaptor.h:40
Proxy class for interface com.meego.msyncd.
Definition SyncDaemonProxy.h:49