config.h
Go to the documentation of this file.
1 #ifndef CONFIG_H
2 #define CONFIG_H
3 
4 #include <QHash>
5 #include <QString>
6 
7 class Input;
8 class QTextStream;
9 class QTextCodec;
10 
11 bool parseConfig(
12  const QString &fileName,
13  const QHash<QString,Input *> &options
14  );
15 
16 void writeStringValue(QTextStream &t,QTextCodec *codec,const QString &s);
17 
18 // directly copied from ../../src/config.h to be consistent
19 enum
20 {
21  /*! Maximum length of an option in the config file. Used for
22  * alignment purposes.
23  */
25 };
26 
27 #endif
The QString class provides an abstraction of Unicode text and the classic C null-terminated char arra...
Definition: qstring.h:350
fileName
Definition: dumpTree.py:9
bool parseConfig(const QString &fileName, const QHash< QString, Input * > &options)
Definition: input.h:9
The QTextStream class provides basic functions for reading and writing text using a QIODevice...
Definition: qtextstream.h:53
void writeStringValue(QTextStream &t, QTextCodec *codec, const QString &s)
Provides conversion between text encodings.
Definition: qtextcodec.h:62
static QCString * s
Definition: config.cpp:1042