summaryrefslogtreecommitdiffstats
path: root/src/widgets/dialogs/qinputdialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/widgets/dialogs/qinputdialog.h')
-rw-r--r--src/widgets/dialogs/qinputdialog.h21
1 files changed, 0 insertions, 21 deletions
diff --git a/src/widgets/dialogs/qinputdialog.h b/src/widgets/dialogs/qinputdialog.h
index a8696cb562..d3c95ccd23 100644
--- a/src/widgets/dialogs/qinputdialog.h
+++ b/src/widgets/dialogs/qinputdialog.h
@@ -56,7 +56,6 @@ class Q_WIDGETS_EXPORT QInputDialog : public QDialog
{
Q_OBJECT
Q_DECLARE_PRIVATE(QInputDialog)
-// Q_ENUMS(InputMode InputDialogOption)
QDOC_PROPERTY(InputMode inputMode READ inputMode WRITE setInputMode)
QDOC_PROPERTY(QString labelText READ labelText WRITE setLabelText)
QDOC_PROPERTY(InputDialogOptions options READ options WRITE setOptions)
@@ -177,35 +176,15 @@ public:
int minValue = -2147483647, int maxValue = 2147483647,
int step = 1, bool *ok = nullptr, Qt::WindowFlags flags = Qt::WindowFlags());
-#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0) || defined(Q_QDOC)
static double getDouble(QWidget *parent, const QString &title, const QString &label, double value = 0,
double minValue = -2147483647, double maxValue = 2147483647,
int decimals = 1, bool *ok = nullptr, Qt::WindowFlags flags = Qt::WindowFlags(),
double step = 1);
-#else
- static double getDouble(QWidget *parent, const QString &title, const QString &label,
- double value = 0, double minValue = -2147483647,
- double maxValue = 2147483647, int decimals = 1, bool *ok = nullptr,
- Qt::WindowFlags flags = Qt::WindowFlags());
- static double getDouble(QWidget *parent, const QString &title, const QString &label,
- double value, double minValue, double maxValue, int decimals, bool *ok,
- Qt::WindowFlags flags, double step);
-#endif
-
-#if QT_DEPRECATED_SINCE(5, 0)
- QT_DEPRECATED static inline int getInteger(QWidget *parent, const QString &title, const QString &label, int value = 0,
- int minValue = -2147483647, int maxValue = 2147483647,
- int step = 1, bool *ok = nullptr, Qt::WindowFlags flags = Qt::WindowFlags())
- {
- return getInt(parent, title, label, value, minValue, maxValue, step, ok, flags);
- }
-#endif
void setDoubleStep(double step);
double doubleStep() const;
Q_SIGNALS:
- // ### emit signals!
void textValueChanged(const QString &text);
void textValueSelected(const QString &text);
void intValueChanged(int value);