GrantleeTheme
7#include "grantleethemeengine.h"
8#include "grantleeki18nlocalizer.h"
10#include <config-grantleetheme.h>
12using namespace GrantleeTheme;
14class GrantleeTheme::EnginePrivate
17 EnginePrivate() =
default;
19 ~EnginePrivate() =
default;
21 QWeakPointer<GrantleeKi18nLocalizer> localizer;
26 , d(new GrantleeTheme::EnginePrivate)
28 addPluginPath(QStringLiteral(GRANTLEE_PLUGIN_INSTALL_DIR));
29 addDefaultLibrary(QStringLiteral(
"ktexttemplate_i18ntags"));
30 addDefaultLibrary(QStringLiteral(
"kde_grantlee_plugin"));
31 addDefaultLibrary(QStringLiteral(
"ktexttemplate_scriptabletags"));
32 setSmartTrimEnabled(
true);
35Engine::~Engine() =
default;
39 auto loc = d->localizer.toStrongRef();
41 loc.reset(
new GrantleeKi18nLocalizer());
42 d->localizer = loc.toWeakRef();
47#include "moc_grantleethemeengine.cpp"
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:49:30 by
doxygen 1.13.2 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.