|  | Home · All Namespaces · All Classes · Main Classes · Grouped Classes · Modules · Functions |

# Qt 3 Support Members for QInputDialog

The following class members are part of the Qt 3 support layer. They are provided to help you port old code to Qt 4. We advise against using them in new code.

- QInputDialog class reference

### Static Public Members

- 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 * name = 0, Qt::WindowFlags f = 0 )
- 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 * name = 0, Qt::WindowFlags f = 0 )
- 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 * name = 0, Qt::WindowFlags f = 0 )
- 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 * name = 0, Qt::WindowFlags f = 0 )

- 1 static public member inherited from QWidget
- 13 static public members inherited from QPaintDevice

## Member Function Documentation

### double QInputDialog::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 * name = 0, Qt::WindowFlags f = 0 ) `[static]`

This is an overloaded member function, provided for convenience.

Call getDouble(parent, title, label, value, minValue, maxValue, decimals, ok, f).

The name parameter is ignored.

### int QInputDialog::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 * name = 0, Qt::WindowFlags f = 0 ) `[static]`

This is an overloaded member function, provided for convenience.

Call getInteger(parent, title, label, value, minValue, maxValue, step, ok, f) instead.

The name parameter is ignored.

### QString QInputDialog::getItem ( const QString & title, const QString & label, const QStringList & list, int current = 0, bool editable = true, bool * ok = 0, QWidget * parent = 0, const char * name = 0, Qt::WindowFlags f = 0 ) `[static]`

This is an overloaded member function, provided for convenience.

Call getItem(parent, title, label, list, current, editable, ok, f) instead.

The name parameter is ignored.

### QString QInputDialog::getText ( const QString & title, const QString & label, QLineEdit::EchoMode echo = QLineEdit::Normal, const QString & text = QString(), bool * ok = 0, QWidget * parent = 0, const char * name = 0, Qt::WindowFlags f = 0 ) `[static]`

This is an overloaded member function, provided for convenience.

Call getText(parent, title, label, echo, text, ok, f) instead.

The name parameter is ignored.