diff options
author | Timothy Pearson <[email protected]> | 2011-12-18 18:33:51 -0600 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2012-06-03 15:53:28 +0200 |
commit | 4b54ad17739d1075235f2960ecde230a58b5621c (patch) | |
tree | 041d34c2e70d106209f97f8607698ccfe907c9b4 /krdc/vnc/threads.cpp | |
parent | 6f21bc7511005a69a8ef14c2ad4e74857baf59f3 (diff) | |
download | tdenetwork-4b54ad17739d1075235f2960ecde230a58b5621c.tar.gz tdenetwork-4b54ad17739d1075235f2960ecde230a58b5621c.zip |
Rename old tq methods that no longer need a unique name
(cherry picked from commit 089118c18533dfa3e6ce5065dbebdd4db94051f1)
Diffstat (limited to 'krdc/vnc/threads.cpp')
-rw-r--r-- | krdc/vnc/threads.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/krdc/vnc/threads.cpp b/krdc/vnc/threads.cpp index f4e0eefe..ebd02c8e 100644 --- a/krdc/vnc/threads.cpp +++ b/krdc/vnc/threads.cpp @@ -47,7 +47,7 @@ ControllerThread::ControllerThread(KVncView *v, WriterThread &wt, volatile bool { } -void ControllerThread::changetqStatus(RemoteViewtqStatus s) { +void ControllerThread::changeStatus(RemoteViewStatus s) { m_status = s; TQApplication::postEvent(m_view, new StatusChangeEvent(s)); } @@ -86,13 +86,13 @@ void ControllerThread::run() { return; } if (m_quitFlag) { - changetqStatus(REMOTE_VIEW_DISCONNECTED); + changeStatus(REMOTE_VIEW_DISCONNECTED); return; } - changetqStatus(REMOTE_VIEW_AUTHENTICATING); + changeStatus(REMOTE_VIEW_AUTHENTICATING); - enum InittqStatus s = InitialiseRFBConnection(); + enum InitStatus s = InitialiseRFBConnection(); if (s != INIT_OK) { if (s == INIT_CONNECTION_FAILED) sendFatalError(ERROR_IO); @@ -103,7 +103,7 @@ void ControllerThread::run() { else if (s == INIT_AUTHENTICATION_FAILED) sendFatalError(ERROR_AUTHENTICATION); else if (s == INIT_ABORTED) - changetqStatus(REMOTE_VIEW_DISCONNECTED); + changeStatus(REMOTE_VIEW_DISCONNECTED); else sendFatalError(ERROR_INTERNAL); return; @@ -120,18 +120,18 @@ void ControllerThread::run() { m_waiter.wait(1000); if (m_quitFlag) { - changetqStatus(REMOTE_VIEW_DISCONNECTED); + changeStatus(REMOTE_VIEW_DISCONNECTED); return; } - changetqStatus(REMOTE_VIEW_PREPARING); + changeStatus(REMOTE_VIEW_PREPARING); if (!SetFormatAndEncodings()) { sendFatalError(ERROR_INTERNAL); return; } - changetqStatus(REMOTE_VIEW_CONNECTED); + changeStatus(REMOTE_VIEW_CONNECTED); m_wthread.start(); @@ -143,11 +143,11 @@ void ControllerThread::run() { } m_quitFlag = true; - changetqStatus(REMOTE_VIEW_DISCONNECTED); + changeStatus(REMOTE_VIEW_DISCONNECTED); m_wthread.kick(); } -enum RemoteViewtqStatus ControllerThread::status() { +enum RemoteViewStatus ControllerThread::status() { return m_status; } |