summaryrefslogtreecommitdiffabout
path: root/microkde/kfontdialog.cpp
Side-by-side diff
Diffstat (limited to 'microkde/kfontdialog.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--microkde/kfontdialog.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/microkde/kfontdialog.cpp b/microkde/kfontdialog.cpp
index 174123c..f83c2a8 100644
--- a/microkde/kfontdialog.cpp
+++ b/microkde/kfontdialog.cpp
@@ -4,18 +4,20 @@
#else
#include <qfontdialog.h>
#endif
#include <qdialog.h>
#include <qlayout.h>
#include <qpushbutton.h>
+//Added by qt3to4:
+#include <Q3VBoxLayout>
QFont KFontDialog::getFont( const QFont & f, bool & ok )
{
#ifndef DESKTOP_VERSION
QDialog d( 0, "fd", true );;
OFontSelector s ( true, &d, "fontsel");
- QVBoxLayout l ( &d );
+ Q3VBoxLayout l ( &d );
l.addWidget( &s );
s.setSelectedFont ( f );
QPushButton b ( "OK", &d );
l.addWidget( &b );
qDebug("size %d ", f.bold());
QObject::connect( &b, SIGNAL( clicked () ), &d, SLOT ( accept () ) );