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 <asouza@kde.org>
This commit is contained in:
parent
f1e61647b6
commit
e3db04f3ff
@ -10,6 +10,7 @@ set(corebindings_SRCS
|
|||||||
svgitem.cpp
|
svgitem.cpp
|
||||||
framesvgitem.cpp
|
framesvgitem.cpp
|
||||||
dialog.cpp
|
dialog.cpp
|
||||||
|
tooltip.cpp
|
||||||
)
|
)
|
||||||
|
|
||||||
INCLUDE_DIRECTORIES(
|
INCLUDE_DIRECTORIES(
|
||||||
|
@ -32,6 +32,7 @@
|
|||||||
#include "svgitem_p.h"
|
#include "svgitem_p.h"
|
||||||
#include "theme_p.h"
|
#include "theme_p.h"
|
||||||
#include "dialog.h"
|
#include "dialog.h"
|
||||||
|
#include "tooltip.h"
|
||||||
|
|
||||||
void CoreBindingsPlugin::registerTypes(const char *uri)
|
void CoreBindingsPlugin::registerTypes(const char *uri)
|
||||||
{
|
{
|
||||||
@ -49,6 +50,7 @@ void CoreBindingsPlugin::registerTypes(const char *uri)
|
|||||||
qmlRegisterType<Plasma::SortFilterModel>(uri, 0, 1, "SortFilterModel");
|
qmlRegisterType<Plasma::SortFilterModel>(uri, 0, 1, "SortFilterModel");
|
||||||
|
|
||||||
qmlRegisterType<DialogProxy>(uri, 0, 1, "Dialog");
|
qmlRegisterType<DialogProxy>(uri, 0, 1, "Dialog");
|
||||||
|
qmlRegisterType<ToolTipProxy>(uri, 0, 1, "ToolTip");
|
||||||
|
|
||||||
qmlRegisterInterface<Plasma::Service>("Service");
|
qmlRegisterInterface<Plasma::Service>("Service");
|
||||||
qRegisterMetaType<Plasma::Service*>("Service");
|
qRegisterMetaType<Plasma::Service*>("Service");
|
||||||
|
Loading…
Reference in New Issue
Block a user