diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-08-02 19:23:46 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-08-02 19:23:46 +0000 |
commit | eba47f8f0637f451e21348187591e1f1fd58ac74 (patch) | |
tree | 448f10b95c656604acc331a3236c1e59bde5c1ad /ksvg/ecma/ksvg_helper.cpp | |
parent | c7e8736c69373f48b0401319757c742e8607431a (diff) | |
download | tdegraphics-eba47f8f0637f451e21348187591e1f1fd58ac74.tar.gz tdegraphics-eba47f8f0637f451e21348187591e1f1fd58ac74.zip |
TQt conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1158446 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'ksvg/ecma/ksvg_helper.cpp')
-rw-r--r-- | ksvg/ecma/ksvg_helper.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/ksvg/ecma/ksvg_helper.cpp b/ksvg/ecma/ksvg_helper.cpp index 597f9a06..24f05101 100644 --- a/ksvg/ecma/ksvg_helper.cpp +++ b/ksvg/ecma/ksvg_helper.cpp @@ -37,7 +37,7 @@ KJS::UString::UString(const DOM::DOMString &d) rep = KJS::UString::Rep::create(dat, len); } -KJS::UString::UString(const QString &d) +KJS::UString::UString(const TQString &d) { unsigned int len = d.length(); KJS::UChar *dat = new UChar[len]; @@ -45,24 +45,24 @@ KJS::UString::UString(const QString &d) rep = KJS::UString::Rep::create(dat, len); } -QString KJS::UString::qstring() const +TQString KJS::UString::qstring() const { - return QString(reinterpret_cast<QChar *>(const_cast<KJS::UChar *>(data())), size()); + return TQString(reinterpret_cast<TQChar *>(const_cast<KJS::UChar *>(data())), size()); } DOM::DOMString KJS::UString::string() const { - return DOM::DOMString(reinterpret_cast<QChar *>(const_cast<KJS::UChar *>(data())), size()); + return DOM::DOMString(reinterpret_cast<TQChar *>(const_cast<KJS::UChar *>(data())), size()); } DOM::DOMString KJS::Identifier::string() const { - return DOM::DOMString((QChar*) data(), size()); + return DOM::DOMString((TQChar*) data(), size()); } -QString KJS::Identifier::qstring() const +TQString KJS::Identifier::qstring() const { - return QString((QChar*) data(), size()); + return TQString((TQChar*) data(), size()); } // vim:ts=4:noet |