KDECore
#include <QtCore/QCoreApplication>
#include <QtCore/QFile>
#include <QtCore/QFileInfo>
#include <QtCore/QSettings>
#include <QtCore/QTextStream>
#include <QtXml/QDomAttr>
#include <QtCore/QRegExp>
#include <QtCore/QStringList>
#include <ostream>
#include <iostream>
#include <stdlib.h>
Go to the source code of this file.
Functions | |
static void | addQuotes (QString &s) |
void | beginNamespaces (const QString &p_ns, QTextStream &p_out) |
QString | cppType (const QString &t) |
QString | defaultValue (const QString &t) |
static QString | dumpNode (const QDomNode &node) |
void | endNamespaces (const QString &p_ns, QTextStream &p_out) |
static QString | enumName (const QString &n) |
static QString | enumName (const QString &n, const CfgEntry::Choices &c) |
static QString | enumType (const CfgEntry *e, bool globalEnums) |
static QString | enumTypeQualifier (const QString &n, const CfgEntry::Choices &c) |
static QString | filenameOnly (const QString &path) |
static QString | getDefaultFunction (const QString &n, const QString &className=QString()) |
static QString | getFunction (const QString &n, const QString &className=QString()) |
QString | indent (QString text, int spaces) |
static bool | isUnsigned (const QString &type) |
QString | itemAccessorBody (CfgEntry *e, const CfgConfig &cfg) |
static QString | itemDeclaration (const CfgEntry *e, const CfgConfig &cfg) |
static QString | itemPath (const CfgEntry *e, const CfgConfig &cfg) |
QString | itemType (const QString &type) |
static QString | itemVar (const CfgEntry *e, const CfgConfig &cfg) |
static QString | literalString (const QString &s) |
int | main (int argc, char **argv) |
QString | memberAccessorBody (CfgEntry *e, bool globalEnums, const CfgConfig &cfg) |
QString | memberGetDefaultBody (CfgEntry *e) |
QString | memberMutatorBody (CfgEntry *e, const CfgConfig &cfg) |
QString | newItem (const QString &type, const QString &name, const QString &key, const QString &defaultValue, const CfgConfig &cfg, const QString ¶m=QString()) |
QString | param (const QString &t) |
QString | paramString (const QString &s, const CfgEntry *e, int i) |
QString | paramString (const QString &group, const QList< Param > ¶meters) |
static void | parseArgs (const QStringList &args, QString &directory, QString &file1, QString &file2) |
CfgEntry * | parseEntry (const QString &group, const QDomElement &element, const CfgConfig &cfg) |
static void | preProcessDefault (QString &defaultValue, const QString &name, const QString &type, const CfgEntry::Choices &choices, QString &code, const CfgConfig &cfg) |
static QString | quoteString (const QString &s) |
static QString | setFunction (const QString &n, const QString &className=QString()) |
static QString | signalEnumName (const QString &signalName) |
QString | userTextsFunctions (CfgEntry *e, const CfgConfig &cfg, QString itemVarStr=QString(), QString i=QString()) |
static QString | varName (const QString &n, const CfgConfig &cfg) |
static QString | varPath (const QString &n, const CfgConfig &cfg) |
Variables | |
QStringList | allNames |
QString | Const |
QString | This |
QRegExp * | validNameRegexp |
Function Documentation
|
static |
Definition at line 463 of file kconfig_compiler.cpp.
void beginNamespaces | ( | const QString & | p_ns, |
QTextStream & | p_out | ||
) |
Definition at line 1304 of file kconfig_compiler.cpp.
Actual C++ storage type for given type.
Definition at line 920 of file kconfig_compiler.cpp.
Definition at line 950 of file kconfig_compiler.cpp.
Definition at line 493 of file kconfig_compiler.cpp.
void endNamespaces | ( | const QString & | p_ns, |
QTextStream & | p_out | ||
) |
Definition at line 1316 of file kconfig_compiler.cpp.
Definition at line 386 of file kconfig_compiler.cpp.
Definition at line 393 of file kconfig_compiler.cpp.
Definition at line 404 of file kconfig_compiler.cpp.
Definition at line 417 of file kconfig_compiler.cpp.
Definition at line 505 of file kconfig_compiler.cpp.
|
static |
Definition at line 442 of file kconfig_compiler.cpp.
Definition at line 452 of file kconfig_compiler.cpp.
Definition at line 1285 of file kconfig_compiler.cpp.
Definition at line 877 of file kconfig_compiler.cpp.
QString itemAccessorBody | ( | CfgEntry * | e, |
const CfgConfig & | cfg | ||
) |
Definition at line 1272 of file kconfig_compiler.cpp.
|
static |
Definition at line 990 of file kconfig_compiler.cpp.
|
static |
Definition at line 1030 of file kconfig_compiler.cpp.
Definition at line 980 of file kconfig_compiler.cpp.
|
static |
Definition at line 1006 of file kconfig_compiler.cpp.
Definition at line 481 of file kconfig_compiler.cpp.
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 1327 of file kconfig_compiler.cpp.
Definition at line 1148 of file kconfig_compiler.cpp.
QString memberGetDefaultBody | ( | CfgEntry * | e | ) |
Definition at line 1246 of file kconfig_compiler.cpp.
QString memberMutatorBody | ( | CfgEntry * | e, |
const CfgConfig & | cfg | ||
) |
Definition at line 1172 of file kconfig_compiler.cpp.
QString newItem | ( | const QString & | type, |
const QString & | name, | ||
const QString & | key, | ||
const QString & | defaultValue, | ||
const CfgConfig & | cfg, | ||
const QString & | param = QString() |
||
) |
Definition at line 1042 of file kconfig_compiler.cpp.
Return parameter declaration for given type.
Definition at line 887 of file kconfig_compiler.cpp.
Definition at line 1058 of file kconfig_compiler.cpp.
Definition at line 1079 of file kconfig_compiler.cpp.
|
static |
Definition at line 49 of file kconfig_compiler.cpp.
CfgEntry* parseEntry | ( | const QString & | group, |
const QDomElement & | element, | ||
const CfgConfig & | cfg | ||
) |
Definition at line 602 of file kconfig_compiler.cpp.
|
static |
Definition at line 522 of file kconfig_compiler.cpp.
Definition at line 471 of file kconfig_compiler.cpp.
Definition at line 432 of file kconfig_compiler.cpp.
Definition at line 513 of file kconfig_compiler.cpp.
QString userTextsFunctions | ( | CfgEntry * | e, |
const CfgConfig & | cfg, | ||
QString | itemVarStr = QString() , |
||
QString | i = QString() |
||
) |
Definition at line 1102 of file kconfig_compiler.cpp.
Definition at line 360 of file kconfig_compiler.cpp.
Definition at line 374 of file kconfig_compiler.cpp.
Variable Documentation
QStringList allNames |
Definition at line 101 of file kconfig_compiler.cpp.
QString Const |
Definition at line 104 of file kconfig_compiler.cpp.
QString This |
Definition at line 103 of file kconfig_compiler.cpp.
QRegExp* validNameRegexp |
Definition at line 102 of file kconfig_compiler.cpp.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:22:12 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.