diff options
author | Timothy Pearson <[email protected]> | 2011-12-18 18:36:38 -0600 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2012-06-19 19:42:51 +0200 |
commit | a177b05ccc4f6a94c52944e4015831d766058b0e (patch) | |
tree | b5b19a92c4080c992565ef3e07b55322ae3df020 /kxsldbg/kxsldbgpart/libxsldbg/xsldbgthread.cpp | |
parent | 1e3f84a3c7f28cbd80c26f770055bca0dfebafbd (diff) | |
download | tdewebdev-a177b05ccc4f6a94c52944e4015831d766058b0e.tar.gz tdewebdev-a177b05ccc4f6a94c52944e4015831d766058b0e.zip |
Rename old tq methods that no longer need a unique name
(cherry picked from commit 9445f97b426e97c6ce46de18fba4030da45d56df)
Diffstat (limited to 'kxsldbg/kxsldbgpart/libxsldbg/xsldbgthread.cpp')
-rw-r--r-- | kxsldbg/kxsldbgpart/libxsldbg/xsldbgthread.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/kxsldbg/kxsldbgpart/libxsldbg/xsldbgthread.cpp b/kxsldbg/kxsldbgpart/libxsldbg/xsldbgthread.cpp index 4fb4a6c9..c95ad640 100644 --- a/kxsldbg/kxsldbgpart/libxsldbg/xsldbgthread.cpp +++ b/kxsldbg/kxsldbgpart/libxsldbg/xsldbgthread.cpp @@ -25,8 +25,8 @@ #include "xsldbgthread.h" static void (*cleanupFuncPtr)(void) = 0; -static int threadtqStatus = XSLDBG_MSG_THREAD_NOTUSED; -static int inputtqStatus = XSLDBG_MSG_AWAITING_INPUT; +static int threadStatus = XSLDBG_MSG_THREAD_NOTUSED; +static int inputStatus = XSLDBG_MSG_AWAITING_INPUT; /* is xsldbg ready for input from the application */ static int inputReady = 0; @@ -53,19 +53,19 @@ setAppReady(int ready) /* the compiler will optimize this function to inline and to keep variable private*/ int -getInputtqStatus(void) +getInputStatus(void) { - return inputtqStatus; + return inputStatus; } void -setInputtqStatus(XsldbgMessageEnum type) +setInputStatus(XsldbgMessageEnum type) { switch (type) { case XSLDBG_MSG_AWAITING_INPUT: /* Waiting for user input */ case XSLDBG_MSG_READ_INPUT: /* Read user input */ case XSLDBG_MSG_PROCESSING_INPUT: /* Processing user's request */ - inputtqStatus = type; + inputStatus = type; break; default: @@ -76,26 +76,26 @@ setInputtqStatus(XsldbgMessageEnum type) /* the compiler will optimize this function to inline and to keep variable private*/ int -getThreadtqStatus(void) +getThreadStatus(void) { - return threadtqStatus; + return threadStatus; } /* reset the status to @p type */ void -setThreadtqStatus(XsldbgMessageEnum type) +setThreadStatus(XsldbgMessageEnum type) { switch (type) { case XSLDBG_MSG_THREAD_NOTUSED: case XSLDBG_MSG_THREAD_INIT: case XSLDBG_MSG_THREAD_RUN: - threadtqStatus = type; + threadStatus = type; break; case XSLDBG_MSG_THREAD_STOP: case XSLDBG_MSG_THREAD_DEAD: xslDebugStatus = DEBUG_TQUIT; - threadtqStatus = type; + threadStatus = type; break; default: |