Commit 54fd48d4 authored by Thomas Hartmann's avatar Thomas Hartmann

QmlDesigner.itemLibrary: Use com.nokia.meego for Meego/Harmattan components

Also fixing the documentation.

Change-Id: Ib40f7cea0be7f800b40272c4aed0babfc53ae433
Reviewed-on: http://codereview.qt.nokia.com/3301Reviewed-by: default avatarQt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: default avatarKai Koehne <kai.koehne@nokia.com>
Reviewed-by: default avatarThomas Hartmann <Thomas.Hartmann@nokia.com>
parent 2cbc2366
......@@ -1303,7 +1303,7 @@
\o \c {import com.nokia.symbian 1.0} for Symbian
\o \c {import com.meego 1.0} for MeeGo
\o \c {import com.nokia.meego 1.0} for MeeGo
\endlist
......
......@@ -270,7 +270,7 @@ void ItemLibraryWidget::updateImports()
imports << import.url();
if (imports.contains("com.nokia.symbian", Qt::CaseInsensitive))
filter = Symbian;
if (imports.contains("com.Meego", Qt::CaseInsensitive))
if (imports.contains("com.nokia.meego", Qt::CaseInsensitive))
filter = Meego;
}
......@@ -398,14 +398,14 @@ void ItemLibraryWidget::setImportFilter(FilterChangeFlag flag)
try {
block = true;
if (flag == QtBasic) {
removeImport(QLatin1String("com.meego"));
removeImport(QLatin1String("com.nokia.meego"));
removeImport(QLatin1String("com.nokia.symbian"));
} else if (flag == Symbian) {
removeImport(QLatin1String("com.meego"));
removeImport(QLatin1String("com.nokia.meego"));
addImport(QLatin1String("com.nokia.symbian"), QLatin1String("1.0"));
} else if (flag == Meego) {
removeImport(QLatin1String("com.nokia.symbian"));
addImport(QLatin1String("com.meego"), QLatin1String("1.0"));
addImport(QLatin1String("com.nokia.meego"), QLatin1String("1.0"));
}
QApplication::restoreOverrideCursor();
block = false;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment