From e3db04f3ff0134dfa0357ceb953a67dd5f185e52 Mon Sep 17 00:00:00 2001 From: Artur Duque de Souza Date: Wed, 27 Apr 2011 19:44:50 -0300 Subject: [PATCH] Add Tooltip to the build system Let's compile the tooltip and also export it to our QML plugin. Signed-off-by: Artur Duque de Souza --- declarativeimports/core/CMakeLists.txt | 1 + declarativeimports/core/corebindingsplugin.cpp | 2 ++ 2 files changed, 3 insertions(+) diff --git a/declarativeimports/core/CMakeLists.txt b/declarativeimports/core/CMakeLists.txt index 9ca40d806..64254ac8d 100644 --- a/declarativeimports/core/CMakeLists.txt +++ b/declarativeimports/core/CMakeLists.txt @@ -10,6 +10,7 @@ set(corebindings_SRCS svgitem.cpp framesvgitem.cpp dialog.cpp + tooltip.cpp ) INCLUDE_DIRECTORIES( diff --git a/declarativeimports/core/corebindingsplugin.cpp b/declarativeimports/core/corebindingsplugin.cpp index d263d6250..d6ab7e617 100644 --- a/declarativeimports/core/corebindingsplugin.cpp +++ b/declarativeimports/core/corebindingsplugin.cpp @@ -32,6 +32,7 @@ #include "svgitem_p.h" #include "theme_p.h" #include "dialog.h" +#include "tooltip.h" void CoreBindingsPlugin::registerTypes(const char *uri) { @@ -49,6 +50,7 @@ void CoreBindingsPlugin::registerTypes(const char *uri) qmlRegisterType(uri, 0, 1, "SortFilterModel"); qmlRegisterType(uri, 0, 1, "Dialog"); + qmlRegisterType(uri, 0, 1, "ToolTip"); qmlRegisterInterface("Service"); qRegisterMetaType("Service");