summaryrefslogtreecommitdiffstats
path: root/kjsembed/bindings/point_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/bindings/point_imp.cpp
parent1a96c45b22d01378202d9dc7ed9c47acd30f966e (diff)
downloadtdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.tar.gz
tdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.zip
Initial TQt conversion
Diffstat (limited to 'kjsembed/bindings/point_imp.cpp')
-rw-r--r--kjsembed/bindings/point_imp.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kjsembed/bindings/point_imp.cpp b/kjsembed/bindings/point_imp.cpp
index fff93aad..cc9d06af 100644
--- a/kjsembed/bindings/point_imp.cpp
+++ b/kjsembed/bindings/point_imp.cpp
@@ -38,7 +38,7 @@ namespace Bindings {
}
void Point::addBindings( KJS::ExecState *exec, KJS::Object &object ) {
- if( !JSProxy::checkType(object, JSProxy::ValueProxy, "TQPoint") ) return;
+ if( !JSProxy::checkType(object, JSProxy::ValueProxy, "TTQPoint") ) return;
JSProxy::MethodTable methods[] = {
{ Methodx, "x"},
@@ -53,10 +53,10 @@ namespace Bindings {
}
KJS::Value Point::call( KJS::ExecState *exec, KJS::Object &self, const KJS::List &args ) {
- if( !JSProxy::checkType(self, JSProxy::ValueProxy, "TQPoint") ) return KJS::Value();
+ if( !JSProxy::checkType(self, JSProxy::ValueProxy, "TTQPoint") ) return KJS::Value();
JSValueProxy *vp = JSProxy::toValueProxy( self.imp() );
KJS::Value retValue = KJS::Value();
- TQPoint val = vp->toVariant().toPoint();
+ TTQPoint val = vp->toVariant().toPoint();
switch ( mid ) {
case Methodx:
@@ -75,7 +75,7 @@ namespace Bindings {
retValue = KJS::Number(val.manhattanLength());
break;
default:
- TQString msg = i18n( "Point has no method %1" ).arg(mid);
+ TTQString msg = i18n( "Point has no method %1" ).arg(mid);
return throwError(exec, msg);
break;
}