diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
commit | 7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch) | |
tree | 8474f9b444b2756228600050f07a7ff25de532b2 /networkstatus/networkstatus.h | |
parent | f587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff) | |
download | tdepim-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/networkstatus.h')
-rw-r--r-- | networkstatus/networkstatus.h | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/networkstatus/networkstatus.h b/networkstatus/networkstatus.h index b4281b961..710afd79a 100644 --- a/networkstatus/networkstatus.h +++ b/networkstatus/networkstatus.h @@ -37,41 +37,41 @@ class NetworkStatusModule : virtual public KDEDModule/*, public ClientIface, Ser Q_OBJECT K_DCOP public: - NetworkStatusModule( const QCString & obj ); + NetworkStatusModule( const TQCString & obj ); ~NetworkStatusModule(); k_dcop: // Client interface - QStringList networks(); - int status( const QString & host ); - int request( const QString & host, bool userInitiated ); - void relinquish( const QString & host ); - bool reportFailure( const QString & host ); -// QString statusAsString(); + TQStringList networks(); + int status( const TQString & host ); + int request( const TQString & host, bool userInitiated ); + void relinquish( const TQString & host ); + bool reportFailure( const TQString & host ); +// TQString statusAsString(); // Service interface - void setNetworkStatus( const QString & networkName, int status ); - void registerNetwork( const QString & networkName, NetworkStatus::Properties properties ); - void unregisterNetwork( const QString & networkName ); - void requestShutdown( const QString & networkName ); + void setNetworkStatus( const TQString & networkName, int status ); + void registerNetwork( const TQString & networkName, NetworkStatus::Properties properties ); + void unregisterNetwork( const TQString & networkName ); + void requestShutdown( const TQString & networkName ); k_dcop_signals: /** * A status change occurred for the network(s) used to connect to the given host. * @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 ); protected slots: - void registeredToDCOP( const QCString& appId ); - void unregisteredFromDCOP( const QCString& appId ); + void registeredToDCOP( const TQCString& appId ); + void unregisteredFromDCOP( const TQCString& appId ); protected: - // QStringList networkUsers( const QString & networkName ); - Network * networkForHost( const QString & host ) const; + // TQStringList networkUsers( const TQString & networkName ); + Network * networkForHost( const TQString & host ) const; private: class Private; |