diff options
Diffstat (limited to 'kjsembed/kjsembedpart_imp.cpp')
-rw-r--r-- | kjsembed/kjsembedpart_imp.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kjsembed/kjsembedpart_imp.cpp b/kjsembed/kjsembedpart_imp.cpp index abd28782..599a3f04 100644 --- a/kjsembed/kjsembedpart_imp.cpp +++ b/kjsembed/kjsembedpart_imp.cpp @@ -29,7 +29,7 @@ namespace KJSEmbed { namespace Bindings { -KJSEmbedPartImp::KJSEmbedPartImp( KJS::ExecState *exec, KJSEmbedPart *jsp, int mid, const TQString &p ) +KJSEmbedPartImp::KJSEmbedPartImp( KJS::ExecState *exec, KJSEmbedPart *jsp, int mid, const TTQString &p ) : JSProxyImp(exec), part(jsp), id(mid), param(p) { } @@ -38,8 +38,8 @@ KJSEmbedPartImp::~KJSEmbedPartImp() {} KJS::Value KJSEmbedPartImp::call( KJS::ExecState *exec, KJS::Object &/*self*/, const KJS::List &args ) { - TQString arg0 = (args.size() > 0) ? args[0].toString(exec).qstring() : TQString::null; -// TQString arg1 = (args.size() > 1) ? args[1].toString(exec).qstring() : TQString::null; + TTQString arg0 = (args.size() > 0) ? args[0].toString(exec).qstring() : TTQString::null; +// TTQString arg1 = (args.size() > 1) ? args[1].toString(exec).qstring() : TTQString::null; if ( id == MethodCreate ) { return part->factory()->create( exec, arg0.latin1(), args.copyTail() ); @@ -48,7 +48,7 @@ KJS::Value KJSEmbedPartImp::call( KJS::ExecState *exec, KJS::Object &/*self*/, c kdWarning() << "KJSEmbedPartImp has no method " << id << endl; } - TQString msg = i18n( "KJSEmbedPartImp has no method with id '%1'." ).arg( id ); + TTQString msg = i18n( "KJSEmbedPartImp has no method with id '%1'." ).arg( id ); return throwError(exec, msg,KJS::ReferenceError); } |