summaryrefslogtreecommitdiffabout
path: root/libkdepim/ksyncprofile.h
Side-by-side diff
Diffstat (limited to 'libkdepim/ksyncprofile.h') (more/less context) (show whitespace changes)
-rw-r--r--libkdepim/ksyncprofile.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/libkdepim/ksyncprofile.h b/libkdepim/ksyncprofile.h
index 300f70f..8995def 100644
--- a/libkdepim/ksyncprofile.h
+++ b/libkdepim/ksyncprofile.h
@@ -45,17 +45,19 @@ class KConfig;
have to register instances with the function KPrefs::addItem().
*/
class KSyncProfile : public QObject {
public:
- KSyncProfile( const char * name = 0);
+ KSyncProfile( const char * identifier = 0);
~KSyncProfile() ;
KSyncProfile* clone();
void setDefault();
void readConfig(KConfig *);
void writeConfig(KConfig *);
- void setName( const QString& n ) {mName = n;}
- QString getName( ) { return mName;}
+ void deleteConfig(KConfig *);
+
+ void setIdentifier( const QString& i ) {mIdentifier = i;}
+ QString getIdentifier( ) { return mIdentifier;}
void setPreSyncCommand( const QString& n ) {mPreSyncCommand = n;}
QString getPreSyncCommand( ) { return mPreSyncCommand; }
void setPostSyncCommand( const QString& n ) {mPostSyncCommand = n;}
QString getPostSyncCommand( ) { return mPostSyncCommand;}
@@ -83,8 +85,10 @@ class KSyncProfile : public QObject {
void set( const QString& n ) { = n;}
QString get( ) { return ;}
*/
+ void setName( const QString& n ) {mName = n;}
+ QString getName( ) { return mName;}
void setShowSummaryAfterSync( bool b ) { mShowSummaryAfterSync = b;}
bool getShowSummaryAfterSync( ) { return mShowSummaryAfterSync ;}
void setAskForPreferences( bool b ) { mAskForPreferences= b;}
bool getAskForPreferences( ) { return mAskForPreferences;}
@@ -105,11 +109,11 @@ class KSyncProfile : public QObject {
void setIsLocalFileSync( bool b ) { mIsLocalFileSync= b;}
bool getIsLocalFileSync( ) { return mIsLocalFileSync;}
void setIsPhoneSync( bool b ) { mIsPhoneSync= b;}
bool getIsPhoneSync( ) { return mIsPhoneSync;}
-
private:
QString mName;
+ QString mIdentifier;
QString mPreSyncCommand;
QString mPostSyncCommand;
QString mLocalTempFile;
QString mRemoteFileName;