From a85d343a39577cdf953d0759e356c59a77ae743f Mon Sep 17 00:00:00 2001 From: Friedemann Kleint Date: Tue, 27 Sep 2011 14:48:51 +0200 Subject: Widgets: Remove QT3_SUPPPORT. Reviewed-by: Lars Knoll Change-Id: Ie884f0cc9b3970b01c3c0c26600b1bcd92548077 Reviewed-on: http://codereview.qt-project.org/5629 Reviewed-by: Friedemann Kleint Reviewed-by: Qt Sanity Bot Reviewed-by: Lars Knoll --- src/widgets/widgets/qtoolbox.cpp | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'src/widgets/widgets/qtoolbox.cpp') diff --git a/src/widgets/widgets/qtoolbox.cpp b/src/widgets/widgets/qtoolbox.cpp index 711bf8c89c..e8bbccec04 100644 --- a/src/widgets/widgets/qtoolbox.cpp +++ b/src/widgets/widgets/qtoolbox.cpp @@ -291,20 +291,6 @@ void QToolBoxButton::paintEvent(QPaintEvent *) current item. */ -#ifdef QT3_SUPPORT -/*! - Constructs a toolbox called \a name with parent \a parent and flags \a f. -*/ -QToolBox::QToolBox(QWidget *parent, const char *name, Qt::WindowFlags f) - : QFrame(*new QToolBoxPrivate, parent, f) -{ - Q_D(QToolBox); - setObjectName(QString::fromAscii(name)); - d->layout = new QVBoxLayout(this); - d->layout->setMargin(0); - setBackgroundRole(QPalette::Button); -} -#endif /*! Constructs a new toolbox with the given \a parent and the flags, \a f. -- cgit v1.2.3