diff options
author | Mavridis Philippe <[email protected]> | 2021-01-13 19:30:17 +0200 |
---|---|---|
committer | Mavridis Philippe <[email protected]> | 2021-01-13 19:30:17 +0200 |
commit | 357ddeb8afd82d69ef871c146f4fc8f2c67fb17e (patch) | |
tree | dc3ef0e6fedd64f5fb177c114f72e1515a07cd1b /src/arkollon/rcparser.h | |
parent | c6cbd71bc169ac0e927e52325dbbbcb506abbc73 (diff) | |
download | klamav-357ddeb8afd82d69ef871c146f4fc8f2c67fb17e.tar.gz klamav-357ddeb8afd82d69ef871c146f4fc8f2c67fb17e.zip |
Conversion Qt3->TQt
Signed-off-by: Mavridis Philippe <[email protected]>
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 af8b011..c875aa3 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 <tqstringlist.h> +#include <tqmap.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 |