-rw-r--r-- | libkdepim/ksyncprofile.h | 12 |
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 @@ -48,3 +48,3 @@ class KSyncProfile : public QObject { public: - KSyncProfile( const char * name = 0); + KSyncProfile( const char * identifier = 0); ~KSyncProfile() ; @@ -55,4 +55,6 @@ class KSyncProfile : public QObject { 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;} @@ -86,2 +88,4 @@ class KSyncProfile : public QObject { + void setName( const QString& n ) {mName = n;} + QString getName( ) { return mName;} void setShowSummaryAfterSync( bool b ) { mShowSummaryAfterSync = b;} @@ -108,5 +112,5 @@ class KSyncProfile : public QObject { bool getIsPhoneSync( ) { return mIsPhoneSync;} - private: QString mName; + QString mIdentifier; QString mPreSyncCommand; |