diff options
Diffstat (limited to 'src/options.cpp')
-rw-r--r-- | src/options.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/options.cpp b/src/options.cpp index e3aaa71..6945c11 100644 --- a/src/options.cpp +++ b/src/options.cpp @@ -13,16 +13,16 @@ #include <map> using namespace std; -#include <qstring.h> +#include <tqstring.h> Options::Options(): options() { } -void Options::setValue(QString key, QString value) { +void Options::setValue(TQString key, TQString value) { if(options.find(key)!=options.end()) options.erase(options.find(key)); - map<QString,QString>::value_type v(key,value); + map<TQString,TQString>::value_type v(key,value); options.insert(v); } @@ -34,7 +34,7 @@ void Options::clear() { options.clear(); } -QString Options::operator[](QString key) { +TQString Options::operator[](TQString key) { if(options.find(key)!=options.end()) return options[key]; else @@ -80,7 +80,7 @@ void Options::defaultOptions(){ } void Options::debug() { - for(map<QString,QString>::iterator i=options.begin(); i!=options.end(); i++) + for(map<TQString,TQString>::iterator i=options.begin(); i!=options.end(); i++) cout << (*i).first << "=" << (*i).second << endl; } |