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/qinputdialog.h | 21 --------------------- 1 file changed, 21 deletions(-) (limited to 'src/widgets/dialogs/qinputdialog.h') diff --git a/src/widgets/dialogs/qinputdialog.h b/src/widgets/dialogs/qinputdialog.h index 51411c7ae1..93abdaec22 100644 --- a/src/widgets/dialogs/qinputdialog.h +++ b/src/widgets/dialogs/qinputdialog.h @@ -204,27 +204,6 @@ public: int minValue = -2147483647, int maxValue = 2147483647, int step = 1, bool *ok = 0, Qt::WindowFlags flags = 0); -#ifdef QT3_SUPPORT - inline static QT3_SUPPORT QString getText(const QString &title, const QString &label, - QLineEdit::EchoMode echo = QLineEdit::Normal, - const QString &text = QString(), bool *ok = 0, - QWidget *parent = 0, const char * = 0, Qt::WindowFlags flags = 0) - { return getText(parent, title, label, echo, text, ok, flags); } - inline static QT3_SUPPORT int getInteger(const QString &title, const QString &label, int value = 0, - int minValue = -2147483647, int maxValue = 2147483647, - int step = 1, bool *ok = 0, - QWidget *parent = 0, const char * = 0, Qt::WindowFlags flags = 0) - { return getInteger(parent, title, label, value, minValue, maxValue, step, ok, flags); } - inline static QT3_SUPPORT double getDouble(const QString &title, const QString &label, double value = 0, - double minValue = -2147483647, double maxValue = 2147483647, - int decimals = 1, bool *ok = 0, - QWidget *parent = 0, const char * = 0, Qt::WindowFlags flags = 0) - { return getDouble(parent, title, label, value, minValue, maxValue, decimals, ok, flags); } - inline static QT3_SUPPORT QString getItem(const QString &title, const QString &label, const QStringList &list, - int current = 0, bool editable = true, bool *ok = 0, - QWidget *parent = 0, const char * = 0, Qt::WindowFlags flags = 0) - { return getItem(parent, title, label, list, current, editable, ok, flags); } -#endif Q_SIGNALS: // ### emit signals! -- cgit v1.2.3