From 9ba04742771370f59740e32e11c5f3a1e6a1b70a Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 5 Dec 2011 15:55:57 -0600 Subject: Initial TQt conversion --- kjsembed/bindwizard/Doxyfile.in | 8 +- kjsembed/bindwizard/binding_wizard.ui | 32 ++--- kjsembed/bindwizard/doxygen2imp_cpp.xsl | 206 ++++++++++++++++---------------- 3 files changed, 123 insertions(+), 123 deletions(-) (limited to 'kjsembed/bindwizard') diff --git a/kjsembed/bindwizard/Doxyfile.in b/kjsembed/bindwizard/Doxyfile.in index 291c78cd..d9574b64 100644 --- a/kjsembed/bindwizard/Doxyfile.in +++ b/kjsembed/bindwizard/Doxyfile.in @@ -171,7 +171,7 @@ SHOW_INCLUDE_FILES = YES # If the JAVADOC_AUTOBRIEF tag is set to YES then Doxygen # will interpret the first line (until the first dot) of a JavaDoc-style # comment as the brief description. If set to NO, the JavaDoc -# comments will behave just like the Qt-style comments (thus requiring an +# comments will behave just like the Qt-style comments (thus retquiring an # explict @brief command for a brief description. JAVADOC_AUTOBRIEF = YES @@ -265,10 +265,10 @@ SHOW_USED_FILES = YES # configuration options related to warning and progress messages #--------------------------------------------------------------------------- -# The QUIET tag can be used to turn on/off the messages that are generated +# The TQUIET tag can be used to turn on/off the messages that are generated # by doxygen. Possible values are YES and NO. If left blank NO is used. -QUIET = YES +TTQUIET = YES # The WARNINGS tag can be used to turn on/off the warning messages that are # generated by doxygen. Possible values are YES and NO. If left blank @@ -470,7 +470,7 @@ ENUM_VALUES_PER_LINE = 4 # If the GENERATE_TREEVIEW tag is set to YES, a side panel will be # generated containing a tree-like index structure (just like the one that # is generated for HTML Help). For this to work a browser that supports -# JavaScript and frames is required (for instance Netscape 4.0+ +# JavaScript and frames is retquired (for instance Netscape 4.0+ # or Internet explorer 4.0+). GENERATE_TREEVIEW = NO diff --git a/kjsembed/bindwizard/binding_wizard.ui b/kjsembed/bindwizard/binding_wizard.ui index f6697bd3..9861a3d7 100644 --- a/kjsembed/bindwizard/binding_wizard.ui +++ b/kjsembed/bindwizard/binding_wizard.ui @@ -1,6 +1,6 @@ binding_wizard - + binding_wizard @@ -23,7 +23,7 @@ KJSEmbed Binding Wizard - + WizardPage @@ -34,7 +34,7 @@ unnamed - + textLabel1 @@ -85,7 +85,7 @@ files of the C++ classes you want to make available to Javascript are located. - + textLabel3 @@ -93,7 +93,7 @@ files of the C++ classes you want to make available to Javascript are located.Header files: - + textLabel2 @@ -101,7 +101,7 @@ files of the C++ classes you want to make available to Javascript are located.Plugin name: - + textLabel2_2 @@ -188,7 +188,7 @@ files of the C++ classes you want to make available to Javascript are located. - + WizardPage @@ -250,7 +250,7 @@ files of the C++ classes you want to make available to Javascript are located. - + analysing_label @@ -275,7 +275,7 @@ files of the C++ classes you want to make available to Javascript are located. - + layout1 @@ -296,7 +296,7 @@ files of the C++ classes you want to make available to Javascript are located. - + analyse_status @@ -314,7 +314,7 @@ files of the C++ classes you want to make available to Javascript are located. - + WizardPage @@ -325,7 +325,7 @@ files of the C++ classes you want to make available to Javascript are located. unnamed - + textLabel6 @@ -393,7 +393,7 @@ files of the C++ classes you want to make available to Javascript are located. - + WizardPage @@ -404,7 +404,7 @@ files of the C++ classes you want to make available to Javascript are located. unnamed - + output @@ -423,14 +423,14 @@ files of the C++ classes you want to make available to Javascript are located. - + WizardPage Results - + textLabel3_2 diff --git a/kjsembed/bindwizard/doxygen2imp_cpp.xsl b/kjsembed/bindwizard/doxygen2imp_cpp.xsl index c65b5650..23729848 100644 --- a/kjsembed/bindwizard/doxygen2imp_cpp.xsl +++ b/kjsembed/bindwizard/doxygen2imp_cpp.xsl @@ -27,7 +27,7 @@ #include <kjsembed/jsbinding.h> #include <> -#include "_imp.h" +#include "_imp.h" /** * Namespace containing the KJSEmbed library. @@ -60,7 +60,7 @@ void Imp::addStaticBindings( KJS::ExecState *exe }; int idx = 0; - QCString lastName; + TQCString lastName; while( methods[idx].name ) { if ( lastName != methods[idx].name ) { @@ -117,7 +117,7 @@ void Imp::addBindings( KJS::ExecState *exec, KJS }; int idx = 0; - QCString lastName; + TQCString lastName; while( methods[idx].name ) { if ( lastName != methods[idx].name ) { @@ -136,7 +136,7 @@ void Imp::addBindings( KJS::ExecState *exec, KJS { JSObjectProxy *ob = JSProxy::toObjectProxy( self.imp() ); if ( ob ) { - QObject *obj = ob->object(); + TQObject *obj = ob->object(); if ( obj ) return dynamic_cast< *>( obj ); } @@ -172,7 +172,7 @@ KJS::Object Imp::construct( KJS::ExecState *exec break; } - QString msg = i18n("Cons has no constructor with id '%1'").arg(id); + TQString msg = i18n("Cons has no constructor with id '%1'").arg(id); KJS::Object err = KJS::Error::create( exec, KJS::ReferenceError, msg.utf8() ); exec->setException( err ); return err; @@ -186,7 +186,7 @@ KJS::Object Imp::construct( KJS::ExecState *exec Constructor_ KJS::Object Imp::( KJS::ExecState *exec, const KJS::List &args ) { - + #if 0 // This constructor has been disabled by the XSL template @@ -195,17 +195,17 @@ KJS::Object Imp:: - - QString arg = extractQString(exec, args, ); + + TQString arg = extractTQString(exec, args, ); - - QString arg = extractQString(exec, args, ); + + TQString arg = extractTQString(exec, args, ); - - QString arg = extractQString(exec, args, ); + + TQString arg = extractTQString(exec, args, ); - - const QCString arg = (args.size() >= ) ? args[].toString(exec).ascii() : 0; + + const TQCString arg = (args.size() >= ) ? args[].toString(exec).ascii() : 0; const char *arg = (args.size() >= ) ? args[].toString(exec).ascii() : 0; @@ -222,48 +222,48 @@ KJS::Object Imp:: bool arg = extractBool(exec, args, ); - - QFont arg = extractQFont(exec, args, ); + + TQFont arg = extractTQFont(exec, args, ); - - QPalette arg = extractQPalette(exec, args, ); + + TQPalette arg = extractTQPalette(exec, args, ); - - QStringList arg = extractQStringList(exec, args, ); + + TQStringList arg = extractTQStringList(exec, args, ); - - QStrList arg = extractQStrList(exec, args, ); + + TQStrList arg = extractTQStrList(exec, args, ); - - QPoint arg = extractQPoint(exec, args, ); + + TQPoint arg = extractTQPoint(exec, args, ); - - QRect arg = extractQRect(exec, args, ); + + TQRect arg = extractTQRect(exec, args, ); - - QSize arg = extractQSize(exec, args, ); + + TQSize arg = extractTQSize(exec, args, ); - - QPixmap arg = extractQPixmap(exec, args, ); + + TQPixmap arg = extractTQPixmap(exec, args, ); - - QImage arg = extractQImage(exec, args, ); + + TQImage arg = extractTQImage(exec, args, ); - - QColor arg = extractQColor(exec, args, ); + + TQColor arg = extractTQColor(exec, args, ); - - QDate arg = extractQDate(exec, args, ); + + TQDate arg = extractTQDate(exec, args, ); - - QTime arg = extractQTime(exec, args, ); + + TQTime arg = extractTQTime(exec, args, ); - - QDateTime arg = extractQDateTime(exec, args, ); + + TQDateTime arg = extractTQDateTime(exec, args, ); - Qt::WFlags arg; // TODO (hack for QCanvasView) + TQt::WFlags arg; // TODO (hack for TQCanvasView) @@ -282,7 +282,7 @@ KJS::Object Imp::, ); - + #endif // This constructor has been disabled by the XSL template } @@ -311,7 +311,7 @@ KJS::Value Imp::call( KJS::ExecState *exec, KJS: break; } - QString msg = i18n( "Imp has no method with id '%1'" ).arg( id ); + TQString msg = i18n( "Imp has no method with id '%1'" ).arg( id ); KJS::Object err = KJS::Error::create( exec, KJS::ReferenceError, msg.utf8() ); exec->setException( err ); return err; @@ -333,17 +333,17 @@ KJS::Value ( KJS::ExecState *exec, KJS::Object - - QString arg = extractQString(exec, args, ); + + TQString arg = extractTQString(exec, args, ); - - QString arg = extractQString(exec, args, ); + + TQString arg = extractTQString(exec, args, ); - - QString arg = extractQString(exec, args, ); + + TQString arg = extractTQString(exec, args, ); - - const QCString arg = (args.size() >= ) ? args[].toString(exec).ascii() : 0; + + const TQCString arg = (args.size() >= ) ? args[].toString(exec).ascii() : 0; const char *arg = (args.size() >= ) ? args[].toString(exec).ascii() : 0; @@ -360,92 +360,92 @@ KJS::Value ( KJS::ExecState *exec, KJS::Object bool arg = extractBool(exec, args, ); - - QFont arg = extractQFont(exec, args, ); + + TQFont arg = extractTQFont(exec, args, ); - - QPalette arg = extractQPalette(exec, args, ); + + TQPalette arg = extractTQPalette(exec, args, ); - - QStringList arg = extractQStringList(exec, args, ); + + TQStringList arg = extractTQStringList(exec, args, ); - - QStrList arg = extractQStrList(exec, args, ); + + TQStrList arg = extractTQStrList(exec, args, ); - - QPoint arg = extractQPoint(exec, args, ); + + TQPoint arg = extractTQPoint(exec, args, ); - - QRect arg = extractQRect(exec, args, ); + + TQRect arg = extractTQRect(exec, args, ); - - QSize arg = extractQSize(exec, args, ); + + TQSize arg = extractTQSize(exec, args, ); - - QPixmap arg = extractQPixmap(exec, args, ); + + TQPixmap arg = extractTQPixmap(exec, args, ); - - QImage arg = extractQImage(exec, args, ); + + TQImage arg = extractTQImage(exec, args, ); - - QColor arg = extractQColor(exec, args, ); + + TQColor arg = extractTQColor(exec, args, ); - - QDate arg = extractQDate(exec, args, ); + + TQDate arg = extractTQDate(exec, args, ); - - QTime arg = extractQTime(exec, args, ); + + TQTime arg = extractTQTime(exec, args, ); - - QDateTime arg = extractQDateTime(exec, args, ); + + TQDateTime arg = extractTQDateTime(exec, args, ); - QComboBox::Policy arg; // TODO (hack for combo box) + TQComboBox::Policy arg; // TODO (hack for combo box) - QFrame::Shape arg; // TODO (hack for frame) + TQFrame::Shape arg; // TODO (hack for frame) - QFrame::Shadow arg; // TODO (hack for frame) + TQFrame::Shadow arg; // TODO (hack for frame) FILE *arg; // TODO (hack for qfile) - QFile::Offset arg; // TODO (hack for qfile) + TQFile::Offset arg; // TODO (hack for qfile) - QFile::EncoderFn arg; // TODO (hack for qfile) + TQFile::EncoderFn arg; // TODO (hack for qfile) - QFile::DecoderFn arg; // TODO (hack for qfile) + TQFile::DecoderFn arg; // TODO (hack for qfile) - QCanvasSprite::FrameAnimationType arg; // TODO (hack for QCanvasSprite) + TQCanvasSprite::FrameAnimationType arg; // TODO (hack for TQCanvasSprite) - Qt::WFlags arg; // TODO (hack for QCanvasView) + TQt::WFlags arg; // TODO (hack for TQCanvasView) - - QByteArray arg; // TODO (hack for qfile) + + TQByteArray arg; // TODO (hack for qfile) - - QPointArray arg; // TODO (hack for qcanvas) + + TQPointArray arg; // TODO (hack for qcanvas) - - QPainter arg; // TODO (hack for qcanvas) + + TQPainter arg; // TODO (hack for qcanvas) - - QPainter arg; // TODO (hack for qcanvas) + + TQPainter arg; // TODO (hack for qcanvas) - - QWMatrix arg; // TODO (hack for qcanvasview) + + TQWMatrix arg; // TODO (hack for qcanvasview) @@ -497,8 +497,8 @@ KJS::Value ( KJS::ExecState *exec, KJS::Object return KJS::Number( ret ); - - QString ret; + + TQString ret; ret = instance->( arg, ); return KJS::String( ret ); @@ -513,18 +513,18 @@ KJS::Value ( KJS::ExecState *exec, KJS::Object - + ret; ret = instance->( arg, ); return convertToValue( exec, ret ); - - QStringList ret; + + TQStringList ret; ret = instance->( arg, ); -- cgit v1.2.1