diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:44:01 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:44:01 +0000 |
commit | 479f5f799523bffbcc83dff581a2299c047c6fff (patch) | |
tree | 186aae707ed02aac6c7cab2fb14e97f72aca5e36 /kjsembed/qtbindings/qt_imp.cpp | |
parent | f1dbff6145c98324ff82e34448b7483727e8ace4 (diff) | |
download | tdebindings-479f5f799523bffbcc83dff581a2299c047c6fff.tar.gz tdebindings-479f5f799523bffbcc83dff581a2299c047c6fff.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebindings@1157645 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kjsembed/qtbindings/qt_imp.cpp')
-rw-r--r-- | kjsembed/qtbindings/qt_imp.cpp | 20 |
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); } |