author | zautrix <zautrix> | 2005-01-14 21:17:00 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-01-14 21:17:00 (UTC) |
commit | ee9df90c4898f4ed624be2d4e94918fcc80060e9 (patch) (unidiff) | |
tree | d15e5e2e7fd4120d09fdda2ab4331ade67082e84 /libkdepim/ksyncprefsdialog.h | |
parent | 620f8de219ee34c209960f02c8296c0568dd5d8b (diff) | |
download | kdepimpi-ee9df90c4898f4ed624be2d4e94918fcc80060e9.zip kdepimpi-ee9df90c4898f4ed624be2d4e94918fcc80060e9.tar.gz kdepimpi-ee9df90c4898f4ed624be2d4e94918fcc80060e9.tar.bz2 |
sync settings
Diffstat (limited to 'libkdepim/ksyncprefsdialog.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | libkdepim/ksyncprefsdialog.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libkdepim/ksyncprefsdialog.h b/libkdepim/ksyncprefsdialog.h index 997f524..24543e1 100644 --- a/libkdepim/ksyncprefsdialog.h +++ b/libkdepim/ksyncprefsdialog.h | |||
@@ -39,117 +39,122 @@ class QComboBox; | |||
39 | class QButtonGroup; | 39 | class QButtonGroup; |
40 | class QLineEdit; | 40 | class QLineEdit; |
41 | class QVBox; | 41 | class QVBox; |
42 | class QStringList; | 42 | class QStringList; |
43 | class KSyncProfile; | 43 | class KSyncProfile; |
44 | 44 | ||
45 | /** Dialog to change the korganizer configuration. | 45 | /** Dialog to change the korganizer configuration. |
46 | */ | 46 | */ |
47 | class KSyncPrefsDialog : public KDialog | 47 | class KSyncPrefsDialog : public KDialog |
48 | { | 48 | { |
49 | Q_OBJECT | 49 | Q_OBJECT |
50 | public: | 50 | public: |
51 | /** Initialize dialog and pages */ | 51 | /** Initialize dialog and pages */ |
52 | KSyncPrefsDialog(QWidget *parent=0,char *name=0,bool modal=false); | 52 | KSyncPrefsDialog(QWidget *parent=0,char *name=0,bool modal=false); |
53 | ~KSyncPrefsDialog(); | 53 | ~KSyncPrefsDialog(); |
54 | void usrReadConfig(); | 54 | void usrReadConfig(); |
55 | void setLocalMachineName ( const QString& name ); | 55 | void setLocalMachineName ( const QString& name ); |
56 | QString getLocalMachineName ( ); | 56 | QString getLocalMachineName ( ); |
57 | 57 | ||
58 | QStringList getSyncProfileNames(); | 58 | QStringList getSyncProfileNames(); |
59 | 59 | ||
60 | public slots: | 60 | public slots: |
61 | protected slots: | 61 | protected slots: |
62 | void accept(); | 62 | void accept(); |
63 | void deleteProfile(); | 63 | void deleteProfile(); |
64 | void newProfile(); | 64 | void newProfile(); |
65 | void cloneProfile(); | 65 | void cloneProfile(); |
66 | void kindChanged(bool); | 66 | void kindChanged(bool); |
67 | void fillSSH(); | 67 | void fillSSH(); |
68 | void fillFTP(); | 68 | void fillFTP(); |
69 | void textChanged( const QString & ); | 69 | void textChanged( const QString & ); |
70 | void profileChanged( int ); | 70 | void profileChanged( int ); |
71 | void chooseFile(); | 71 | void chooseFile(); |
72 | void chooseFileAB(); | 72 | void chooseFileAB(); |
73 | void chooseFilePWM(); | 73 | void chooseFilePWM(); |
74 | void slotOK(); | 74 | void slotOK(); |
75 | void helpDevice(); | 75 | void helpDevice(); |
76 | void helpModel(); | 76 | void helpModel(); |
77 | void helpConnection(); | 77 | void helpConnection(); |
78 | 78 | ||
79 | protected: | 79 | protected: |
80 | void usrWriteConfig(); | 80 | void usrWriteConfig(); |
81 | void setupSyncAlgTab(); | 81 | void setupSyncAlgTab(); |
82 | void readFilter(); | 82 | void readFilter(); |
83 | private: | 83 | private: |
84 | int currentSelection; | 84 | int currentSelection; |
85 | QPtrList<KSyncProfile> mSyncProfiles; | 85 | QPtrList<KSyncProfile> mSyncProfiles; |
86 | QStringList mSyncProfileNames; | 86 | QStringList mSyncProfileNames; |
87 | QStringList mFilterKapi; | 87 | QStringList mFilterKapi; |
88 | QStringList mFilterKopi; | 88 | QStringList mFilterKopi; |
89 | QLineEdit * mMyMachineName; | 89 | QLineEdit * mMyMachineName; |
90 | QComboBox * mProfileBox; | 90 | QComboBox * mProfileBox; |
91 | QRadioButton* mIsLocal; | 91 | QRadioButton* mIsLocal; |
92 | QRadioButton* mIsNotLocal; | 92 | QRadioButton* mIsNotLocal; |
93 | QRadioButton* mIsPhone; | 93 | QRadioButton* mIsPhone; |
94 | QRadioButton* mIsPi; | 94 | QRadioButton* mIsPi; |
95 | QCheckBox* mIncludeInRing; | 95 | QCheckBox* mIncludeInRing; |
96 | QCheckBox* mIncludeInRingAB; | 96 | QCheckBox* mIncludeInRingAB; |
97 | QCheckBox* mIncludeInRingPWM; | 97 | QCheckBox* mIncludeInRingPWM; |
98 | void addProfile ( KSyncProfile* ); | 98 | void addProfile ( KSyncProfile* ); |
99 | void insertProfiles(); | 99 | void insertProfiles(); |
100 | void saveProfile(); | 100 | void saveProfile(); |
101 | QButtonGroup* proGr; | 101 | QButtonGroup* proGr; |
102 | 102 | ||
103 | QComboBox * mFilterOutCal; | ||
104 | QComboBox * mFilterInCal; | ||
105 | QComboBox * mFilterOutAB; | ||
106 | QComboBox * mFilterInAB; | ||
107 | |||
103 | QRadioButton* loc, *rem, *newest, *ask, *f_loc,* f_rem, *both; | 108 | QRadioButton* loc, *rem, *newest, *ask, *f_loc,* f_rem, *both; |
104 | 109 | ||
105 | 110 | ||
106 | QLineEdit * mRemotePostcommand; | 111 | QLineEdit * mRemotePostcommand; |
107 | QLineEdit * mRemotePrecommand; | 112 | QLineEdit * mRemotePrecommand; |
108 | QLineEdit * mRemoteFile; | 113 | QLineEdit * mRemoteFile; |
109 | QLineEdit * mLocalTempFile; | 114 | QLineEdit * mLocalTempFile; |
110 | 115 | ||
111 | QLineEdit * mRemotePostcommandAB; | 116 | QLineEdit * mRemotePostcommandAB; |
112 | QLineEdit * mRemotePrecommandAB; | 117 | QLineEdit * mRemotePrecommandAB; |
113 | QLineEdit * mRemoteFileAB; | 118 | QLineEdit * mRemoteFileAB; |
114 | QLineEdit * mLocalTempFileAB; | 119 | QLineEdit * mLocalTempFileAB; |
115 | 120 | ||
116 | QLineEdit * mRemotePostcommandPWM; | 121 | QLineEdit * mRemotePostcommandPWM; |
117 | QLineEdit * mRemotePrecommandPWM; | 122 | QLineEdit * mRemotePrecommandPWM; |
118 | QLineEdit * mRemoteFilePWM; | 123 | QLineEdit * mRemoteFilePWM; |
119 | QLineEdit * mLocalTempFilePWM; | 124 | QLineEdit * mLocalTempFilePWM; |
120 | 125 | ||
121 | 126 | ||
122 | QLineEdit * mRemotePw; | 127 | QLineEdit * mRemotePw; |
123 | QLineEdit * mRemoteIP; | 128 | QLineEdit * mRemoteIP; |
124 | QLineEdit * mRemotePort; | 129 | QLineEdit * mRemotePort; |
125 | 130 | ||
126 | QLineEdit * mRemotePwAB; | 131 | QLineEdit * mRemotePwAB; |
127 | QLineEdit * mRemoteIPAB; | 132 | QLineEdit * mRemoteIPAB; |
128 | QLineEdit * mRemotePortAB; | 133 | QLineEdit * mRemotePortAB; |
129 | 134 | ||
130 | QLineEdit * mRemotePwPWM; | 135 | QLineEdit * mRemotePwPWM; |
131 | QLineEdit * mRemoteIPPWM; | 136 | QLineEdit * mRemoteIPPWM; |
132 | QLineEdit * mRemotePortPWM; | 137 | QLineEdit * mRemotePortPWM; |
133 | 138 | ||
134 | QLineEdit * mPhoneDevice; | 139 | QLineEdit * mPhoneDevice; |
135 | QLineEdit * mPhoneConnection; | 140 | QLineEdit * mPhoneConnection; |
136 | QLineEdit * mPhoneModel; | 141 | QLineEdit * mPhoneModel; |
137 | 142 | ||
138 | QWidget* mSetupSyncAlgTab; | 143 | QWidget* mSetupSyncAlgTab; |
139 | QVBox* localFileWidget; | 144 | QVBox* localFileWidget; |
140 | QVBox* remoteFileWidget; | 145 | QVBox* remoteFileWidget; |
141 | QVBox* phoneWidget; | 146 | QVBox* phoneWidget; |
142 | QVBox* piWidget; | 147 | QVBox* piWidget; |
143 | QCheckBox* mWriteBackFile; | 148 | QCheckBox* mWriteBackFile; |
144 | QCheckBox* mWriteBackFuture; | 149 | QCheckBox* mWriteBackFuture; |
145 | QSpinBox* mWriteBackFutureWeeks; | 150 | QSpinBox* mWriteBackFutureWeeks; |
146 | QSpinBox* mWriteBackPastWeeks; | 151 | QSpinBox* mWriteBackPastWeeks; |
147 | QCheckBox* mWriteBackExisting; | 152 | QCheckBox* mWriteBackExisting; |
148 | QCheckBox* mAskForPreferences; | 153 | QCheckBox* mAskForPreferences; |
149 | QCheckBox* mShowSummaryAfterSync; | 154 | QCheckBox* mShowSummaryAfterSync; |
150 | QCheckBox* mWriteContactToSIM; | 155 | QCheckBox* mWriteContactToSIM; |
151 | QCheckBox* mIsKapiFileL; | 156 | QCheckBox* mIsKapiFileL; |
152 | QCheckBox* mIsKapiFileR; | 157 | QCheckBox* mIsKapiFileR; |
153 | }; | 158 | }; |
154 | 159 | ||
155 | #endif | 160 | #endif |