Home | All Classes | Main Classes | Annotated | Grouped Classes | Functions |

# Compatibility Members for QInputDialog

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

QInputDialog class reference

### Static Public Members

- double getDouble ( const QString & caption, 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::WFlags f = 0 )
- int getInteger ( const QString & caption, 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::WFlags f = 0 )
- QString getItem ( const QString & caption, const QString & label, const QStringList & list, int current = 0, bool editable = true, bool * ok = 0, QWidget * parent = 0, const char * = 0, Qt::WFlags f = 0 )
- QString getText ( const QString & caption, const QString & label, QLineEdit::EchoMode echo = QLineEdit::Normal, const QString & text = QString::null, bool * ok = 0, QWidget * parent = 0, const char * = 0, Qt::WFlags f = 0 )

## Member Function Documentation

### double QInputDialog::getDouble ( const QString & caption, 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::WFlags f = 0 ) `[static]`

This is an overloaded member function, provided for convenience. It behaves essentially like the above function.

### int QInputDialog::getInteger ( const QString & caption, 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::WFlags f = 0 ) `[static]`

This is an overloaded member function, provided for convenience. It behaves essentially like the above function.

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

This is an overloaded member function, provided for convenience. It behaves essentially like the above function.

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

This is an overloaded member function, provided for convenience. It behaves essentially like the above function.