summaryrefslogtreecommitdiffstats
path: root/kjsembed/slotutils.h
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-05 16:20:48 -0600
committerTimothy Pearson <[email protected]>2011-12-05 16:20:48 -0600
commite63beeb5bdb82987b1e00bc35178667786fbad48 (patch)
treeab77b6ac830b7944d5d1eb9ce8f81feb8fdab948 /kjsembed/slotutils.h
parent67557a2b56c0678c22ab1b00c4fd0224c5e9ed99 (diff)
downloadtdebindings-e63beeb5bdb82987b1e00bc35178667786fbad48.tar.gz
tdebindings-e63beeb5bdb82987b1e00bc35178667786fbad48.zip
Fix incorrect conversion
Diffstat (limited to 'kjsembed/slotutils.h')
-rw-r--r--kjsembed/slotutils.h56
1 files changed, 28 insertions, 28 deletions
diff --git a/kjsembed/slotutils.h b/kjsembed/slotutils.h
index 5119d35f..3c7b3bea 100644
--- a/kjsembed/slotutils.h
+++ b/kjsembed/slotutils.h
@@ -26,7 +26,7 @@
#include <kjs/object.h>
#include <kjsembed/jsbinding.h>
-class TTQObject;
+class TQObject;
namespace KJS { class Interpreter; }
@@ -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 TTQString &sig );
+ static int findSignature( const TQString &sig );
/** Connects the specified signal to the specified slot. */
- static bool connect( TTQObject *sender, const char *sig, TTQObject *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,
- TTQObject *sender, const char *sig, TTQObject *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 TQUObject. */
static void implantInt( KJS::ExecState *exec, TQUObject *uo, const KJS::Value &v );
- /** Implant a TTQString into a TQUObject. */
+ /** Implant a TQString into a TQUObject. */
static void implantTQString( KJS::ExecState *exec, TQUObject *uo, const KJS::Value &v );
/** Implant a bool into a TQUObject. */
static void implantBool( KJS::ExecState *exec, TQUObject *uo, const KJS::Value &v );
@@ -109,32 +109,32 @@ public:
/** Implant a KURL into a TQUObject. */
static void implantURL( KJS::ExecState *exec, TQUObject *uo, const KJS::Value &v, KURL *url );
- /** Implant a TTQColor into a TQUObject. */
- static void implantColor( KJS::ExecState *exec, TQUObject *uo, const KJS::Value &v, TTQColor *color );
- /** Implant a TTQPoint into a TQUObject. */
- static void implantPoint( KJS::ExecState *exec, TQUObject *uo, const KJS::Value &v, TTQPoint *point );
- /** Implant a TTQRect into a TQUObject. */
- static void implantRect( KJS::ExecState *exec, TQUObject *uo, const KJS::Value &v, TTQRect *rect );
- /** Implant a TTQSize into a TQUObject. */
- static void implantSize( KJS::ExecState *exec, TQUObject *uo, const KJS::Value &v, TTQSize *size );
-
- /** Implant a TTQDate into a TQUObject. */
- static void implantDate( KJS::ExecState *exec, TQUObject *uo, const KJS::Value &v, TTQDate *date );
- /** Implant a TTQTime into a TQUObject. */
- static void implantTime( KJS::ExecState *exec, TQUObject *uo, const KJS::Value &v, TTQTime *time );
- /** Implant a TTQDateTime into a TQUObject. */
- static void implantDateTime( KJS::ExecState *exec, TQUObject *uo, const KJS::Value &v, TTQDateTime *datetime );
- /** Implant a TTQPixmap into a TQUObject. */
- static void implantPixmap( KJS::ExecState *exec, TQUObject *uo, const KJS::Value &v, TTQPixmap *pix );
+ /** Implant a TQColor into a TQUObject. */
+ static void implantColor( KJS::ExecState *exec, TQUObject *uo, const KJS::Value &v, TQColor *color );
+ /** Implant a TQPoint into a TQUObject. */
+ static void implantPoint( KJS::ExecState *exec, TQUObject *uo, const KJS::Value &v, TQPoint *point );
+ /** Implant a TQRect into a TQUObject. */
+ static void implantRect( KJS::ExecState *exec, TQUObject *uo, const KJS::Value &v, TQRect *rect );
+ /** Implant a TQSize into a TQUObject. */
+ static void implantSize( KJS::ExecState *exec, TQUObject *uo, const KJS::Value &v, TQSize *size );
+
+ /** Implant a TQDate into a TQUObject. */
+ static void implantDate( KJS::ExecState *exec, TQUObject *uo, const KJS::Value &v, TQDate *date );
+ /** Implant a TQTime into a TQUObject. */
+ static void implantTime( KJS::ExecState *exec, TQUObject *uo, const KJS::Value &v, TQTime *time );
+ /** Implant a TQDateTime into a TQUObject. */
+ static void implantDateTime( KJS::ExecState *exec, TQUObject *uo, const KJS::Value &v, TQDateTime *datetime );
+ /** Implant a TQPixmap into a TQUObject. */
+ static void implantPixmap( KJS::ExecState *exec, TQUObject *uo, const KJS::Value &v, TQPixmap *pix );
/**
* Implant a value proxy into a TQUObject. 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, TQUObject *uo,
- const KJS::Value &v, const TTQString &clazz);
+ const KJS::Value &v, const TQString &clazz);
- /** Implant a TTQVariant into a TQUObject. */
+ /** Implant a TQVariant into a TQUObject. */
static bool implantTQVariant( KJS::ExecState *exec, TQUObject *uo,const KJS::Value &v);
/**
@@ -143,17 +143,17 @@ public:
* to succeed.
*/
static bool implantOpaqueProxy( KJS::ExecState *, TQUObject *uo,
- const KJS::Value &v, const TTQString &clazz );
+ const KJS::Value &v, const TQString &clazz );
/**
* Implant an object proxy into a TQUObject. The object proxy'd by the specified value
* must inherit the class specified for the converstion to succeed.
*/
static bool implantObjectProxy( KJS::ExecState *exec, TQUObject *uo,
- const KJS::Value &v, const TTQString &clazz );
- /** Implant a TTQString into a TQUObject. */
+ const KJS::Value &v, const TQString &clazz );
+ /** Implant a TQString into a TQUObject. */
static void implantStringList(KJS::ExecState *exec, TQUObject *uo,
- const KJS::Value &v, TTQStringList *lst );
+ const KJS::Value &v, TQStringList *lst );
/** Implant a char* into a TQUObject. */
static void implantCharStar( KJS::ExecState *exec, TQUObject *uo, const KJS::Value &v );