summaryrefslogtreecommitdiffstats
path: root/kjsembed/qtbindings/qt_imp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kjsembed/qtbindings/qt_imp.cpp')
-rw-r--r--kjsembed/qtbindings/qt_imp.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/kjsembed/qtbindings/qt_imp.cpp b/kjsembed/qtbindings/qt_imp.cpp
index ba72c824..99cae783 100644
--- a/kjsembed/qtbindings/qt_imp.cpp
+++ b/kjsembed/qtbindings/qt_imp.cpp
@@ -1,10 +1,10 @@
-#include <qcstring.h>
-#include <qpalette.h>
-#include <qpixmap.h>
-#include <qfont.h>
+#include <tqcstring.h>
+#include <tqpalette.h>
+#include <tqpixmap.h>
+#include <tqfont.h>
#include <kjs/object.h>
@@ -13,7 +13,7 @@
#include <kjsembed/jsopaqueproxy.h>
#include <kjsembed/jsbinding.h>
-#include <qnamespace.h>
+#include <tqnamespace.h>
#include "qt_imp.h"
/**
@@ -41,7 +41,7 @@ void QtImp::addStaticBindings( KJS::ExecState *exec, KJS::Object &object )
};
int idx = 0;
- QCString lastName;
+ TQCString lastName;
while( methods[idx].name ) {
if ( lastName != methods[idx].name ) {
@@ -705,7 +705,7 @@ void QtImp::addBindings( KJS::ExecState *exec, KJS::Object &object )
};
int idx = 0;
- QCString lastName;
+ TQCString lastName;
while( methods[idx].name ) {
if ( lastName != methods[idx].name ) {
@@ -724,7 +724,7 @@ Qt *QtImp::toQt( KJS::Object &self )
{
JSObjectProxy *ob = JSProxy::toObjectProxy( self.imp() );
if ( ob ) {
- QObject *obj = ob->object();
+ TQObject *obj = ob->object();
if ( obj )
return dynamic_cast<Qt *>( obj );
}
@@ -750,7 +750,7 @@ KJS::Object QtImp::construct( KJS::ExecState *exec, const KJS::List &args )
break;
}
- QString msg = i18n("QtCons has no constructor with id '%1'.").arg(id);
+ TQString msg = i18n("QtCons has no constructor with id '%1'.").arg(id);
return throwError(exec, msg,KJS::ReferenceError);
}
@@ -765,7 +765,7 @@ KJS::Value QtImp::call( KJS::ExecState *exec, KJS::Object &self, const KJS::List
break;
}
- QString msg = i18n( "QtImp has no method with id '%1'." ).arg( id );
+ TQString msg = i18n( "QtImp has no method with id '%1'." ).arg( id );
return throwError(exec, msg,KJS::ReferenceError);
}