summaryrefslogtreecommitdiffstats
path: root/kjsembed/kjsembedpart_imp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kjsembed/kjsembedpart_imp.cpp')
-rw-r--r--kjsembed/kjsembedpart_imp.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kjsembed/kjsembedpart_imp.cpp b/kjsembed/kjsembedpart_imp.cpp
index 98c74859..abd28782 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 QString &p )
+KJSEmbedPartImp::KJSEmbedPartImp( KJS::ExecState *exec, KJSEmbedPart *jsp, int mid, const TQString &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 )
{
- QString arg0 = (args.size() > 0) ? args[0].toString(exec).qstring() : QString::null;
-// QString arg1 = (args.size() > 1) ? args[1].toString(exec).qstring() : QString::null;
+ TQString arg0 = (args.size() > 0) ? args[0].toString(exec).qstring() : TQString::null;
+// TQString arg1 = (args.size() > 1) ? args[1].toString(exec).qstring() : TQString::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;
}
- QString msg = i18n( "KJSEmbedPartImp has no method with id '%1'." ).arg( id );
+ TQString msg = i18n( "KJSEmbedPartImp has no method with id '%1'." ).arg( id );
return throwError(exec, msg,KJS::ReferenceError);
}