author | zautrix <zautrix> | 2004-08-01 13:25:33 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-08-01 13:25:33 (UTC) |
commit | 043f0968a982bd7d2d288615530f8976aeb98002 (patch) (unidiff) | |
tree | 275caee79fbe7e6517068336cfa421cb6eefc0db /korganizer/kosyncprefsdialog.h | |
parent | 2de3f124cc4c2fb542b3ebf7cfc944f69a211b0f (diff) | |
download | kdepimpi-043f0968a982bd7d2d288615530f8976aeb98002.zip kdepimpi-043f0968a982bd7d2d288615530f8976aeb98002.tar.gz kdepimpi-043f0968a982bd7d2d288615530f8976aeb98002.tar.bz2 |
sync dialog moved
Diffstat (limited to 'korganizer/kosyncprefsdialog.h') (more/less context) (show whitespace changes)
-rw-r--r-- | korganizer/kosyncprefsdialog.h | 113 |
1 files changed, 0 insertions, 113 deletions
diff --git a/korganizer/kosyncprefsdialog.h b/korganizer/kosyncprefsdialog.h deleted file mode 100644 index 541d18b..0000000 --- a/korganizer/kosyncprefsdialog.h +++ b/dev/null | |||
@@ -1,113 +0,0 @@ | |||
1 | /* | ||
2 | This file is part of KOrganizer. | ||
3 | Copyright (c) 2000,2001 Cornelius Schumacher <schumacher@kde.org> | ||
4 | |||
5 | This program is free software; you can redistribute it and/or modify | ||
6 | it under the terms of the GNU General Public License as published by | ||
7 | the Free Software Foundation; either version 2 of the License, or | ||
8 | (at your option) any later version. | ||
9 | |||
10 | This program is distributed in the hope that it will be useful, | ||
11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
13 | GNU General Public License for more details. | ||
14 | |||
15 | You should have received a copy of the GNU General Public License | ||
16 | along with this program; if not, write to the Free Software | ||
17 | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
18 | |||
19 | As a special exception, permission is given to link this program | ||
20 | with any edition of Qt, and distribute the resulting executable, | ||
21 | without including the source code for Qt in the source distribution. | ||
22 | */ | ||
23 | #ifndef _KOPREFSDIALOG_H | ||
24 | #define _KOPREFSDIALOG_H | ||
25 | |||
26 | //#include <qframe.h> | ||
27 | //#include <qdict.h> | ||
28 | #include <qvbox.h> | ||
29 | #include <qhbox.h> | ||
30 | //#include <qcolor.h> | ||
31 | //#include <qlistview.h> | ||
32 | |||
33 | #include <kdialogbase.h> | ||
34 | |||
35 | #include <libkdepim/kprefsdialog.h> | ||
36 | |||
37 | class KColorButton; | ||
38 | class QSpinBox;; | ||
39 | class QRadioButton; | ||
40 | class QCheckBox; | ||
41 | class QSlider; | ||
42 | class KURLRequester; | ||
43 | class QComboBox; | ||
44 | class QLineEdit; | ||
45 | class QStringList; | ||
46 | class KSyncProfile; | ||
47 | |||
48 | /** Dialog to change the korganizer configuration. | ||
49 | */ | ||
50 | class KOSyncPrefsDialog : public KDialog | ||
51 | { | ||
52 | Q_OBJECT | ||
53 | public: | ||
54 | /** Initialize dialog and pages */ | ||
55 | KOSyncPrefsDialog(QWidget *parent=0,char *name=0,bool modal=false); | ||
56 | ~KOSyncPrefsDialog(); | ||
57 | void usrReadConfig(); | ||
58 | void setLocalMachineName ( const QString& name ); | ||
59 | QString getLocalMachineName ( ); | ||
60 | |||
61 | QStringList getSyncProfileNames(); | ||
62 | |||
63 | public slots: | ||
64 | protected slots: | ||
65 | void accept(); | ||
66 | void deleteProfile(); | ||
67 | void newProfile(); | ||
68 | void cloneProfile(); | ||
69 | void kindChanged(bool); | ||
70 | void fillSSH(); | ||
71 | void fillFTP(); | ||
72 | void textChanged( const QString & ); | ||
73 | void profileChanged( int ); | ||
74 | void chooseFile(); | ||
75 | void slotOK(); | ||
76 | |||
77 | protected: | ||
78 | void usrWriteConfig(); | ||
79 | |||
80 | void setupSyncAlgTab(); | ||
81 | |||
82 | private: | ||
83 | int currentSelection; | ||
84 | QPtrList<KSyncProfile> mSyncProfiles; | ||
85 | QStringList mSyncProfileNames; | ||
86 | QLineEdit * mMyMachineName; | ||
87 | QComboBox * mProfileBox; | ||
88 | QRadioButton* mIsLocal; | ||
89 | QRadioButton* mIsNotLocal; | ||
90 | QCheckBox* mIncludeInRing; | ||
91 | void addProfile ( KSyncProfile* ); | ||
92 | void insertProfiles(); | ||
93 | void saveProfile(); | ||
94 | QButtonGroup* proGr; | ||
95 | |||
96 | QRadioButton* loc, *rem, *newest, *ask, *f_loc,* f_rem, *both; | ||
97 | |||
98 | |||
99 | QLineEdit * mRemotePostcommand; | ||
100 | QLineEdit * mRemotePrecommand; | ||
101 | QLineEdit * mRemoteFile; | ||
102 | QLineEdit * mLocalTempFile; | ||
103 | QWidget* mSetupSyncAlgTab; | ||
104 | |||
105 | QVBox* localFileWidget; | ||
106 | QVBox* remoteFileWidget; | ||
107 | QCheckBox* mWriteBackFile; | ||
108 | QCheckBox* mWriteBackExisting; | ||
109 | QCheckBox* mAskForPreferences; | ||
110 | QCheckBox* mShowSummaryAfterSync; | ||
111 | }; | ||
112 | |||
113 | #endif | ||