diff options
author | Alan Alpert <alan.alpert@nokia.com> | 2011-01-07 00:36:01 (GMT) |
---|---|---|
committer | Alan Alpert <alan.alpert@nokia.com> | 2011-01-07 00:38:53 (GMT) |
commit | 8b45ca46095020c495b44d764bb439018a87d22a (patch) | |
tree | 1e3434a862e4a44ef5ee7bb74ba0ca370b2d8c8f /src/declarative/graphicsitems/qdeclarativeitemsmodule.cpp | |
parent | c1a87921c8a85d5ecee9aba3b3578ae8d042c28a (diff) | |
download | Qt-8b45ca46095020c495b44d764bb439018a87d22a.zip Qt-8b45ca46095020c495b44d764bb439018a87d22a.tar.gz Qt-8b45ca46095020c495b44d764bb439018a87d22a.tar.bz2 |
Add linkActivated signal to TextEdit
Since TextEdit can also contain rich text with anchors, it should also
have a linkActivated signal like Text does.
Task-number: QTBUG-15283
Reviewed-by: Martin Jones
Diffstat (limited to 'src/declarative/graphicsitems/qdeclarativeitemsmodule.cpp')
-rw-r--r-- | src/declarative/graphicsitems/qdeclarativeitemsmodule.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/declarative/graphicsitems/qdeclarativeitemsmodule.cpp b/src/declarative/graphicsitems/qdeclarativeitemsmodule.cpp index a462763..752e239 100644 --- a/src/declarative/graphicsitems/qdeclarativeitemsmodule.cpp +++ b/src/declarative/graphicsitems/qdeclarativeitemsmodule.cpp @@ -142,6 +142,7 @@ void QDeclarativeItemModule::defineModule() qmlRegisterType<QGraphicsScale>("QtQuick",1,0,"Scale"); qmlRegisterType<QDeclarativeText>("QtQuick",1,0,"Text"); qmlRegisterType<QDeclarativeTextEdit>("QtQuick",1,0,"TextEdit"); + qmlRegisterType<QDeclarativeTextEdit,1>("QtQuick",1,1,"TextEdit"); #ifndef QT_NO_LINEEDIT qmlRegisterType<QDeclarativeTextInput>("QtQuick",1,0,"TextInput"); #endif |