1 | /* |
2 | This file is part of KDE. |
3 | |
4 | SPDX-FileCopyrightText: 2003 Cornelius Schumacher <schumacher@kde.org> |
5 | SPDX-FileCopyrightText: 2003 Waldo Bastian <bastian@kde.org> |
6 | SPDX-FileCopyrightText: 2003 Zack Rusin <zack@kde.org> |
7 | SPDX-FileCopyrightText: 2006 Michaƫl Larouche <michael.larouche@kdemail.net> |
8 | SPDX-FileCopyrightText: 2008 Allen Winter <winter@kde.org> |
9 | SPDX-FileCopyrightText: 2020 Tomaz Cananbrava <tcanabrava@kde.org> |
10 | |
11 | SPDX-License-Identifier: LGPL-2.0-or-later |
12 | */ |
13 | |
14 | #ifndef KCONFIGHEADERGENERATOR_H |
15 | #define |
16 | |
17 | #include "KConfigCodeGeneratorBase.h" |
18 | #include "KConfigCommonStructs.h" |
19 | |
20 | #include <QList> |
21 | #include <QString> |
22 | |
23 | class KConfigParameters; |
24 | class CfgEntry; |
25 | class QTextStream; |
26 | struct ParseResult; |
27 | |
28 | class : public KConfigCodeGeneratorBase |
29 | { |
30 | public: |
31 | (const QString &inputFile, const QString &baseDir, const KConfigParameters ¶meters, ParseResult &parseResult); |
32 | |
33 | void () override; |
34 | |
35 | private: |
36 | void (); |
37 | void (); |
38 | |
39 | void (); |
40 | void (const CfgEntry *entry, const CfgEntry::Choices &choices); |
41 | void (const CfgEntry *entry, const QStringList &values); |
42 | |
43 | void (); |
44 | void (); |
45 | void (); |
46 | void (); |
47 | |
48 | void (); |
49 | void (); |
50 | void (); |
51 | void (); |
52 | void (); |
53 | |
54 | void (const CfgEntry *entry); |
55 | void (const CfgEntry *entry, const QString &returnType); |
56 | void (const CfgEntry *entry, const QString &returnType); |
57 | void (const CfgEntry *entry); |
58 | void (const CfgEntry *entry, const QString &returnType); |
59 | void (const CfgEntry *entry); |
60 | void (const CfgEntry *entry); |
61 | }; |
62 | |
63 | #endif |
64 | |