From 18266f3ab78108a3246bac3540cb3aef6f97bbe6 Mon Sep 17 00:00:00 2001 From: heena mahour Date: Sat, 3 Aug 2013 10:21:05 +0000 Subject: [PATCH] import org.kde.dirmodel 2.0 installed --- src/declarativeimports/dirmodel/dirmodelplugin.cpp | 2 +- src/declarativeimports/dirmodel/qmldir | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/declarativeimports/dirmodel/dirmodelplugin.cpp b/src/declarativeimports/dirmodel/dirmodelplugin.cpp index 2702a711c..3e79a38d0 100644 --- a/src/declarativeimports/dirmodel/dirmodelplugin.cpp +++ b/src/declarativeimports/dirmodel/dirmodelplugin.cpp @@ -26,7 +26,7 @@ void DirModelPlugin::registerTypes(const char *uri) { Q_ASSERT(uri == QLatin1String("org.kde.dirmodel")); - qmlRegisterType(uri, 0, 1, "DirModel"); + qmlRegisterType(uri, 2,0, "DirModel"); } #include "moc_dirmodelplugin.cpp" diff --git a/src/declarativeimports/dirmodel/qmldir b/src/declarativeimports/dirmodel/qmldir index 2f26e1719..83f89c1ca 100644 --- a/src/declarativeimports/dirmodel/qmldir +++ b/src/declarativeimports/dirmodel/qmldir @@ -1,2 +1,3 @@ +module org.kde.dirmodel plugin dirmodelplugin