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/dialogs/qmessagebox.h | 25 ------------------------- 1 file changed, 25 deletions(-) (limited to 'src/widgets/dialogs/qmessagebox.h') diff --git a/src/widgets/dialogs/qmessagebox.h b/src/widgets/dialogs/qmessagebox.h index b2c99d3881..ebfd28a1aa 100644 --- a/src/widgets/dialogs/qmessagebox.h +++ b/src/widgets/dialogs/qmessagebox.h @@ -288,31 +288,6 @@ public: void setWindowTitle(const QString &title); void setWindowModality(Qt::WindowModality windowModality); -#ifdef QT3_SUPPORT - QT3_SUPPORT_CONSTRUCTOR QMessageBox(const QString &title, const QString &text, Icon icon, - int button0, int button1, int button2, - QWidget *parent, const char *name, bool modal, - Qt::WindowFlags f = Qt::Dialog | Qt::MSWindowsFixedSizeDialogHint); - QT3_SUPPORT_CONSTRUCTOR QMessageBox(QWidget *parent, const char *name); - - static QT3_SUPPORT QPixmap standardIcon(Icon icon, Qt::GUIStyle); - static QT3_SUPPORT int message(const QString &title, - const QString& text, - const QString& buttonText=QString(), - QWidget *parent = 0, const char * = 0) { - return QMessageBox::information(parent, title, text, - buttonText.isEmpty() ? tr("OK") : buttonText) == 0; - } - static QT3_SUPPORT bool query(const QString &title, - const QString& text, - const QString& yesButtonText = QString(), - const QString& noButtonText = QString(), - QWidget *parent = 0, const char * = 0) { - return QMessageBox::information(parent, title, text, - yesButtonText.isEmpty() ? tr("OK") : yesButtonText, - noButtonText) == 0; - } -#endif static QPixmap standardIcon(Icon icon); -- cgit v1.2.3