summaryrefslogtreecommitdiffstats
path: root/kjsembed/kjsembedpart_imp.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-05 15:55:57 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-05 15:55:57 -0600
commit9ba04742771370f59740e32e11c5f3a1e6a1b70a (patch)
treec81c34dae2b3b1ea73801bf18a960265dc4207f7 /kjsembed/kjsembedpart_imp.cpp
parent1a96c45b22d01378202d9dc7ed9c47acd30f966e (diff)
downloadtdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.tar.gz
tdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.zip
Initial TQt conversion
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 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);
}