-rw-r--r-- | libkdepim/ksyncprefsdialog.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/libkdepim/ksyncprefsdialog.h b/libkdepim/ksyncprefsdialog.h index 24543e1..e8a9709 100644 --- a/libkdepim/ksyncprefsdialog.h +++ b/libkdepim/ksyncprefsdialog.h | |||
@@ -21,16 +21,18 @@ | |||
21 | without including the source code for Qt in the source distribution. | 21 | without including the source code for Qt in the source distribution. |
22 | */ | 22 | */ |
23 | #ifndef _KSYNCPREFSDIALOG_H | 23 | #ifndef _KSYNCPREFSDIALOG_H |
24 | #define _KSYNCPREFSDIALOG_H | 24 | #define _KSYNCPREFSDIALOG_H |
25 | 25 | ||
26 | 26 | ||
27 | #include <kdialogbase.h> | 27 | #include <kdialogbase.h> |
28 | #include <qptrlist.h> | 28 | #include <qptrlist.h> |
29 | #include <qtable.h> | ||
30 | #include <qhbox.h> | ||
29 | 31 | ||
30 | //#include <libkdepim/kprefsdialog.h> | 32 | //#include <libkdepim/kprefsdialog.h> |
31 | 33 | ||
32 | class KColorButton; | 34 | class KColorButton; |
33 | class QSpinBox;; | 35 | class QSpinBox;; |
34 | class QRadioButton; | 36 | class QRadioButton; |
35 | class QCheckBox; | 37 | class QCheckBox; |
36 | class QSlider; | 38 | class QSlider; |
@@ -75,35 +77,43 @@ class KSyncPrefsDialog : public KDialog | |||
75 | void helpDevice(); | 77 | void helpDevice(); |
76 | void helpModel(); | 78 | void helpModel(); |
77 | void helpConnection(); | 79 | void helpConnection(); |
78 | 80 | ||
79 | protected: | 81 | protected: |
80 | void usrWriteConfig(); | 82 | void usrWriteConfig(); |
81 | void setupSyncAlgTab(); | 83 | void setupSyncAlgTab(); |
82 | void readFilter(); | 84 | void readFilter(); |
85 | void readResources(); | ||
83 | private: | 86 | private: |
84 | int currentSelection; | 87 | int currentSelection; |
85 | QPtrList<KSyncProfile> mSyncProfiles; | 88 | QPtrList<KSyncProfile> mSyncProfiles; |
86 | QStringList mSyncProfileNames; | 89 | QStringList mSyncProfileNames; |
87 | QStringList mFilterKapi; | 90 | QStringList mFilterKapi; |
88 | QStringList mFilterKopi; | 91 | QStringList mFilterKopi; |
92 | QStringList mResourcesKopi; | ||
93 | QStringList mResourcesKapi; | ||
89 | QLineEdit * mMyMachineName; | 94 | QLineEdit * mMyMachineName; |
90 | QComboBox * mProfileBox; | 95 | QComboBox * mProfileBox; |
91 | QRadioButton* mIsLocal; | 96 | QRadioButton* mIsLocal; |
92 | QRadioButton* mIsNotLocal; | 97 | QRadioButton* mIsNotLocal; |
93 | QRadioButton* mIsPhone; | 98 | QRadioButton* mIsPhone; |
94 | QRadioButton* mIsPi; | 99 | QRadioButton* mIsPi; |
100 | QRadioButton* mIsPiSpecific; | ||
95 | QCheckBox* mIncludeInRing; | 101 | QCheckBox* mIncludeInRing; |
96 | QCheckBox* mIncludeInRingAB; | 102 | QCheckBox* mIncludeInRingAB; |
97 | QCheckBox* mIncludeInRingPWM; | 103 | QCheckBox* mIncludeInRingPWM; |
98 | void addProfile ( KSyncProfile* ); | 104 | void addProfile ( KSyncProfile* ); |
99 | void insertProfiles(); | 105 | void insertProfiles(); |
100 | void saveProfile(); | 106 | void saveProfile(); |
101 | QButtonGroup* proGr; | 107 | QButtonGroup* proGr; |
108 | QHBox * mTableBox; | ||
109 | QTable* mResTableKopi; | ||
110 | QTable* mResTableKapi; | ||
111 | QTable* mResTablePwmpi; | ||
102 | 112 | ||
103 | QComboBox * mFilterOutCal; | 113 | QComboBox * mFilterOutCal; |
104 | QComboBox * mFilterInCal; | 114 | QComboBox * mFilterInCal; |
105 | QComboBox * mFilterOutAB; | 115 | QComboBox * mFilterOutAB; |
106 | QComboBox * mFilterInAB; | 116 | QComboBox * mFilterInAB; |
107 | 117 | ||
108 | QRadioButton* loc, *rem, *newest, *ask, *f_loc,* f_rem, *both; | 118 | QRadioButton* loc, *rem, *newest, *ask, *f_loc,* f_rem, *both; |
109 | 119 | ||