Changeset View
Changeset View
Standalone View
Standalone View
src/kdeui/kinputdialog.h
Show First 20 Lines • Show All 61 Lines • ▼ Show 20 Line(s) | |||||
62 | * @param parent Parent of the dialog widget | 62 | * @param parent Parent of the dialog widget | ||
63 | * @param validator A @ref QValidator to be associated with the line edit | 63 | * @param validator A @ref QValidator to be associated with the line edit | ||
64 | * @param mask Mask associated with the line edit. See the | 64 | * @param mask Mask associated with the line edit. See the | ||
65 | * documentation for @ref QLineEdit about masks | 65 | * documentation for @ref QLineEdit about masks | ||
66 | * @param whatsThis a QWhatsThis text for the input widget. | 66 | * @param whatsThis a QWhatsThis text for the input widget. | ||
67 | * @param completionList a list of items which should be used for input completion | 67 | * @param completionList a list of items which should be used for input completion | ||
68 | * @return String user entered if Ok was pressed, else a null string | 68 | * @return String user entered if Ok was pressed, else a null string | ||
69 | * | 69 | * | ||
70 | * @deprecated since 5.0, use QInputDialog::getText() instead | 70 | * @deprecated since 5.0, use QInputDialog::getText() instead; the returned value | ||
71 | * must be checked, because QInputDialog accepts also empty strings | ||||
72 | * and does not use a QValidator object. | ||||
71 | */ | 73 | */ | ||
72 | #ifndef KDELIBS4SUPPORT_NO_DEPRECATED | 74 | #ifndef KDELIBS4SUPPORT_NO_DEPRECATED | ||
73 | KDELIBS4SUPPORT_DEPRECATED_EXPORT QString getText(const QString &caption, const QString &label, | 75 | KDELIBS4SUPPORT_DEPRECATED_EXPORT QString getText(const QString &caption, const QString &label, | ||
74 | const QString &value = QString(), bool *ok = nullptr, QWidget *parent = nullptr, | 76 | const QString &value = QString(), bool *ok = nullptr, QWidget *parent = nullptr, | ||
75 | QValidator *validator = nullptr, | 77 | QValidator *validator = nullptr, | ||
76 | const QString &mask = QString(), | 78 | const QString &mask = QString(), | ||
77 | const QString &whatsThis = QString(), | 79 | const QString &whatsThis = QString(), | ||
78 | const QStringList &completionList = QStringList()); | 80 | const QStringList &completionList = QStringList()); | ||
▲ Show 20 Lines • Show All 164 Lines • Show Last 20 Lines |