summaryrefslogtreecommitdiffabout
path: root/korganizer/koprefsdialog.h
Unidiff
Diffstat (limited to 'korganizer/koprefsdialog.h') (more/less context) (ignore whitespace changes)
-rw-r--r--korganizer/koprefsdialog.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/korganizer/koprefsdialog.h b/korganizer/koprefsdialog.h
index ee7a7aa..ccc1726 100644
--- a/korganizer/koprefsdialog.h
+++ b/korganizer/koprefsdialog.h
@@ -14,28 +14,30 @@
14 14
15 You should have received a copy of the GNU General Public License 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 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. 17 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18 18
19 As a special exception, permission is given to link this program 19 As a special exception, permission is given to link this program
20 with any edition of Qt, and distribute the resulting executable, 20 with any edition of Qt, and distribute the resulting executable,
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 _KOPREFSDIALOG_H 23#ifndef _KOPREFSDIALOG_H
24#define _KOPREFSDIALOG_H 24#define _KOPREFSDIALOG_H
25 25
26#include <qframe.h> 26#include <q3frame.h>
27#include <qdict.h> 27#include <q3dict.h>
28#include <qcolor.h> 28#include <qcolor.h>
29#include <qlistview.h> 29#include <q3listview.h>
30//Added by qt3to4:
31#include <QLabel>
30 32
31#include <kdialogbase.h> 33#include <kdialogbase.h>
32 34
33#include <libkdepim/kprefsdialog.h> 35#include <libkdepim/kprefsdialog.h>
34#include <libkdepim/kdateedit.h> 36#include <libkdepim/kdateedit.h>
35#include <kcmconfigs/kdepimconfigwidget.h> 37#include <kcmconfigs/kdepimconfigwidget.h>
36 38
37class KColorButton; 39class KColorButton;
38class QSpinBox; 40class QSpinBox;
39class QSlider; 41class QSlider;
40class KURLRequester; 42class KURLRequester;
41class QComboBox; 43class QComboBox;
@@ -85,25 +87,25 @@ class KOPrefsDialog : public KPrefsDialog
85 void setupPrinterTab(); 87 void setupPrinterTab();
86 void setupGroupSchedulingTab(); 88 void setupGroupSchedulingTab();
87 void setupGroupAutomationTab(); 89 void setupGroupAutomationTab();
88 90
89 void setCombo(QComboBox *combo,const QString & text, const QStringList *tags = 0); 91 void setCombo(QComboBox *combo,const QString & text, const QStringList *tags = 0);
90 92
91 93
92 private: 94 private:
93 QColor mCatDefaultColor; 95 QColor mCatDefaultColor;
94 KPrefsDialogWidBool *mEnableGroupScheduling; 96 KPrefsDialogWidBool *mEnableGroupScheduling;
95 KPrefsDialogWidBool *mEnableProjectView; 97 KPrefsDialogWidBool *mEnableProjectView;
96 98
97 QFrame *mPrinterTab; 99 Q3Frame *mPrinterTab;
98 100
99 QLineEdit *nameEdit; 101 QLineEdit *nameEdit;
100 QLineEdit *emailEdit; 102 QLineEdit *emailEdit;
101 103
102 QComboBox *timeCombo; 104 QComboBox *timeCombo;
103 QComboBox *tzCombo; 105 QComboBox *tzCombo;
104 106
105 // widgets holding preferences data 107 // widgets holding preferences data
106 QLineEdit *mNameEdit; 108 QLineEdit *mNameEdit;
107 QLineEdit *mEmailEdit; 109 QLineEdit *mEmailEdit;
108 QLabel *mNameLabel; 110 QLabel *mNameLabel;
109 QLabel *mEmailLabel; 111 QLabel *mEmailLabel;
@@ -112,25 +114,25 @@ class KOPrefsDialog : public KPrefsDialog
112 QSpinBox *mPrioSpin; 114 QSpinBox *mPrioSpin;
113 // QListView *mAMails; 115 // QListView *mAMails;
114 QLineEdit *aEmailsEdit; 116 QLineEdit *aEmailsEdit;
115 117
116 QComboBox *mTimeZoneCombo; 118 QComboBox *mTimeZoneCombo;
117 QStringList tzonenames; 119 QStringList tzonenames;
118 QSpinBox *mStartTimeSpin; 120 QSpinBox *mStartTimeSpin;
119 QSpinBox *mDefaultDurationSpin; 121 QSpinBox *mDefaultDurationSpin;
120 QComboBox *mAlarmTimeCombo; 122 QComboBox *mAlarmTimeCombo;
121 123
122 QComboBox *mCategoryCombo; 124 QComboBox *mCategoryCombo;
123 KColorButton *mCategoryButton; 125 KColorButton *mCategoryButton;
124 QDict<QColor> mCategoryDict; 126 Q3Dict<QColor> mCategoryDict;
125 127
126 QSlider *mHourSizeSlider; 128 QSlider *mHourSizeSlider;
127 129
128 QSpinBox *mNextXDaysSpin; 130 QSpinBox *mNextXDaysSpin;
129 QSpinBox *mWhatsNextSpin; 131 QSpinBox *mWhatsNextSpin;
130 132
131 QLineEdit * mRemoteIPEdit; 133 QLineEdit * mRemoteIPEdit;
132 QLineEdit * mRemoteUser; 134 QLineEdit * mRemoteUser;
133 QLineEdit * mRemotePassWd; 135 QLineEdit * mRemotePassWd;
134 QLineEdit * mRemoteFile; 136 QLineEdit * mRemoteFile;
135 QLineEdit * mLocalTempFile; 137 QLineEdit * mLocalTempFile;
136 QWidget* mSetupSyncAlgTab; 138 QWidget* mSetupSyncAlgTab;