summaryrefslogtreecommitdiffstats
path: root/networkstatus/clientiface.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
commit7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch)
tree8474f9b444b2756228600050f07a7ff25de532b2 /networkstatus/clientiface.h
parentf587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff)
downloadtdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz
tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'networkstatus/clientiface.h')
-rw-r--r--networkstatus/clientiface.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/networkstatus/clientiface.h b/networkstatus/clientiface.h
index d8caff6b2..9fcef57a3 100644
--- a/networkstatus/clientiface.h
+++ b/networkstatus/clientiface.h
@@ -31,31 +31,31 @@ class ClientIface : virtual public DCOPObject
K_DCOP
k_dcop:
/** Get the set of networks that the daemon is aware of. Mostly for debug */
- virtual QStringList networks() = 0;
+ virtual TQStringList networks() = 0;
/**
* Get the status of the connection to the given host.
* @param host
* @return a NetworkStatus::EnumStatus representing the state of the connection to the given host
*/
- virtual int status( const QString & host) = 0;
+ virtual int status( const TQString & host) = 0;
/**
* Request a connection to the named host, registering the application's usage of this connection
* @param host The hostname the client wants to connect to.
* @param userInitiated Indicates whether the connection is a direct result of a user action or is a background task. Used by the daemon to decide whether to create an on-demand connection.
* @return An NetworkStatus::EnumRequestResult indicating whether the request was accepted
*/
- virtual int request( const QString & host, bool userInitiated ) = 0;
+ virtual int request( const TQString & host, bool userInitiated ) = 0;
/**
* Indicate that a previously registered connection to the given host is no longer needed by this client
* @param host The hostname being relinquished.
*/
- virtual void relinquish( const QString & host ) = 0;
+ virtual void relinquish( const TQString & host ) = 0;
/**
* Indicate that a communication failure has occurred for a given host
* @param host The hostname for which the failure occurred.
* @return True indicates the caller should try again to lookup the host, as the daemon has another IP address available.
*/
- virtual bool reportFailure( const QString & host ) = 0;
+ virtual bool reportFailure( const TQString & host ) = 0;
/**
* Utility method to check the daemon's status
*/
@@ -65,13 +65,13 @@ k_dcop_signals:
* @param host The host which the application has indicated it is using
* @param status The new status of the network used to reach host.
*/
- void statusChange( QString host, int status );
+ void statusChange( TQString host, int status );
/**
* The network would like to shut down - any clients using this host are to finish using it immediately and call
* relinquish() when done.
* @param host The host, registered as in use by applications, which is about to be disconnected.
*/
- void shutdownRequested( QString host );
+ void shutdownRequested( TQString host );
};
#endif