diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-18 18:34:45 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-18 18:34:45 -0600 |
commit | 0e00c0a86a4c9d7e80c7b66d91940cc7dcb79f78 (patch) | |
tree | 4138783f7dad757fc5fbfaa8d66a355288d3125e /libemailfunctions/networkstatus.h | |
parent | 9cc13dcbb01a96c9e60a07ca63c61d24b374f50d (diff) | |
download | tdepim-0e00c0a86a4c9d7e80c7b66d91940cc7dcb79f78.tar.gz tdepim-0e00c0a86a4c9d7e80c7b66d91940cc7dcb79f78.zip |
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'libemailfunctions/networkstatus.h')
-rw-r--r-- | libemailfunctions/networkstatus.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/libemailfunctions/networkstatus.h b/libemailfunctions/networkstatus.h index 963aa6fed..7a8b3c1b2 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 NetworktqStatus : public TQObject, public DCOPObject +class NetworkStatus : public TQObject, public DCOPObject { Q_OBJECT @@ -40,7 +40,7 @@ class NetworktqStatus : public TQObject, public DCOPObject /** * The possible states. */ - enum tqStatus { + enum Status { Online, //< The machine now has internet connectivity Offline //< The machine has no internet connectivity }; @@ -48,24 +48,24 @@ class NetworktqStatus : public TQObject, public DCOPObject /** * Destructor. */ - ~NetworktqStatus(); + ~NetworkStatus(); /** * Returns the only instance of this class. */ - static NetworktqStatus *self(); + static NetworkStatus *self(); /** * Sets a new status. * * @param status The new status. */ - void setqStatus( tqStatus status ); + void seStatus( Status status ); /** * Returns the current status. */ - tqStatus status() const; + Status status() const; k_dcop: /** @@ -79,18 +79,18 @@ class NetworktqStatus : public TQObject, public DCOPObject * * @param status The new status. */ - void statusChanged( tqStatus status ); + void statusChanged( Status status ); protected: /** * Constructor. This is protected, so you must use self() * to get the singleton object of this class. */ - NetworktqStatus(); + NetworkStatus(); private: - tqStatus mtqStatus; - static NetworktqStatus *mSelf; + Status mStatus; + static NetworkStatus *mSelf; }; } |