summaryrefslogtreecommitdiffabout
path: root/kmicromail/settingsdialog.cpp
Side-by-side diff
Diffstat (limited to 'kmicromail/settingsdialog.cpp') (more/less context) (show whitespace changes)
-rw-r--r--kmicromail/settingsdialog.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/kmicromail/settingsdialog.cpp b/kmicromail/settingsdialog.cpp
index c593b48..889c490 100644
--- a/kmicromail/settingsdialog.cpp
+++ b/kmicromail/settingsdialog.cpp
@@ -1,53 +1,55 @@
#include <qcheckbox.h>
#include <qspinbox.h>
#include <qlayout.h>
#include <qtabwidget.h>
+//Added by qt3to4:
+#include <Q3GridLayout>
#include <kconfig.h>
#include <kprefs.h>
#include <klocale.h>
#include <kglobal.h>
#include <kfontdialog.h>
#include "settingsdialog.h"
-SettingsDialog::SettingsDialog( QWidget* parent, const char* name, bool modal, WFlags fl )
+SettingsDialog::SettingsDialog( QWidget* parent, const char* name, bool modal, Qt::WFlags fl )
: SettingsDialogUI( parent, name, modal, fl ) {
#if 0
QTabWidget *topFrame = TabWidget2;
- QGridLayout *topLayout = new QGridLayout(topFrame,3,3);
+ Q3GridLayout *topLayout = new Q3GridLayout(topFrame,3,3);
topLayout->setSpacing(2);
topLayout->setMargin(3);
KPrefsWidFont * tVFont;
int i = 0;
KPrefsWidFont *timeLabelsFont =
addWidFont(i18n("OK"),i18n("Application(nr):"),
&(mAppFont),topFrame);
topLayout->addWidget(timeLabelsFont->label(),i,0);
topLayout->addWidget(timeLabelsFont->preview(),i,1);
topLayout->addWidget(timeLabelsFont->button(),i,2);
++i;
timeLabelsFont =
addWidFont(i18n("Mon 15"),i18n("Compose Mail:"),
&(mComposeFont),topFrame);
topLayout->addWidget(timeLabelsFont->label(),i,0);
topLayout->addWidget(timeLabelsFont->preview(),i,1);
topLayout->addWidget(timeLabelsFont->button(),i,2);
++i;
KPrefsWidFont *timeBarFont =
addWidFont(i18n("Mon 15"),i18n("Read Mail:"),
&(mReadFont),topFrame);
topLayout->addWidget(timeBarFont->label(),i,0);
topLayout->addWidget(timeBarFont->preview(),i,1);
topLayout->addWidget(timeBarFont->button(),i,2);
++i;
readConfig();
#endif
}