summaryrefslogtreecommitdiffstats
path: root/kjsembed/bindings/point_imp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kjsembed/bindings/point_imp.cpp')
-rw-r--r--kjsembed/bindings/point_imp.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kjsembed/bindings/point_imp.cpp b/kjsembed/bindings/point_imp.cpp
index 9eeb5c6a..fff93aad 100644
--- a/kjsembed/bindings/point_imp.cpp
+++ b/kjsembed/bindings/point_imp.cpp
@@ -21,7 +21,7 @@
#include <kjsembed/global.h>
#include "point_imp.h"
-#include <qpoint.h>
+#include <tqpoint.h>
#include <kjsembed/jsvalueproxy.h>
#include <kjsembed/jsbinding.h>
@@ -38,7 +38,7 @@ namespace Bindings {
}
void Point::addBindings( KJS::ExecState *exec, KJS::Object &object ) {
- if( !JSProxy::checkType(object, JSProxy::ValueProxy, "QPoint") ) return;
+ if( !JSProxy::checkType(object, JSProxy::ValueProxy, "TQPoint") ) 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, "QPoint") ) return KJS::Value();
+ if( !JSProxy::checkType(self, JSProxy::ValueProxy, "TQPoint") ) return KJS::Value();
JSValueProxy *vp = JSProxy::toValueProxy( self.imp() );
KJS::Value retValue = KJS::Value();
- QPoint val = vp->toVariant().toPoint();
+ TQPoint val = vp->toVariant().toPoint();
switch ( mid ) {
case Methodx:
@@ -75,7 +75,7 @@ namespace Bindings {
retValue = KJS::Number(val.manhattanLength());
break;
default:
- QString msg = i18n( "Point has no method %1" ).arg(mid);
+ TQString msg = i18n( "Point has no method %1" ).arg(mid);
return throwError(exec, msg);
break;
}