summaryrefslogtreecommitdiffstats
path: root/kjsembed/slotutils.h
diff options
context:
space:
mode:
Diffstat (limited to 'kjsembed/slotutils.h')
-rw-r--r--kjsembed/slotutils.h54
1 files changed, 27 insertions, 27 deletions
diff --git a/kjsembed/slotutils.h b/kjsembed/slotutils.h
index ff43a95a..7043e590 100644
--- a/kjsembed/slotutils.h
+++ b/kjsembed/slotutils.h
@@ -82,13 +82,13 @@ public:
* Returns the method id for the specified slot signature. If there is no match
* then -1 is returned.
*/
- static int findSignature( const QString &sig );
+ static int findSignature( const TQString &sig );
/** Connects the specified signal to the specified slot. */
- static bool connect( QObject *sender, const char *sig, QObject *recv, const char *dest );
+ static bool connect( TQObject *sender, const char *sig, TQObject *recv, const char *dest );
static KJS::Boolean disconnect( KJS::ExecState *exec, KJS::Object &self,
- QObject *sender, const char *sig, QObject *recv, const char *dest );
+ TQObject *sender, const char *sig, TQObject *recv, const char *dest );
static KJS::Value invokeSlot( KJS::ExecState *exec, KJS::Object &self, const KJS::List&args,
JSObjectProxyImp *proxyimp );
@@ -98,7 +98,7 @@ public:
/** Implant an int into a QUObject. */
static void implantInt( KJS::ExecState *exec, QUObject *uo, const KJS::Value &v );
- /** Implant a QString into a QUObject. */
+ /** Implant a TQString into a QUObject. */
static void implantQString( KJS::ExecState *exec, QUObject *uo, const KJS::Value &v );
/** Implant a bool into a QUObject. */
static void implantBool( KJS::ExecState *exec, QUObject *uo, const KJS::Value &v );
@@ -109,32 +109,32 @@ public:
/** Implant a KURL into a QUObject. */
static void implantURL( KJS::ExecState *exec, QUObject *uo, const KJS::Value &v, KURL *url );
- /** Implant a QColor into a QUObject. */
- static void implantColor( KJS::ExecState *exec, QUObject *uo, const KJS::Value &v, QColor *color );
- /** Implant a QPoint into a QUObject. */
- static void implantPoint( KJS::ExecState *exec, QUObject *uo, const KJS::Value &v, QPoint *point );
- /** Implant a QRect into a QUObject. */
- static void implantRect( KJS::ExecState *exec, QUObject *uo, const KJS::Value &v, QRect *rect );
- /** Implant a QSize into a QUObject. */
- static void implantSize( KJS::ExecState *exec, QUObject *uo, const KJS::Value &v, QSize *size );
-
- /** Implant a QDate into a QUObject. */
- static void implantDate( KJS::ExecState *exec, QUObject *uo, const KJS::Value &v, QDate *date );
- /** Implant a QTime into a QUObject. */
- static void implantTime( KJS::ExecState *exec, QUObject *uo, const KJS::Value &v, QTime *time );
- /** Implant a QDateTime into a QUObject. */
- static void implantDateTime( KJS::ExecState *exec, QUObject *uo, const KJS::Value &v, QDateTime *datetime );
- /** Implant a QPixmap into a QUObject. */
- static void implantPixmap( KJS::ExecState *exec, QUObject *uo, const KJS::Value &v, QPixmap *pix );
+ /** Implant a TQColor into a QUObject. */
+ static void implantColor( KJS::ExecState *exec, QUObject *uo, const KJS::Value &v, TQColor *color );
+ /** Implant a TQPoint into a QUObject. */
+ static void implantPoint( KJS::ExecState *exec, QUObject *uo, const KJS::Value &v, TQPoint *point );
+ /** Implant a TQRect into a QUObject. */
+ static void implantRect( KJS::ExecState *exec, QUObject *uo, const KJS::Value &v, TQRect *rect );
+ /** Implant a TQSize into a QUObject. */
+ static void implantSize( KJS::ExecState *exec, QUObject *uo, const KJS::Value &v, TQSize *size );
+
+ /** Implant a TQDate into a QUObject. */
+ static void implantDate( KJS::ExecState *exec, QUObject *uo, const KJS::Value &v, TQDate *date );
+ /** Implant a TQTime into a QUObject. */
+ static void implantTime( KJS::ExecState *exec, QUObject *uo, const KJS::Value &v, TQTime *time );
+ /** Implant a TQDateTime into a QUObject. */
+ static void implantDateTime( KJS::ExecState *exec, QUObject *uo, const KJS::Value &v, TQDateTime *datetime );
+ /** Implant a TQPixmap into a QUObject. */
+ static void implantPixmap( KJS::ExecState *exec, QUObject *uo, const KJS::Value &v, TQPixmap *pix );
/**
* Implant a value proxy into a QUObject. The type specified in the clazz parameter
* must match the type of the proxy'd value for the method to succeed.
*/
static bool implantValueProxy( KJS::ExecState *exec, QUObject *uo,
- const KJS::Value &v, const QString &clazz);
+ const KJS::Value &v, const TQString &clazz);
- /** Implant a QVariant into a QUObject. */
+ /** Implant a TQVariant into a QUObject. */
static bool implantQVariant( KJS::ExecState *exec, QUObject *uo,const KJS::Value &v);
/**
@@ -143,17 +143,17 @@ public:
* to succeed.
*/
static bool implantOpaqueProxy( KJS::ExecState *, QUObject *uo,
- const KJS::Value &v, const QString &clazz );
+ const KJS::Value &v, const TQString &clazz );
/**
* Implant an object proxy into a QUObject. The object proxy'd by the specified value
* must inherit the class specified for the converstion to succeed.
*/
static bool implantObjectProxy( KJS::ExecState *exec, QUObject *uo,
- const KJS::Value &v, const QString &clazz );
- /** Implant a QString into a QUObject. */
+ const KJS::Value &v, const TQString &clazz );
+ /** Implant a TQString into a QUObject. */
static void implantStringList(KJS::ExecState *exec, QUObject *uo,
- const KJS::Value &v, QStringList *lst );
+ const KJS::Value &v, TQStringList *lst );
/** Implant a char* into a QUObject. */
static void implantCharStar( KJS::ExecState *exec, QUObject *uo, const KJS::Value &v );