summaryrefslogtreecommitdiffabout
path: root/libkdepim/kprefsdialog.cpp
Side-by-side diff
Diffstat (limited to 'libkdepim/kprefsdialog.cpp') (more/less context) (show whitespace changes)
-rw-r--r--libkdepim/kprefsdialog.cpp19
1 files changed, 10 insertions, 9 deletions
diff --git a/libkdepim/kprefsdialog.cpp b/libkdepim/kprefsdialog.cpp
index 6dc741d..358acbd 100644
--- a/libkdepim/kprefsdialog.cpp
+++ b/libkdepim/kprefsdialog.cpp
@@ -26,16 +26,16 @@
#include <qlayout.h>
#include <qlabel.h>
-#include <qgroupbox.h>
-#include <qbuttongroup.h>
+#include <q3groupbox.h>
+#include <q3buttongroup.h>
#include <qlineedit.h>
#include <qfont.h>
#include <qslider.h>
#include <qfile.h>
-#include <qtextstream.h>
-#include <qvbox.h>
-#include <qhbox.h>
+#include <q3textstream.h>
+#include <q3vbox.h>
+#include <q3hbox.h>
#include <qspinbox.h>
#include <qdatetime.h>
-#include <qframe.h>
+#include <q3frame.h>
#include <qcombobox.h>
#include <qcheckbox.h>
@@ -43,4 +43,5 @@
#include <qpushbutton.h>
#include <qapplication.h>
+#include <QDesktopWidget>
#include <kcolorbutton.h>
@@ -129,5 +130,5 @@ KPrefsDialogWidFont::KPrefsDialogWidFont(const QString &sampleText,const QString
mPreview = new QLabel(sampleText,parent);
- mPreview->setFrameStyle(QFrame::Panel|QFrame::Sunken);
+ mPreview->setFrameStyle(Q3Frame::Panel|Q3Frame::Sunken);
mButton = new QPushButton(i18n("Choose..."), parent);
@@ -213,5 +214,5 @@ KPrefsDialogWidRadios::KPrefsDialogWidRadios(const QString &text,int *reference,
mReference = reference;
- mBox = new QButtonGroup(1,Qt::Horizontal,text,parent);
+ mBox = new Q3ButtonGroup(1,Qt::Horizontal,text,parent);
}
@@ -225,5 +226,5 @@ void KPrefsDialogWidRadios::addRadio(const QString &text)
}
-QButtonGroup *KPrefsDialogWidRadios::groupBox()
+Q3ButtonGroup *KPrefsDialogWidRadios::groupBox()
{
return mBox;