summaryrefslogtreecommitdiff
path: root/src/controls/plugin.cpp
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@digia.com>2013-04-12 17:05:22 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-04-15 10:35:46 +0200
commit2b309cf52dfff7307a055b2662e7ce1a53d44bdb (patch)
tree9c539d9e93dbd41718cbc15d2f80d504fdece094 /src/controls/plugin.cpp
parent88e867cbeedd9063a08b9c401a8e56d0fb43d17b (diff)
downloadqtquickcontrols-2b309cf52dfff7307a055b2662e7ce1a53d44bdb.tar.gz
Rename QtMenuXxx to QQuickMenuXxx
Change-Id: I89aa205686f0bdf2b267ad17a8ae0470c2f4751f Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
Diffstat (limited to 'src/controls/plugin.cpp')
-rw-r--r--src/controls/plugin.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/controls/plugin.cpp b/src/controls/plugin.cpp
index 98d81e42..93fa6677 100644
--- a/src/controls/plugin.cpp
+++ b/src/controls/plugin.cpp
@@ -41,8 +41,8 @@
#include "qquickaction_p.h"
#include "qquickexclusivegroup_p.h"
-#include "qtmenu_p.h"
-#include "qtmenubar_p.h"
+#include "qquickmenu_p.h"
+#include "qquickmenubar_p.h"
#include "qtstack_p.h"
#include <qimage.h>
@@ -88,14 +88,14 @@ void QtQuickControlsPlugin::registerTypes(const char *uri)
{
qmlRegisterType<QQuickAction>(uri, 1, 0, "Action");
qmlRegisterType<QQuickExclusiveGroup>(uri, 1, 0, "ExclusiveGroup");
- qmlRegisterType<QtMenu>(uri, 1, 0, "MenuPrivate");
- qmlRegisterType<QtMenuBar>(uri, 1, 0, "MenuBarPrivate");
- qmlRegisterType<QtMenuItem>(uri, 1, 0, "MenuItem");
- qmlRegisterUncreatableType<QtMenuItemType>(uri, 1, 0, "MenuItemType",
- QLatin1String("Do not create objects of type MenuItemType"));
- qmlRegisterType<QtMenuSeparator>(uri, 1, 0, "MenuSeparator");
- qmlRegisterUncreatableType<QtMenuBase>(uri, 1, 0, "MenuBase",
- QLatin1String("Do not create objects of type MenuBase"));
+ qmlRegisterType<QQuickMenu>(uri, 1, 0, "MenuPrivate");
+ qmlRegisterType<QQuickMenuBar>(uri, 1, 0, "MenuBarPrivate");
+ qmlRegisterType<QQuickMenuItem>(uri, 1, 0, "MenuItem");
+ qmlRegisterUncreatableType<QQuickMenuItemType>(uri, 1, 0, "MenuItemType",
+ QLatin1String("Do not create objects of type MenuItemType"));
+ qmlRegisterType<QQuickMenuSeparator>(uri, 1, 0, "MenuSeparator");
+ qmlRegisterUncreatableType<QQuickMenuBase>(uri, 1, 0, "MenuBase",
+ QLatin1String("Do not create objects of type MenuBase"));
qmlRegisterUncreatableType<QtStack>(uri, 1, 0, "Stack", QLatin1String("Do not create objects of type Stack"));
}