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 90fa286..c663d22 100644 --- a/libkdepim/ksyncprefsdialog.h +++ b/libkdepim/ksyncprefsdialog.h | |||
@@ -40,71 +40,72 @@ 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 slotOK(); | 72 | void slotOK(); |
73 | 73 | ||
74 | protected: | 74 | protected: |
75 | void usrWriteConfig(); | 75 | void usrWriteConfig(); |
76 | 76 | ||
77 | void setupSyncAlgTab(); | 77 | void setupSyncAlgTab(); |
78 | 78 | ||
79 | private: | 79 | private: |
80 | int currentSelection; | 80 | int currentSelection; |
81 | QPtrList<KSyncProfile> mSyncProfiles; | 81 | QPtrList<KSyncProfile> mSyncProfiles; |
82 | QStringList mSyncProfileNames; | 82 | QStringList mSyncProfileNames; |
83 | QLineEdit * mMyMachineName; | 83 | QLineEdit * mMyMachineName; |
84 | QComboBox * mProfileBox; | 84 | QComboBox * mProfileBox; |
85 | QRadioButton* mIsLocal; | 85 | QRadioButton* mIsLocal; |
86 | QRadioButton* mIsNotLocal; | 86 | QRadioButton* mIsNotLocal; |
87 | QCheckBox* mIncludeInRing; | 87 | QCheckBox* mIncludeInRing; |
88 | QCheckBox* mIncludeInRingAB; | ||
88 | void addProfile ( KSyncProfile* ); | 89 | void addProfile ( KSyncProfile* ); |
89 | void insertProfiles(); | 90 | void insertProfiles(); |
90 | void saveProfile(); | 91 | void saveProfile(); |
91 | QButtonGroup* proGr; | 92 | QButtonGroup* proGr; |
92 | 93 | ||
93 | QRadioButton* loc, *rem, *newest, *ask, *f_loc,* f_rem, *both; | 94 | QRadioButton* loc, *rem, *newest, *ask, *f_loc,* f_rem, *both; |
94 | 95 | ||
95 | 96 | ||
96 | QLineEdit * mRemotePostcommand; | 97 | QLineEdit * mRemotePostcommand; |
97 | QLineEdit * mRemotePrecommand; | 98 | QLineEdit * mRemotePrecommand; |
98 | QLineEdit * mRemoteFile; | 99 | QLineEdit * mRemoteFile; |
99 | QLineEdit * mLocalTempFile; | 100 | QLineEdit * mLocalTempFile; |
100 | QWidget* mSetupSyncAlgTab; | 101 | QWidget* mSetupSyncAlgTab; |
101 | 102 | ||
102 | QVBox* localFileWidget; | 103 | QVBox* localFileWidget; |
103 | QVBox* remoteFileWidget; | 104 | QVBox* remoteFileWidget; |
104 | QCheckBox* mWriteBackFile; | 105 | QCheckBox* mWriteBackFile; |
105 | QCheckBox* mWriteBackExisting; | 106 | QCheckBox* mWriteBackExisting; |
106 | QCheckBox* mAskForPreferences; | 107 | QCheckBox* mAskForPreferences; |
107 | QCheckBox* mShowSummaryAfterSync; | 108 | QCheckBox* mShowSummaryAfterSync; |
108 | }; | 109 | }; |
109 | 110 | ||
110 | #endif | 111 | #endif |