KConfig
14#ifndef KCONFIGXMLPARSER_H
15#define KCONFIGXMLPARSER_H
17#include <QDomDocument>
18#include <QRegularExpression>
21#include "KConfigCommonStructs.h"
22#include "KConfigParameters.h"
33 KConfigXmlParser(
const KConfigParameters &cfg,
const QString &inputFileName);
39 ParseResult getParseResult()
const;
43 void createChangedSignal(CfgEntry &readEntry);
45 void validateNameAndKey(CfgEntry &readEntry,
const QDomElement &element);
49 CfgEntry *parseEntry(
const QString &group,
const QString &parentGroup,
const QDomElement &element);
52 void readIncludeTag(
const QDomElement &element);
53 void readGroupTag(
const QDomElement &element);
54 void readKcfgfileTag(
const QDomElement &element);
55 void readSignalTag(
const QDomElement &element);
58 void readParameterFromEntry(CfgEntry &entry,
const QDomElement &element);
59 bool hasDefaultCode(CfgEntry &entry,
const QDomElement &element);
60 void readChoicesFromEntry(CfgEntry &entry,
const QDomElement &element);
61 void readGroupElements(CfgEntry &entry,
const QDomElement &element);
62 void readParamDefaultValues(CfgEntry &entry,
const QDomElement &element);
65 ParseResult mParseResult;
66 KConfigParameters cfg;
67 QString mInputFileName;
68 QStringList mAllNames;
69 QRegularExpression mValidNameRegexp;
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:55:16 by
doxygen 1.13.2 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.