summaryrefslogtreecommitdiffstats
path: root/kjsembed/bindings/dcop_imp.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:44:01 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:44:01 +0000
commit479f5f799523bffbcc83dff581a2299c047c6fff (patch)
tree186aae707ed02aac6c7cab2fb14e97f72aca5e36 /kjsembed/bindings/dcop_imp.h
parentf1dbff6145c98324ff82e34448b7483727e8ace4 (diff)
downloadtdebindings-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/bindings/dcop_imp.h')
-rw-r--r--kjsembed/bindings/dcop_imp.h34
1 files changed, 17 insertions, 17 deletions
diff --git a/kjsembed/bindings/dcop_imp.h b/kjsembed/bindings/dcop_imp.h
index 56466a11..6a821028 100644
--- a/kjsembed/bindings/dcop_imp.h
+++ b/kjsembed/bindings/dcop_imp.h
@@ -30,8 +30,8 @@
class DCOPClient;
#include <kdatastream.h>
-#include <qvariant.h>
-#include <qstring.h>
+#include <tqvariant.h>
+#include <tqstring.h>
namespace KJS
{
@@ -48,19 +48,19 @@ class JSDCOPInterfacerLoader : public JSBindingBase
};
/**
-* QObject Binding for a DCOP interface
+* TQObject Binding for a DCOP interface
*/
class JSDCOPInterface : public BindingObject, public DCOPObject
{
Q_OBJECT
public:
- JSDCOPInterface( KJS::Interpreter *js, QObject *parent, const char *name=0 );
+ JSDCOPInterface( KJS::Interpreter *js, TQObject *parent, const char *name=0 );
virtual ~JSDCOPInterface();
QCStringList functionsDynamic();
- bool processDynamic (const QCString &fun, const QByteArray &data, QCString &replyType, QByteArray &replyData);
+ bool processDynamic (const TQCString &fun, const TQByteArray &data, TQCString &replyType, TQByteArray &replyData);
public slots:
- void publish(const QString& signature);
+ void publish(const TQString& signature);
private:
QCStringList m_Members;
@@ -123,23 +123,23 @@ public:
/** Invokes the call function. */
virtual KJS::Value call( KJS::ExecState *exec, KJS::Object &self, const KJS::List &args );
- static KJS::Value demarshall( KJS::ExecState * exec, const QCString& type, QDataStream& data);
- static QVariant demarshall( const QCString &type, QDataStream &ds);
- static void marshall( const QVariant& data, const QString &typeName, QByteArray& buffer );
- static QStringList getTypes( const QString& function);
+ static KJS::Value demarshall( KJS::ExecState * exec, const TQCString& type, TQDataStream& data);
+ static TQVariant demarshall( const TQCString &type, TQDataStream &ds);
+ static void marshall( const TQVariant& data, const TQString &typeName, TQByteArray& buffer );
+ static TQStringList getTypes( const TQString& function);
bool attach() const;
bool detach() const;
bool isAttached() const;
- QString dcopStart( const QString& appName, const QStringList& args);
- QStringList registeredApplications();
- QStringList remoteObjects( const QString& remApp);
- QStringList remoteInterfaces( const QString& remApp, const QString& remObj );
- QStringList remoteFunctions( const QString& remApp, const QString& remObj);
- bool connectDCOPSignal (const QString &sender, const QString &senderObj, const QString &signal, const QString &receiverObj, const QString &slot, bool Volatile = false);
- bool disconnectDCOPSignal (const QString &sender, const QString &senderObj, const QString &signal, const QString &receiverObj, const QString &slot);
+ TQString dcopStart( const TQString& appName, const TQStringList& args);
+ TQStringList registeredApplications();
+ TQStringList remoteObjects( const TQString& remApp);
+ TQStringList remoteInterfaces( const TQString& remApp, const TQString& remObj );
+ TQStringList remoteFunctions( const TQString& remApp, const TQString& remObj);
+ bool connectDCOPSignal (const TQString &sender, const TQString &senderObj, const TQString &signal, const TQString &receiverObj, const TQString &slot, bool Volatile = false);
+ bool disconnectDCOPSignal (const TQString &sender, const TQString &senderObj, const TQString &signal, const TQString &receiverObj, const TQString &slot);
KJS::Value dcopCall(KJS::ExecState *exec, KJS::Object &, const KJS::List &args);
KJS::Value dcopSend(KJS::ExecState *exec, KJS::Object &, const KJS::List &args);
private: