diff options
Diffstat (limited to 'lib/kross/api/dict.cpp')
-rw-r--r-- | lib/kross/api/dict.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/kross/api/dict.cpp b/lib/kross/api/dict.cpp index b9fa5ddc..7084c199 100644 --- a/lib/kross/api/dict.cpp +++ b/lib/kross/api/dict.cpp @@ -22,8 +22,8 @@ using namespace Kross::Api; -Dict::Dict(const QMap<QString, Object::Ptr> value) - : Value< List, QMap<QString, Object::Ptr> >(value) +Dict::Dict(const TQMap<TQString, Object::Ptr> value) + : Value< List, TQMap<TQString, Object::Ptr> >(value) { } @@ -31,16 +31,16 @@ Dict::~Dict() { } -const QString Dict::getClassName() const +const TQString Dict::getClassName() const { return "Kross::Api::Dict"; } -const QString Dict::toString() +const TQString Dict::toString() { - QString s = "["; - QMap<QString, Object::Ptr> list = getValue(); - for(QMap<QString, Object::Ptr>::Iterator it = list.begin(); it != list.end(); ++it) + TQString s = "["; + TQMap<TQString, Object::Ptr> list = getValue(); + for(TQMap<TQString, Object::Ptr>::Iterator it = list.begin(); it != list.end(); ++it) s += "'" + it.key() + "' = '" + it.data()->toString() + "', "; return (s.endsWith(", ") ? s.left(s.length() - 2) : s) + "]"; } |