summaryrefslogtreecommitdiffstats
path: root/kjsembed/bindings/dcop_imp.h
diff options
context:
space:
mode:
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: