Changeset View
Changeset View
Standalone View
Standalone View
src/plugin/kdegrantleeplugin.cpp
Show All 13 Lines | |||||
14 | * You should have received a copy of the GNU Lesser General Public | 14 | * You should have received a copy of the GNU Lesser General Public | ||
15 | * License along with this library; if not, write to the Free Software | 15 | * License along with this library; if not, write to the Free Software | ||
16 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | 16 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||
17 | * | 17 | * | ||
18 | */ | 18 | */ | ||
19 | 19 | | |||
20 | #include "kdegrantleeplugin.h" | 20 | #include "kdegrantleeplugin.h" | ||
21 | #include "color.h" | 21 | #include "color.h" | ||
22 | #include "colorscheme.h" | ||||
22 | #include "icon.h" | 23 | #include "icon.h" | ||
23 | #include "palette.h" | 24 | #include "palette.h" | ||
24 | 25 | | |||
25 | KDEGrantleePlugin::KDEGrantleePlugin(QObject *parent) | 26 | KDEGrantleePlugin::KDEGrantleePlugin(QObject *parent) | ||
26 | : QObject(parent) | 27 | : QObject(parent) | ||
27 | , Grantlee::TagLibraryInterface() | 28 | , Grantlee::TagLibraryInterface() | ||
28 | { | 29 | { | ||
29 | Color::registerMetaType(); | 30 | Color::registerMetaType(); | ||
31 | ColorScheme::registerMetaType(); | ||||
30 | Palette::registerMetaType(); | 32 | Palette::registerMetaType(); | ||
31 | } | 33 | } | ||
32 | 34 | | |||
33 | KDEGrantleePlugin::~KDEGrantleePlugin() | 35 | KDEGrantleePlugin::~KDEGrantleePlugin() | ||
34 | { | 36 | { | ||
35 | } | 37 | } | ||
36 | 38 | | |||
37 | QHash<QString, Grantlee::AbstractNodeFactory *> KDEGrantleePlugin::nodeFactories(const QString &name) | 39 | QHash<QString, Grantlee::AbstractNodeFactory *> KDEGrantleePlugin::nodeFactories(const QString &name) | ||
Show All 20 Lines |