diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2013-07-27 16:57:53 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2013-07-27 18:48:46 +0200 |
commit | 7c2bc4b5ce4fc1a72868aa949e9ec49fbe2e7931 (patch) | |
tree | 4655c7263ca5c64d23d10167cb459dd9cb253815 /src/arkollon/rcparser.h | |
parent | 88ea2b6cd4382627fb6efca9cc54825aee881d1e (diff) | |
download | tork-7c2bc4b5ce4fc1a72868aa949e9ec49fbe2e7931.tar.gz tork-7c2bc4b5ce4fc1a72868aa949e9ec49fbe2e7931.zip |
Initial TQt conversion
Diffstat (limited to 'src/arkollon/rcparser.h')
-rw-r--r-- | src/arkollon/rcparser.h | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/src/arkollon/rcparser.h b/src/arkollon/rcparser.h index 8739b0e..71842fa 100644 --- a/src/arkollon/rcparser.h +++ b/src/arkollon/rcparser.h @@ -20,8 +20,8 @@ #ifndef RCPARSER_H #define RCPARSER_H -#include <qstringlist.h> -#include <qmap.h> +#include <ntqstringlist.h> +#include <ntqmap.h> class RcParser { @@ -29,22 +29,22 @@ public: RcParser(); ~RcParser(); - void addSearchDir(QString dir); - bool openFile(QString name); + void addSearchDir(TQString dir); + bool openFile(TQString name); - QStringList sectionList(); - void setSection(QString section); + TQStringList sectionList(); + void setSection(TQString section); - QString readString(QString key, QString def=QString::null); - int readInt(QString key, int def=0); - bool readBool(QString key, bool def=false); - QStringList readList(QString key); + TQString readString(TQString key, TQString def=TQString::null); + int readInt(TQString key, int def=0); + bool readBool(TQString key, bool def=false); + TQStringList readList(TQString key); private: - QStringList dirs; - QString fileName; - QString currentSection; - QMap< QString, QMap< QString, QString> > sections; + TQStringList dirs; + TQString fileName; + TQString currentSection; + TQMap< TQString, TQMap< TQString, TQString> > sections; }; #endif |