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/slotutils.h | |
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/slotutils.h')
-rw-r--r-- | kjsembed/slotutils.h | 54 |
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 ); |