GrantleeTheme

grantleethemeengine.h
1/*
2 SPDX-FileCopyrightText: 2016 Daniel Vrátil <dvratil@kde.org>
3
4 SPDX-License-Identifier: LGPL-2.1-or-later
5*/
6
7#pragma once
8
9#include <KTextTemplate/Engine>
10#include <QSharedPointer>
11
12#include "grantleetheme_export.h"
13
14namespace GrantleeTheme
15{
17class EnginePrivate;
18/**
19 * @brief The Engine class
20 */
21class GRANTLEETHEME_EXPORT Engine : public KTextTemplate::Engine
22{
24
25public:
26 explicit Engine(QObject *parent = nullptr);
27 ~Engine() override;
28
29 [[nodiscard]] QSharedPointer<GrantleeKi18nLocalizer> localizer() const;
30
31private:
32 std::unique_ptr<EnginePrivate> const d;
33};
34}
The GrantleeKi18nLocalizer class.
QObject(QObject *parent)
Q_OBJECTQ_OBJECT
QObject * parent() const const
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.