From e985f7e545f4739493965aad69bbecb136dc9346 Mon Sep 17 00:00:00 2001 From: tpearson Date: Thu, 16 Jun 2011 19:02:47 +0000 Subject: TQt4 port kdewebdev This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdewebdev@1237029 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kxsldbg/kxsldbgpart/libxsldbg/xsldbgthread.cpp | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'kxsldbg/kxsldbgpart/libxsldbg/xsldbgthread.cpp') diff --git a/kxsldbg/kxsldbgpart/libxsldbg/xsldbgthread.cpp b/kxsldbg/kxsldbgpart/libxsldbg/xsldbgthread.cpp index ecb94052..4fb4a6c9 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 threadStatus = XSLDBG_MSG_THREAD_NOTUSED; -static int inputStatus = XSLDBG_MSG_AWAITING_INPUT; +static int threadtqStatus = XSLDBG_MSG_THREAD_NOTUSED; +static int inputtqStatus = 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 -getInputStatus(void) +getInputtqStatus(void) { - return inputStatus; + return inputtqStatus; } void -setInputStatus(XsldbgMessageEnum type) +setInputtqStatus(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 */ - inputStatus = type; + inputtqStatus = type; break; default: @@ -76,26 +76,26 @@ setInputStatus(XsldbgMessageEnum type) /* the compiler will optimize this function to inline and to keep variable private*/ int -getThreadStatus(void) +getThreadtqStatus(void) { - return threadStatus; + return threadtqStatus; } /* reset the status to @p type */ void -setThreadStatus(XsldbgMessageEnum type) +setThreadtqStatus(XsldbgMessageEnum type) { switch (type) { case XSLDBG_MSG_THREAD_NOTUSED: case XSLDBG_MSG_THREAD_INIT: case XSLDBG_MSG_THREAD_RUN: - threadStatus = type; + threadtqStatus = type; break; case XSLDBG_MSG_THREAD_STOP: case XSLDBG_MSG_THREAD_DEAD: - xslDebugStatus = DEBUG_QUIT; - threadStatus = type; + xslDebugStatus = DEBUG_TQUIT; + threadtqStatus = type; break; default: -- cgit v1.2.1