summaryrefslogtreecommitdiffstats
path: root/xparts/src/interfaces
diff options
context:
space:
mode:
Diffstat (limited to 'xparts/src/interfaces')
-rw-r--r--xparts/src/interfaces/xbrowserextension.h4
-rw-r--r--xparts/src/interfaces/xbrowsersignals.h4
-rw-r--r--xparts/src/interfaces/xpart.h8
-rw-r--r--xparts/src/interfaces/xparthost.h10
-rw-r--r--xparts/src/interfaces/xpartmanager.h4
5 files changed, 15 insertions, 15 deletions
diff --git a/xparts/src/interfaces/xbrowserextension.h b/xparts/src/interfaces/xbrowserextension.h
index 57297441..b097ab65 100644
--- a/xparts/src/interfaces/xbrowserextension.h
+++ b/xparts/src/interfaces/xbrowserextension.h
@@ -10,8 +10,8 @@ class XBrowserExtension : public DCOPObject
k_dcop:
virtual void setBrowserSignals( const DCOPRef &ref) = 0;
- virtual QByteArray saveState() = 0;
- virtual void restoreState( QByteArray state ) = 0;
+ virtual TQByteArray saveState() = 0;
+ virtual void restoreState( TQByteArray state ) = 0;
};
#endif
diff --git a/xparts/src/interfaces/xbrowsersignals.h b/xparts/src/interfaces/xbrowsersignals.h
index 6d41d28b..a4869e02 100644
--- a/xparts/src/interfaces/xbrowsersignals.h
+++ b/xparts/src/interfaces/xbrowsersignals.h
@@ -8,8 +8,8 @@ class XBrowserSignals : public DCOPObject
K_DCOP
k_dcop:
- virtual ASYNC openURLRequest( const QCString &url) = 0;
- virtual ASYNC createNewWindow( const QCString &url ) = 0;
+ virtual ASYNC openURLRequest( const TQCString &url) = 0;
+ virtual ASYNC createNewWindow( const TQCString &url ) = 0;
};
#endif
diff --git a/xparts/src/interfaces/xpart.h b/xparts/src/interfaces/xpart.h
index 7722f5fb..1d323a5d 100644
--- a/xparts/src/interfaces/xpart.h
+++ b/xparts/src/interfaces/xpart.h
@@ -3,7 +3,7 @@
#include <dcopobject.h>
#include <dcopref.h>
-#include <qglobal.h>
+#include <tqglobal.h>
class XPart : public DCOPObject
{
@@ -17,7 +17,7 @@ k_dcop:
virtual void show() = 0;
/** sent by the XPartHost to request url opening */
- virtual bool openURL( const QCString& url ) = 0;
+ virtual bool openURL( const TQCString& url ) = 0;
/** sent by the XPartHost to close the url */
virtual bool closeURL() = 0;
@@ -26,10 +26,10 @@ k_dcop:
* XPartHost::createActions()) has been activated. Name is the name of the
* action, state is used with Toggle actions to precise the current state.
*/
- virtual ASYNC activateAction( const QString &name, int state ) = 0;
+ virtual ASYNC activateAction( const TQString &name, int state ) = 0;
/** Are extentions available -> browser extension / TextEditor ? */
- virtual DCOPRef queryExtension( const QCString& extension ) = 0;
+ virtual DCOPRef queryExtension( const TQCString& extension ) = 0;
};
diff --git a/xparts/src/interfaces/xparthost.h b/xparts/src/interfaces/xparthost.h
index 3d1d95f4..75c6f4e0 100644
--- a/xparts/src/interfaces/xparthost.h
+++ b/xparts/src/interfaces/xparthost.h
@@ -8,7 +8,7 @@ class XPartHost : public DCOPObject
{
K_DCOP
public:
- XPartHost(QCString name) : DCOPObject(name) {}
+ XPartHost(TQCString name) : DCOPObject(name) {}
k_dcop:
@@ -20,17 +20,17 @@ k_dcop:
/** The XPart informs its host about its available actions.
* the actions are sent to the XPart using XPart::activateAction */
- virtual ASYNC createActions( const QCString &xmlActions ) = 0;
+ virtual ASYNC createActions( const TQCString &xmlActions ) = 0;
/** DCOP signal emitted by the XPart and received here, to be
* forwarded to the KPartHost. See KParts documentation for
* more details. */
- virtual ASYNC setWindowCaption( const QString &caption ) = 0;
+ virtual ASYNC setWindowCaption( const TQString &caption ) = 0;
/** DCOP signal emitted by the XPart and received here, to be
* forwarded to the KPartHost. See KParts documentation for
* more details. */
- virtual ASYNC setStatusBarText( const QString &text ) = 0;
+ virtual ASYNC setStatusBarText( const TQString &text ) = 0;
/** DCOP signal emitted by the XPart and received here, to be
@@ -46,7 +46,7 @@ k_dcop:
/** DCOP signal emitted by the XPart and received here, to be
* forwarded to the KPartHost. See KParts documentation for
* more details. */
- virtual ASYNC canceled( const QString &errMsg ) = 0;
+ virtual ASYNC canceled( const TQString &errMsg ) = 0;
};
diff --git a/xparts/src/interfaces/xpartmanager.h b/xparts/src/interfaces/xpartmanager.h
index a172ee3f..25a341f8 100644
--- a/xparts/src/interfaces/xpartmanager.h
+++ b/xparts/src/interfaces/xpartmanager.h
@@ -2,7 +2,7 @@
#define __xkparts_partmanager_h__
#include <dcopobject.h>
-#include <qglobal.h>
+#include <tqglobal.h>
class XKPartManager : public DCOPObject
{
@@ -10,7 +10,7 @@ class XKPartManager : public DCOPObject
k_dcop:
/** Query a XPart able to handle a given mimetype */
- virtual DCOPRef createPart( QString servicetype ) = 0;
+ virtual DCOPRef createPart( TQString servicetype ) = 0;
/** Delete a previously created XPart */
virtual void deletePart( DCOPRef ref ) = 0;