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{
16class GrantleeKi18nLocalizer;
17class EnginePrivate;
18/**
19 * @brief The Engine class
20 */
21class GRANTLEETHEME_EXPORT Engine : public KTextTemplate::Engine
22{
23 Q_OBJECT
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}
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:57:21 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.