summaryrefslogtreecommitdiffabout
path: root/kmicromail/koprefsdialog.h
Unidiff
Diffstat (limited to 'kmicromail/koprefsdialog.h') (more/less context) (ignore whitespace changes)
-rw-r--r--kmicromail/koprefsdialog.h12
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
@@ -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;
@@ -110,25 +112,25 @@ protected:
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;
@@ -137,25 +139,25 @@ protected:
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;