From b33fbfea4fc7c05d97b0b98fb3a355653cc5b6b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20K=C3=BCgler?= Date: Fri, 1 Feb 2013 17:24:24 +0100 Subject: [PATCH] Enable SvgItem --- declarativeimports/core/CMakeLists.txt | 2 +- declarativeimports/core/corebindingsplugin.cpp | 5 +++-- declarativeimports/core/corebindingsplugin.h | 1 + 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/declarativeimports/core/CMakeLists.txt b/declarativeimports/core/CMakeLists.txt index 8723292f2..786239497 100644 --- a/declarativeimports/core/CMakeLists.txt +++ b/declarativeimports/core/CMakeLists.txt @@ -8,7 +8,7 @@ set(corebindings_SRCS # datamodel.cpp # datasource.cpp # runnermodel.cpp -# svgitem.cpp + svgitem.cpp # framesvgitem.cpp # dialog.cpp # tooltip.cpp diff --git a/declarativeimports/core/corebindingsplugin.cpp b/declarativeimports/core/corebindingsplugin.cpp index 61a8152ed..809341eaa 100644 --- a/declarativeimports/core/corebindingsplugin.cpp +++ b/declarativeimports/core/corebindingsplugin.cpp @@ -2,6 +2,7 @@ * Copyright 2009 by Alan Alpert * Copyright 2010 by Ménard Alexis * Copyright 2010 by Marco Martin + * Copyright 2013 by Sebastian Kügler * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU Library General Public License as @@ -35,7 +36,7 @@ // // #include "datamodel.h" // #include "framesvgitem.h" // #include "runnermodel.h" -// #include "svgitem.h" +#include "svgitem.h" // #include "theme.h" // #include "dialog.h" // #include "iconitem.h" @@ -94,7 +95,7 @@ void CoreBindingsPlugin::registerTypes(const char *uri) // qmlRegisterInterface("QueryMatch"); // qRegisterMetaType("QueryMatch"); // -// qmlRegisterType(); +// qmlRegisterType(); // qmlRegisterType(uri, 0, 1, "IconItem"); /*qmlRegisterInterface("DataSource"); diff --git a/declarativeimports/core/corebindingsplugin.h b/declarativeimports/core/corebindingsplugin.h index f3854c785..ead16cc8b 100644 --- a/declarativeimports/core/corebindingsplugin.h +++ b/declarativeimports/core/corebindingsplugin.h @@ -2,6 +2,7 @@ * Copyright 2009 by Alan Alpert * Copyright 2010 by Ménard Alexis * Copyright 2010 by Marco Martin + * Copyright 2013 by Sebastian Kügler * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU Library General Public License as