Diffstat (limited to 'libkdepim/ksyncprefsdialog.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | libkdepim/ksyncprefsdialog.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libkdepim/ksyncprefsdialog.h b/libkdepim/ksyncprefsdialog.h index e8a9709..d8c02de 100644 --- a/libkdepim/ksyncprefsdialog.h +++ b/libkdepim/ksyncprefsdialog.h | |||
@@ -39,96 +39,97 @@ class QSlider; | |||
39 | class KURLRequester; | 39 | class KURLRequester; |
40 | class QComboBox; | 40 | class QComboBox; |
41 | class QButtonGroup; | 41 | class QButtonGroup; |
42 | class QLineEdit; | 42 | class QLineEdit; |
43 | class QVBox; | 43 | class QVBox; |
44 | class QStringList; | 44 | class QStringList; |
45 | class KSyncProfile; | 45 | class KSyncProfile; |
46 | 46 | ||
47 | /** Dialog to change the korganizer configuration. | 47 | /** Dialog to change the korganizer configuration. |
48 | */ | 48 | */ |
49 | class KSyncPrefsDialog : public KDialog | 49 | class KSyncPrefsDialog : public KDialog |
50 | { | 50 | { |
51 | Q_OBJECT | 51 | Q_OBJECT |
52 | public: | 52 | public: |
53 | /** Initialize dialog and pages */ | 53 | /** Initialize dialog and pages */ |
54 | KSyncPrefsDialog(QWidget *parent=0,char *name=0,bool modal=false); | 54 | KSyncPrefsDialog(QWidget *parent=0,char *name=0,bool modal=false); |
55 | ~KSyncPrefsDialog(); | 55 | ~KSyncPrefsDialog(); |
56 | void usrReadConfig(); | 56 | void usrReadConfig(); |
57 | void setLocalMachineName ( const QString& name ); | 57 | void setLocalMachineName ( const QString& name ); |
58 | QString getLocalMachineName ( ); | 58 | QString getLocalMachineName ( ); |
59 | 59 | ||
60 | QStringList getSyncProfileNames(); | 60 | QStringList getSyncProfileNames(); |
61 | 61 | ||
62 | public slots: | 62 | public slots: |
63 | protected slots: | 63 | protected slots: |
64 | void accept(); | 64 | void accept(); |
65 | void deleteProfile(); | 65 | void deleteProfile(); |
66 | void newProfile(); | 66 | void newProfile(); |
67 | void cloneProfile(); | 67 | void cloneProfile(); |
68 | void kindChanged(bool); | 68 | void kindChanged(bool); |
69 | void fillSSH(); | 69 | void fillSSH(); |
70 | void fillFTP(); | 70 | void fillFTP(); |
71 | void textChanged( const QString & ); | 71 | void textChanged( const QString & ); |
72 | void profileChanged( int ); | 72 | void profileChanged( int ); |
73 | void chooseFile(); | 73 | void chooseFile(); |
74 | void chooseFileAB(); | 74 | void chooseFileAB(); |
75 | void chooseFilePWM(); | 75 | void chooseFilePWM(); |
76 | void slotOK(); | 76 | void slotOK(); |
77 | void helpDevice(); | 77 | void helpDevice(); |
78 | void helpModel(); | 78 | void helpModel(); |
79 | void helpConnection(); | 79 | void helpConnection(); |
80 | 80 | ||
81 | protected: | 81 | protected: |
82 | void usrWriteConfig(); | 82 | void usrWriteConfig(); |
83 | void setupSyncAlgTab(); | 83 | void setupSyncAlgTab(); |
84 | void readFilter(); | 84 | void readFilter(); |
85 | void readResources(); | 85 | void readResources(); |
86 | private: | 86 | private: |
87 | void updateMyCaption(); | ||
87 | int currentSelection; | 88 | int currentSelection; |
88 | QPtrList<KSyncProfile> mSyncProfiles; | 89 | QPtrList<KSyncProfile> mSyncProfiles; |
89 | QStringList mSyncProfileNames; | 90 | QStringList mSyncProfileNames; |
90 | QStringList mFilterKapi; | 91 | QStringList mFilterKapi; |
91 | QStringList mFilterKopi; | 92 | QStringList mFilterKopi; |
92 | QStringList mResourcesKopi; | 93 | QStringList mResourcesKopi; |
93 | QStringList mResourcesKapi; | 94 | QStringList mResourcesKapi; |
94 | QLineEdit * mMyMachineName; | 95 | QLineEdit * mMyMachineName; |
95 | QComboBox * mProfileBox; | 96 | QComboBox * mProfileBox; |
96 | QRadioButton* mIsLocal; | 97 | QRadioButton* mIsLocal; |
97 | QRadioButton* mIsNotLocal; | 98 | QRadioButton* mIsNotLocal; |
98 | QRadioButton* mIsPhone; | 99 | QRadioButton* mIsPhone; |
99 | QRadioButton* mIsPi; | 100 | QRadioButton* mIsPi; |
100 | QRadioButton* mIsPiSpecific; | 101 | QRadioButton* mIsPiSpecific; |
101 | QCheckBox* mIncludeInRing; | 102 | QCheckBox* mIncludeInRing; |
102 | QCheckBox* mIncludeInRingAB; | 103 | QCheckBox* mIncludeInRingAB; |
103 | QCheckBox* mIncludeInRingPWM; | 104 | QCheckBox* mIncludeInRingPWM; |
104 | void addProfile ( KSyncProfile* ); | 105 | void addProfile ( KSyncProfile* ); |
105 | void insertProfiles(); | 106 | void insertProfiles(); |
106 | void saveProfile(); | 107 | void saveProfile(); |
107 | QButtonGroup* proGr; | 108 | QButtonGroup* proGr; |
108 | QHBox * mTableBox; | 109 | QHBox * mTableBox; |
109 | QTable* mResTableKopi; | 110 | QTable* mResTableKopi; |
110 | QTable* mResTableKapi; | 111 | QTable* mResTableKapi; |
111 | QTable* mResTablePwmpi; | 112 | QTable* mResTablePwmpi; |
112 | 113 | ||
113 | QComboBox * mFilterOutCal; | 114 | QComboBox * mFilterOutCal; |
114 | QComboBox * mFilterInCal; | 115 | QComboBox * mFilterInCal; |
115 | QComboBox * mFilterOutAB; | 116 | QComboBox * mFilterOutAB; |
116 | QComboBox * mFilterInAB; | 117 | QComboBox * mFilterInAB; |
117 | 118 | ||
118 | QRadioButton* loc, *rem, *newest, *ask, *f_loc,* f_rem, *both; | 119 | QRadioButton* loc, *rem, *newest, *ask, *f_loc,* f_rem, *both; |
119 | 120 | ||
120 | 121 | ||
121 | QLineEdit * mRemotePostcommand; | 122 | QLineEdit * mRemotePostcommand; |
122 | QLineEdit * mRemotePrecommand; | 123 | QLineEdit * mRemotePrecommand; |
123 | QLineEdit * mRemoteFile; | 124 | QLineEdit * mRemoteFile; |
124 | QLineEdit * mLocalTempFile; | 125 | QLineEdit * mLocalTempFile; |
125 | 126 | ||
126 | QLineEdit * mRemotePostcommandAB; | 127 | QLineEdit * mRemotePostcommandAB; |
127 | QLineEdit * mRemotePrecommandAB; | 128 | QLineEdit * mRemotePrecommandAB; |
128 | QLineEdit * mRemoteFileAB; | 129 | QLineEdit * mRemoteFileAB; |
129 | QLineEdit * mLocalTempFileAB; | 130 | QLineEdit * mLocalTempFileAB; |
130 | 131 | ||
131 | QLineEdit * mRemotePostcommandPWM; | 132 | QLineEdit * mRemotePostcommandPWM; |
132 | QLineEdit * mRemotePrecommandPWM; | 133 | QLineEdit * mRemotePrecommandPWM; |
133 | QLineEdit * mRemoteFilePWM; | 134 | QLineEdit * mRemoteFilePWM; |
134 | QLineEdit * mLocalTempFilePWM; | 135 | QLineEdit * mLocalTempFilePWM; |