diff options
Diffstat (limited to 'src/qml/types/qqmlmodelsmodule.cpp')
-rw-r--r-- | src/qml/types/qqmlmodelsmodule.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/qml/types/qqmlmodelsmodule.cpp b/src/qml/types/qqmlmodelsmodule.cpp index 69a799675e..3e53efd8b9 100644 --- a/src/qml/types/qqmlmodelsmodule.cpp +++ b/src/qml/types/qqmlmodelsmodule.cpp @@ -32,6 +32,7 @@ ****************************************************************************/ #include "qqmlmodelsmodule_p.h" +#include <QtCore/qitemselectionmodel.h> #include <private/qqmllistmodel_p.h> #include <private/qqmldelegatemodel_p.h> #include <private/qqmlobjectmodel_p.h> @@ -47,6 +48,8 @@ void QQmlModelsModule::defineModule() qmlRegisterType<QQmlDelegateModel>(uri, 2, 1, "DelegateModel"); qmlRegisterType<QQmlDelegateModelGroup>(uri, 2, 1, "DelegateModelGroup"); qmlRegisterType<QQmlObjectModel>(uri, 2, 1, "ObjectModel"); + + qmlRegisterType<QItemSelectionModel>(uri, 2, 2, "ItemSelectionModel"); } QT_END_NAMESPACE |