summaryrefslogtreecommitdiffstats
path: root/src/controls/plugin.cpp
diff options
context:
space:
mode:
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 98d81e42c..93fa6677e 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"));
}