From 4ccd17443615187a585f367e3a47301b24265cd9 Mon Sep 17 00:00:00 2001 From: Lubos Dolezel Date: Wed, 3 Jun 2015 21:55:27 +0200 Subject: More Qt3 -> Qt4 porting, now only the main window remains --- src/gui/yesnodialog.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/gui/yesnodialog.cpp') diff --git a/src/gui/yesnodialog.cpp b/src/gui/yesnodialog.cpp index cde27ef..868f3d0 100644 --- a/src/gui/yesnodialog.cpp +++ b/src/gui/yesnodialog.cpp @@ -21,9 +21,9 @@ #include "qlabel.h" #include "qlayout.h" //Added by qt3to4: -#include -#include -#include +#include +#include +#include #include "userintf.h" @@ -45,10 +45,10 @@ YesNoDialog::YesNoDialog(QWidget *parent, const QString &caption, const QString QDialog(parent, NULL, true, Qt::WDestructiveClose) { setCaption(caption); - Q3BoxLayout *vb = new Q3VBoxLayout(this, 11, 6); + QBoxLayout *vb = new QVBoxLayout(this, 11, 6); QLabel *lblQuestion = new QLabel(text, this); vb->addWidget(lblQuestion); - Q3HBoxLayout *hb = new Q3HBoxLayout(NULL, 0, 6); + QHBoxLayout *hb = new QHBoxLayout(NULL, 0, 6); QSpacerItem *spacer1 = new QSpacerItem(1, 1, QSizePolicy::Expanding, QSizePolicy::Minimum ); hb->addItem(spacer1); -- cgit v1.2.3