-rw-r--r-- | libkdepim/ksyncprofile.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/libkdepim/ksyncprofile.h b/libkdepim/ksyncprofile.h index 0039a4b..a81a9ad 100644 --- a/libkdepim/ksyncprofile.h +++ b/libkdepim/ksyncprofile.h | |||
@@ -54,24 +54,33 @@ class KSyncProfile : public QObject { | |||
54 | void setRemoteFileName( const QString& n ) { mRemoteFileName = n;} | 54 | void setRemoteFileName( const QString& n ) { mRemoteFileName = n;} |
55 | QString getRemoteFileName( ) { return mRemoteFileName;} | 55 | QString getRemoteFileName( ) { return mRemoteFileName;} |
56 | 56 | ||
57 | void setPreSyncCommandAB( const QString& n ) {mPreSyncCommandAB = n;} | 57 | void setPreSyncCommandAB( const QString& n ) {mPreSyncCommandAB = n;} |
58 | QString getPreSyncCommandAB( ) { return mPreSyncCommandAB; } | 58 | QString getPreSyncCommandAB( ) { return mPreSyncCommandAB; } |
59 | void setPostSyncCommandAB( const QString& n ) {mPostSyncCommandAB = n;} | 59 | void setPostSyncCommandAB( const QString& n ) {mPostSyncCommandAB = n;} |
60 | QString getPostSyncCommandAB( ) { return mPostSyncCommandAB;} | 60 | QString getPostSyncCommandAB( ) { return mPostSyncCommandAB;} |
61 | void setLocalTempFileAB( const QString& n ) { mLocalTempFileAB= n;} | 61 | void setLocalTempFileAB( const QString& n ) { mLocalTempFileAB= n;} |
62 | QString getLocalTempFileAB( ) { return mLocalTempFileAB;} | 62 | QString getLocalTempFileAB( ) { return mLocalTempFileAB;} |
63 | void setRemoteFileNameAB( const QString& n ) { mRemoteFileNameAB = n;} | 63 | void setRemoteFileNameAB( const QString& n ) { mRemoteFileNameAB = n;} |
64 | QString getRemoteFileNameAB( ) { return mRemoteFileNameAB;} | 64 | QString getRemoteFileNameAB( ) { return mRemoteFileNameAB;} |
65 | 65 | ||
66 | void setPreSyncCommandPWM( const QString& n ) {mPreSyncCommandPWM = n;} | ||
67 | QString getPreSyncCommandPWM( ) { return mPreSyncCommandPWM; } | ||
68 | void setPostSyncCommandPWM( const QString& n ) {mPostSyncCommandPWM = n;} | ||
69 | QString getPostSyncCommandPWM( ) { return mPostSyncCommandPWM;} | ||
70 | void setLocalTempFilePWM( const QString& n ) { mLocalTempFilePWM= n;} | ||
71 | QString getLocalTempFilePWM( ) { return mLocalTempFilePWM;} | ||
72 | void setRemoteFileNamePWM( const QString& n ) { mRemoteFileNamePWM = n;} | ||
73 | QString getRemoteFileNamePWM( ) { return mRemoteFileNamePWM;} | ||
74 | |||
66 | void setPhoneDevice( const QString& n ) { mPhoneDevice = n;} | 75 | void setPhoneDevice( const QString& n ) { mPhoneDevice = n;} |
67 | QString getPhoneDevice( ) { return mPhoneDevice;} | 76 | QString getPhoneDevice( ) { return mPhoneDevice;} |
68 | void setPhoneConnection( const QString& n ) { mPhoneConnection = n;} | 77 | void setPhoneConnection( const QString& n ) { mPhoneConnection = n;} |
69 | QString getPhoneConnection( ) { return mPhoneConnection;} | 78 | QString getPhoneConnection( ) { return mPhoneConnection;} |
70 | void setPhoneModel( const QString& n ) { mPhoneModel = n;} | 79 | void setPhoneModel( const QString& n ) { mPhoneModel = n;} |
71 | QString getPhoneModel( ) { return mPhoneModel;} | 80 | QString getPhoneModel( ) { return mPhoneModel;} |
72 | /* | 81 | /* |
73 | void set( const QString& n ) { = n;} | 82 | void set( const QString& n ) { = n;} |
74 | QString get( ) { return ;} | 83 | QString get( ) { return ;} |
75 | */ | 84 | */ |
76 | 85 | ||
77 | void setName( const QString& n ) {mName = n;} | 86 | void setName( const QString& n ) {mName = n;} |
@@ -83,49 +92,56 @@ class KSyncProfile : public QObject { | |||
83 | void setWriteBackExisting( bool b ) { mWriteBackExisting = b;} | 92 | void setWriteBackExisting( bool b ) { mWriteBackExisting = b;} |
84 | bool getWriteBackExisting( ) { return mWriteBackExisting;} | 93 | bool getWriteBackExisting( ) { return mWriteBackExisting;} |
85 | void setWriteBackFuture( bool b ) { mWriteBackFuture = b;} | 94 | void setWriteBackFuture( bool b ) { mWriteBackFuture = b;} |
86 | bool getWriteBackFuture( ) { return mWriteBackFuture;} | 95 | bool getWriteBackFuture( ) { return mWriteBackFuture;} |
87 | void setWriteBackFile( bool b ) { mWriteBackFile= b;} | 96 | void setWriteBackFile( bool b ) { mWriteBackFile= b;} |
88 | bool getWriteBackFile( ) { return mWriteBackFile;} | 97 | bool getWriteBackFile( ) { return mWriteBackFile;} |
89 | void setWriteContactToSIM( bool b ) { mWriteContactToSIM= b;} | 98 | void setWriteContactToSIM( bool b ) { mWriteContactToSIM= b;} |
90 | bool getWriteContactToSIM( ) { return mWriteContactToSIM;} | 99 | bool getWriteContactToSIM( ) { return mWriteContactToSIM;} |
91 | void setIncludeInRingSync( bool b ) {mIncludeInRingSync = b;} | 100 | void setIncludeInRingSync( bool b ) {mIncludeInRingSync = b;} |
92 | bool getIncludeInRingSync( ) { return mIncludeInRingSync;} | 101 | bool getIncludeInRingSync( ) { return mIncludeInRingSync;} |
93 | void setIncludeInRingSyncAB( bool b ) {mIncludeInRingSyncAB = b;} | 102 | void setIncludeInRingSyncAB( bool b ) {mIncludeInRingSyncAB = b;} |
94 | bool getIncludeInRingSyncAB( ) { return mIncludeInRingSyncAB;} | 103 | bool getIncludeInRingSyncAB( ) { return mIncludeInRingSyncAB;} |
104 | void setIncludeInRingSyncPWM( bool b ) {mIncludeInRingSyncPWM = b;} | ||
105 | bool getIncludeInRingSyncPWM( ) { return mIncludeInRingSyncPWM;} | ||
95 | void setSyncPrefs( int n ) { mSyncPrefs= n;} | 106 | void setSyncPrefs( int n ) { mSyncPrefs= n;} |
96 | int getSyncPrefs( ) { return mSyncPrefs;} | 107 | int getSyncPrefs( ) { return mSyncPrefs;} |
97 | void setWriteBackFutureWeeks( int n ) { mWriteBackFutureWeeks= n;} | 108 | void setWriteBackFutureWeeks( int n ) { mWriteBackFutureWeeks= n;} |
98 | int getWriteBackFutureWeeks( ) { return mWriteBackFutureWeeks;} | 109 | int getWriteBackFutureWeeks( ) { return mWriteBackFutureWeeks;} |
99 | void setIsLocalFileSync( bool b ) { mIsLocalFileSync= b;} | 110 | void setIsLocalFileSync( bool b ) { mIsLocalFileSync= b;} |
100 | bool getIsLocalFileSync( ) { return mIsLocalFileSync;} | 111 | bool getIsLocalFileSync( ) { return mIsLocalFileSync;} |
101 | void setIsPhoneSync( bool b ) { mIsPhoneSync= b;} | 112 | void setIsPhoneSync( bool b ) { mIsPhoneSync= b;} |
102 | bool getIsPhoneSync( ) { return mIsPhoneSync;} | 113 | bool getIsPhoneSync( ) { return mIsPhoneSync;} |
103 | private: | 114 | private: |
104 | QString mName; | 115 | QString mName; |
105 | QString mPreSyncCommand; | 116 | QString mPreSyncCommand; |
106 | QString mPostSyncCommand; | 117 | QString mPostSyncCommand; |
107 | QString mLocalTempFile; | 118 | QString mLocalTempFile; |
108 | QString mRemoteFileName; | 119 | QString mRemoteFileName; |
109 | QString mPreSyncCommandAB; | 120 | QString mPreSyncCommandAB; |
110 | QString mPostSyncCommandAB; | 121 | QString mPostSyncCommandAB; |
111 | QString mLocalTempFileAB; | 122 | QString mLocalTempFileAB; |
112 | QString mRemoteFileNameAB; | 123 | QString mRemoteFileNameAB; |
124 | QString mPreSyncCommandPWM; | ||
125 | QString mPostSyncCommandPWM; | ||
126 | QString mLocalTempFilePWM; | ||
127 | QString mRemoteFileNamePWM; | ||
113 | 128 | ||
114 | QString mPhoneDevice; | 129 | QString mPhoneDevice; |
115 | QString mPhoneConnection; | 130 | QString mPhoneConnection; |
116 | QString mPhoneModel; | 131 | QString mPhoneModel; |
117 | 132 | ||
118 | bool mIncludeInRingSync; | 133 | bool mIncludeInRingSync; |
119 | bool mIncludeInRingSyncAB; | 134 | bool mIncludeInRingSyncAB; |
135 | bool mIncludeInRingSyncPWM; | ||
120 | int mSyncPrefs; | 136 | int mSyncPrefs; |
121 | bool mWriteBackFile; | 137 | bool mWriteBackFile; |
122 | bool mWriteBackExisting; | 138 | bool mWriteBackExisting; |
123 | bool mWriteBackFuture; | 139 | bool mWriteBackFuture; |
124 | int mWriteBackFutureWeeks; | 140 | int mWriteBackFutureWeeks; |
125 | bool mAskForPreferences; | 141 | bool mAskForPreferences; |
126 | bool mShowSummaryAfterSync; | 142 | bool mShowSummaryAfterSync; |
127 | bool mIsLocalFileSync; | 143 | bool mIsLocalFileSync; |
128 | bool mIsPhoneSync; | 144 | bool mIsPhoneSync; |
129 | bool mWriteContactToSIM; | 145 | bool mWriteContactToSIM; |
130 | }; | 146 | }; |
131 | 147 | ||