From 9cc13dcbb01a96c9e60a07ca63c61d24b374f50d Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 16 Dec 2011 09:59:50 -0600 Subject: Revert "Rename a number of old tq methods that are no longer tq specific" This reverts commit 3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12. --- libemailfunctions/networkstatus.h | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'libemailfunctions/networkstatus.h') diff --git a/libemailfunctions/networkstatus.h b/libemailfunctions/networkstatus.h index 7a8b3c1b2..963aa6fed 100644 --- a/libemailfunctions/networkstatus.h +++ b/libemailfunctions/networkstatus.h @@ -32,7 +32,7 @@ namespace KPIM { the machine KDE is running on going from "online" mode to offline. What this means is left as an exercise for the reader. */ -class NetworkStatus : public TQObject, public DCOPObject +class NetworktqStatus : public TQObject, public DCOPObject { Q_OBJECT @@ -40,7 +40,7 @@ class NetworkStatus : public TQObject, public DCOPObject /** * The possible states. */ - enum Status { + enum tqStatus { Online, //< The machine now has internet connectivity Offline //< The machine has no internet connectivity }; @@ -48,24 +48,24 @@ class NetworkStatus : public TQObject, public DCOPObject /** * Destructor. */ - ~NetworkStatus(); + ~NetworktqStatus(); /** * Returns the only instance of this class. */ - static NetworkStatus *self(); + static NetworktqStatus *self(); /** * Sets a new status. * * @param status The new status. */ - void seStatus( Status status ); + void setqStatus( tqStatus status ); /** * Returns the current status. */ - Status status() const; + tqStatus status() const; k_dcop: /** @@ -79,18 +79,18 @@ class NetworkStatus : public TQObject, public DCOPObject * * @param status The new status. */ - void statusChanged( Status status ); + void statusChanged( tqStatus status ); protected: /** * Constructor. This is protected, so you must use self() * to get the singleton object of this class. */ - NetworkStatus(); + NetworktqStatus(); private: - Status mStatus; - static NetworkStatus *mSelf; + tqStatus mtqStatus; + static NetworktqStatus *mSelf; }; } -- cgit v1.2.1