From 9ba04742771370f59740e32e11c5f3a1e6a1b70a Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 5 Dec 2011 15:55:57 -0600 Subject: Initial TQt conversion --- xparts/src/interfaces/xbrowserextension.h | 4 ++-- xparts/src/interfaces/xbrowsersignals.h | 4 ++-- xparts/src/interfaces/xpart.h | 6 +++--- xparts/src/interfaces/xparthost.h | 10 +++++----- xparts/src/interfaces/xpartmanager.h | 2 +- 5 files changed, 13 insertions(+), 13 deletions(-) (limited to 'xparts/src/interfaces') diff --git a/xparts/src/interfaces/xbrowserextension.h b/xparts/src/interfaces/xbrowserextension.h index b097ab65..b4be1224 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 TQByteArray saveState() = 0; - virtual void restoreState( TQByteArray state ) = 0; + virtual TTQByteArray saveState() = 0; + virtual void restoreState( TTQByteArray state ) = 0; }; #endif diff --git a/xparts/src/interfaces/xbrowsersignals.h b/xparts/src/interfaces/xbrowsersignals.h index a4869e02..9b6704ab 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 TQCString &url) = 0; - virtual ASYNC createNewWindow( const TQCString &url ) = 0; + virtual ASYNC openURLRequest( const TTQCString &url) = 0; + virtual ASYNC createNewWindow( const TTQCString &url ) = 0; }; #endif diff --git a/xparts/src/interfaces/xpart.h b/xparts/src/interfaces/xpart.h index 1d323a5d..8b2e3a3c 100644 --- a/xparts/src/interfaces/xpart.h +++ b/xparts/src/interfaces/xpart.h @@ -17,7 +17,7 @@ k_dcop: virtual void show() = 0; /** sent by the XPartHost to request url opening */ - virtual bool openURL( const TQCString& url ) = 0; + virtual bool openURL( const TTQCString& 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 TQString &name, int state ) = 0; + virtual ASYNC activateAction( const TTQString &name, int state ) = 0; /** Are extentions available -> browser extension / TextEditor ? */ - virtual DCOPRef queryExtension( const TQCString& extension ) = 0; + virtual DCOPRef queryExtension( const TTQCString& extension ) = 0; }; diff --git a/xparts/src/interfaces/xparthost.h b/xparts/src/interfaces/xparthost.h index 75c6f4e0..3cbede0f 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(TQCString name) : DCOPObject(name) {} + XPartHost(TTQCString 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 TQCString &xmlActions ) = 0; + virtual ASYNC createActions( const TTQCString &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 TQString &caption ) = 0; + virtual ASYNC setWindowCaption( const TTQString &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 TQString &text ) = 0; + virtual ASYNC setStatusBarText( const TTQString &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 TQString &errMsg ) = 0; + virtual ASYNC canceled( const TTQString &errMsg ) = 0; }; diff --git a/xparts/src/interfaces/xpartmanager.h b/xparts/src/interfaces/xpartmanager.h index 25a341f8..7838fff1 100644 --- a/xparts/src/interfaces/xpartmanager.h +++ b/xparts/src/interfaces/xpartmanager.h @@ -10,7 +10,7 @@ class XKPartManager : public DCOPObject k_dcop: /** Query a XPart able to handle a given mimetype */ - virtual DCOPRef createPart( TQString servicetype ) = 0; + virtual DCOPRef createPart( TTQString servicetype ) = 0; /** Delete a previously created XPart */ virtual void deletePart( DCOPRef ref ) = 0; -- cgit v1.2.1