-rw-r--r-- | kmicromail/koprefsdialog.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/kmicromail/koprefsdialog.h b/kmicromail/koprefsdialog.h index 7fa9261..042af3f 100644 --- a/kmicromail/koprefsdialog.h +++ b/kmicromail/koprefsdialog.h | |||
@@ -10,36 +10,38 @@ | |||
10 | This program is distributed in the hope that it will be useful, | 10 | This program is distributed in the hope that it will be useful, |
11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
13 | GNU General Public License for more details. | 13 | GNU General Public License for more details. |
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 | ||
37 | class KColorButton; | 39 | class KColorButton; |
38 | class QSpinBox; | 40 | class QSpinBox; |
39 | class QSlider; | 41 | class QSlider; |
40 | class KURLRequester; | 42 | class KURLRequester; |
41 | class QComboBox; | 43 | class QComboBox; |
42 | class QLineEdit; | 44 | class QLineEdit; |
43 | class QStringList; | 45 | class QStringList; |
44 | 46 | ||
45 | /** Dialog to change the korganizer configuration. | 47 | /** Dialog to change the korganizer configuration. |
@@ -106,60 +108,60 @@ protected: | |||
106 | void setupColorsTab(); | 108 | void setupColorsTab(); |
107 | void setupViewsTab(); | 109 | void setupViewsTab(); |
108 | void setupDisplayTab(); | 110 | void setupDisplayTab(); |
109 | void setupPrinterTab(); | 111 | void setupPrinterTab(); |
110 | void setupGroupSchedulingTab(); | 112 | void setupGroupSchedulingTab(); |
111 | void setupGroupAutomationTab(); | 113 | void setupGroupAutomationTab(); |
112 | void setupSyncTab(); | 114 | void setupSyncTab(); |
113 | void setupSyncAlgTab(); | 115 | void setupSyncAlgTab(); |
114 | 116 | ||
115 | void setCombo(QComboBox *combo,const QString & text, const QStringList *tags = 0); | 117 | void setCombo(QComboBox *combo,const QString & text, const QStringList *tags = 0); |
116 | 118 | ||
117 | 119 | ||
118 | private: | 120 | private: |
119 | KPrefsWidBool *mEnableGroupScheduling; | 121 | KPrefsWidBool *mEnableGroupScheduling; |
120 | KPrefsWidBool *mEnableProjectView; | 122 | KPrefsWidBool *mEnableProjectView; |
121 | 123 | ||
122 | QFrame *mPrinterTab; | 124 | Q3Frame *mPrinterTab; |
123 | 125 | ||
124 | QLineEdit *nameEdit; | 126 | QLineEdit *nameEdit; |
125 | QLineEdit *emailEdit; | 127 | QLineEdit *emailEdit; |
126 | 128 | ||
127 | QComboBox *timeCombo; | 129 | QComboBox *timeCombo; |
128 | QComboBox *tzCombo; | 130 | QComboBox *tzCombo; |
129 | 131 | ||
130 | // widgets holding preferences data | 132 | // widgets holding preferences data |
131 | QLineEdit *mNameEdit; | 133 | QLineEdit *mNameEdit; |
132 | QLineEdit *mEmailEdit; | 134 | QLineEdit *mEmailEdit; |
133 | QLabel *mNameLabel; | 135 | QLabel *mNameLabel; |
134 | QLabel *mEmailLabel; | 136 | QLabel *mEmailLabel; |
135 | QLineEdit *mAdditionalEdit; | 137 | QLineEdit *mAdditionalEdit; |
136 | QSpinBox *mAutoSaveIntervalSpin; | 138 | QSpinBox *mAutoSaveIntervalSpin; |
137 | QSpinBox *mPrioSpin; | 139 | QSpinBox *mPrioSpin; |
138 | // QListView *mAMails; | 140 | // QListView *mAMails; |
139 | QLineEdit *aEmailsEdit; | 141 | QLineEdit *aEmailsEdit; |
140 | 142 | ||
141 | QComboBox *mTimeZoneCombo; | 143 | QComboBox *mTimeZoneCombo; |
142 | QStringList tzonenames; | 144 | QStringList tzonenames; |
143 | QSpinBox *mStartTimeSpin; | 145 | QSpinBox *mStartTimeSpin; |
144 | QSpinBox *mDefaultDurationSpin; | 146 | QSpinBox *mDefaultDurationSpin; |
145 | QComboBox *mAlarmTimeCombo; | 147 | QComboBox *mAlarmTimeCombo; |
146 | 148 | ||
147 | QComboBox *mCategoryCombo; | 149 | QComboBox *mCategoryCombo; |
148 | KColorButton *mCategoryButton; | 150 | KColorButton *mCategoryButton; |
149 | QDict<QColor> mCategoryDict; | 151 | Q3Dict<QColor> mCategoryDict; |
150 | 152 | ||
151 | QSlider *mHourSizeSlider; | 153 | QSlider *mHourSizeSlider; |
152 | 154 | ||
153 | QSpinBox *mNextXDaysSpin; | 155 | QSpinBox *mNextXDaysSpin; |
154 | QSpinBox *mWhatsNextSpin; | 156 | QSpinBox *mWhatsNextSpin; |
155 | 157 | ||
156 | QLineEdit * mRemoteIPEdit; | 158 | QLineEdit * mRemoteIPEdit; |
157 | QLineEdit * mRemoteUser; | 159 | QLineEdit * mRemoteUser; |
158 | QLineEdit * mRemotePassWd; | 160 | QLineEdit * mRemotePassWd; |
159 | QLineEdit * mRemoteFile; | 161 | QLineEdit * mRemoteFile; |
160 | QLineEdit * mLocalTempFile; | 162 | QLineEdit * mLocalTempFile; |
161 | QWidget* mSetupSyncAlgTab; | 163 | QWidget* mSetupSyncAlgTab; |
162 | QLineEdit * mUserDateFormatLong; | 164 | QLineEdit * mUserDateFormatLong; |
163 | QLineEdit * mUserDateFormatShort; | 165 | QLineEdit * mUserDateFormatShort; |
164 | 166 | ||
165 | QSpinBox *mTimezoneOffsetSpin; | 167 | QSpinBox *mTimezoneOffsetSpin; |