summaryrefslogtreecommitdiffstats
path: root/src/private/plugin.cpp
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@gmail.com>2013-04-10 14:47:09 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-04-11 12:39:15 +0200
commit6a3a018e354ab7ae053c47b9468a1e10fece1e91 (patch)
treede42b9da51cb153183e2ee4270f408261e129247 /src/private/plugin.cpp
parented727323275e65c4a8bcdf24940bfd055d2b56a3 (diff)
Rename QQuickComponentsPrivate to QQuickTooltip
Change-Id: I1f776a5ca3600f17d9c5fbf22406e739158d2861 Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
Diffstat (limited to 'src/private/plugin.cpp')
-rw-r--r--src/private/plugin.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/private/plugin.cpp b/src/private/plugin.cpp
index ff6ad0a8f..9210ca3f1 100644
--- a/src/private/plugin.cpp
+++ b/src/private/plugin.cpp
@@ -42,18 +42,18 @@
#include "qrangemodel_p.h"
#include "qwheelarea_p.h"
#include "qstyleitem_p.h"
-#include "qquickcomponentsprivate_p.h"
+#include "qquicktooltip_p.h"
#include <qqml.h>
#include <qqmlextensionplugin.h>
QT_BEGIN_NAMESPACE
-QObject *registerPrivateModule(QQmlEngine *engine, QJSEngine *jsEngine)
+static QObject *registerTooltipModule(QQmlEngine *engine, QJSEngine *jsEngine)
{
Q_UNUSED(engine);
Q_UNUSED(jsEngine);
- return new QQuickComponentsPrivate();
+ return new QQuickTooltip();
}
class QtQuickControlsPrivatePlugin : public QQmlExtensionPlugin
@@ -70,7 +70,7 @@ void QtQuickControlsPrivatePlugin::registerTypes(const char *uri)
qmlRegisterType<QRangeModel>(uri, 1, 0, "RangeModel");
qmlRegisterType<QWheelArea>(uri, 1, 0, "WheelArea");
qmlRegisterType<QStyleItem>(uri, 1, 0, "StyleItem");
- qmlRegisterSingletonType<QQuickComponentsPrivate>(uri, 1, 0, "PrivateHelper", registerPrivateModule);
+ qmlRegisterSingletonType<QQuickTooltip>(uri, 1, 0, "Tooltip", registerTooltipModule);
}
QT_END_NAMESPACE