Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
config.cpp File Reference

(4d59b4ca8137180a01e85fbfb49e9afe6266f7da)

#include "config.h"
#include "utilities.h"
#include <QtCore/qdir.h>
#include <QtCore/qfile.h>
#include <QtCore/qtemporaryfile.h>
#include <QtCore/qtextstream.h>
#include <QtCore/qvariant.h>
#include <QtCore/qregularexpression.h>
+ Include dependency graph for config.cpp:

Go to the source code of this file.

Classes

class  MetaStackEntry
 An entry in a stack, where each entry is a list of string values. More...
 
class  MetaStack
 This class maintains a stack of values of config file variables. More...
 

Macros

#define SET(opt, test)
 
#define SKIP_CHAR()
 
#define SKIP_SPACES()
 
#define PUT_CHAR()
 

Functions

QString ConfigStrings::PRODUCTNAME QStringLiteral ("productname")
 
 Q_DECLARE_TYPEINFO (MetaStackEntry, Q_RELOCATABLE_TYPE)
 

Macro Definition Documentation

◆ PUT_CHAR

#define PUT_CHAR ( )
Value:
word += c; \
SKIP_CHAR();
const GLubyte * c

◆ SET

#define SET ( opt,
test )
Value:
setListFlag(opt, m_parser.isSet(m_parser.test))
QStyleOptionButton opt

◆ SKIP_CHAR

#define SKIP_CHAR ( )
Value:
do { \
location.advance(c); \
++i; \
c = text.at(i); \
cc = c.unicode(); \
} while (0)
const QChar at(qsizetype i) const
Returns the character at the given index position in the string.
Definition qstring.h:1235
QString text
[12]
GLint location

◆ SKIP_SPACES

#define SKIP_SPACES ( )
Value:
while (c.isSpace() && cc != '\n') \
SKIP_CHAR()

Function Documentation

◆ Q_DECLARE_TYPEINFO()

Q_DECLARE_TYPEINFO ( MetaStackEntry ,
Q_RELOCATABLE_TYPE  )

◆ QStringLiteral()

QString ConfigStrings::PRODUCTNAME QStringLiteral ( "productname" )