diff options
author | Alan Alpert <alan.alpert@nokia.com> | 2009-07-29 07:14:49 (GMT) |
---|---|---|
committer | Alan Alpert <alan.alpert@nokia.com> | 2009-07-29 07:25:44 (GMT) |
commit | fb7d86cf23227302d48db279ec589221d11a1f6a (patch) | |
tree | fc3022e03fe9f56d568abc6df57f154b1a58c778 /src/gui/widgets/qlineedit.h | |
parent | a45fe18569be1fc91e26f6e58d2f16bc8c6958de (diff) | |
download | Qt-fb7d86cf23227302d48db279ec589221d11a1f6a.zip Qt-fb7d86cf23227302d48db279ec589221d11a1f6a.tar.gz Qt-fb7d86cf23227302d48db279ec589221d11a1f6a.tar.bz2 |
Move QLineEdit logic into QLineControl
Manually merged from the kinetic repository, where it has been used
for a while. Like QTextControl, there is no auto test for the control,
just for the widgets built with it.
The purpose of this change is so that we can build stuff like QLineEdit
in other places (like kinetic). Also included is a trivial change to
QValidator, needed to use it with QLineControl in QML.
Reviewed-by: mbm
Diffstat (limited to 'src/gui/widgets/qlineedit.h')
-rw-r--r-- | src/gui/widgets/qlineedit.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/widgets/qlineedit.h b/src/gui/widgets/qlineedit.h index a97dc9a..daac6a7 100644 --- a/src/gui/widgets/qlineedit.h +++ b/src/gui/widgets/qlineedit.h @@ -268,6 +268,8 @@ private: Q_DECLARE_PRIVATE(QLineEdit) Q_PRIVATE_SLOT(d_func(), void _q_handleWindowActivate()) Q_PRIVATE_SLOT(d_func(), void _q_deleteSelected()) + Q_PRIVATE_SLOT(d_func(), void _q_textEdited(const QString &)) + Q_PRIVATE_SLOT(d_func(), void _q_cursorPositionChanged(int, int)) #ifndef QT_NO_COMPLETER Q_PRIVATE_SLOT(d_func(), void _q_completionHighlighted(QString)) #endif |