Qt 4.8
|
#include <QFile>
#include <QList>
#include <QMap>
#include <QPair>
#include <QSet>
#include <QString>
#include <QTextStream>
#include <QtDebug>
#include <cstdlib>
Go to the source code of this file.
Macros | |
#define | TAB " " |
Typedefs | |
typedef QPair< QString, QString > | QStringPair |
Functions | |
QString | compileSource (const QString &source) |
QList< int > | getLocations (const QSet< QString > &variables, QString source) |
QList< QString > | getVariables (QString program) |
QString | getWord (QString line, int word) |
int | main () |
QList< QStringPair > | readConf (const QString &confFile) |
QString | readSourceFile (const QString &sourceFile, bool fragmentProgram=false) |
static int | toInt (const QByteArray &str) |
QString | trimmed (QString source) |
void | writeIncludeFile (const QSet< QString > &variables, const QList< QStringPair > &brushes, const QList< QStringPair > &compositionModes, const QList< QStringPair > &masks, const QMap< QString, QMap< QString, QString > > &compiled) |
void | writeTypesEnum (QTextStream &out, const char *name, const QList< QStringPair > &s) |
void | writeVariablesEnum (QTextStream &out, const char *name, const QSet< QString > &s) |
#define TAB " " |
Definition at line 57 of file generator.cpp.
Referenced by writeIncludeFile(), writeTypesEnum(), and writeVariablesEnum().
typedef QPair<QString, QString> QStringPair |
Definition at line 59 of file generator.cpp.
Definition at line 134 of file generator.cpp.
Referenced by main().
Definition at line 181 of file generator.cpp.
Referenced by writeIncludeFile().
Definition at line 422 of file generator.cpp.
Referenced by main().
Definition at line 155 of file generator.cpp.
Referenced by getVariables().
int main | ( | ) |
Definition at line 442 of file generator.cpp.
QList<QStringPair> readConf | ( | const QString & | confFile | ) |
Definition at line 96 of file generator.cpp.
Referenced by main().
Definition at line 61 of file generator.cpp.
Referenced by compileSource(), getVariables(), main(), and readConf().
|
static |
Definition at line 167 of file generator.cpp.
Referenced by QVFbScreen::connect(), QWSSoundServerPrivate::feedDevice(), QFont::fromString(), getLocations(), QByteArray::isSharedWith(), loadEngine(), QString::localeAwareCompare(), QScriptNewBreakpointWidget::onOkClicked(), QNetworkAccessHttpBackend::postRequest(), QDBusDemarshaller::QDBusDemarshaller(), QDeclarativeGridScaledImage::QDeclarativeGridScaledImage(), qt_debug_component(), qt_init(), QXlibScreen::QXlibScreen(), QOCIDriver::record(), QCss::Declaration::rectValue(), QTextFormatPrivate::resolveFont(), QSettingsPrivate::stringToVariant(), QVariant::swap(), QWSKeyboardHandler::transformDirKey(), and QFontSubset::widthArray().
Definition at line 233 of file generator.cpp.
Referenced by fontPath(), QPatternist::DerivedString< TypeToken >::fromLexical(), QHttpNetworkReplyPrivate::getChunkSize(), QTDSResult::gotoNext(), QString::isNull(), QByteArray::isSharedWith(), isUncRoot(), QMetaEnum::keysToValue(), QByteArray::length(), parseHttpOptionHeader(), QPatternist::XsdSchemaParser::parseNotation(), QSQLiteResult::prepare(), qt_set_x11_resources(), read_xbm_header(), QDirPrivate::splitFilters(), and writeIncludeFile().
void writeIncludeFile | ( | const QSet< QString > & | variables, |
const QList< QStringPair > & | brushes, | ||
const QList< QStringPair > & | compositionModes, | ||
const QList< QStringPair > & | masks, | ||
const QMap< QString, QMap< QString, QString > > & | compiled | ||
) |
Definition at line 272 of file generator.cpp.
Referenced by main().
void writeTypesEnum | ( | QTextStream & | out, |
const char * | name, | ||
const QList< QStringPair > & | s | ||
) |
Definition at line 260 of file generator.cpp.
Referenced by writeIncludeFile().
void writeVariablesEnum | ( | QTextStream & | out, |
const char * | name, | ||
const QSet< QString > & | s | ||
) |
Definition at line 248 of file generator.cpp.
Referenced by writeIncludeFile().