diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
commit | 7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch) | |
tree | 8474f9b444b2756228600050f07a7ff25de532b2 /kmail/kmdebug.h | |
parent | f587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff) | |
download | tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kmail/kmdebug.h')
-rw-r--r-- | kmail/kmdebug.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kmail/kmdebug.h b/kmail/kmdebug.h index e36621cff..46262aeb4 100644 --- a/kmail/kmdebug.h +++ b/kmail/kmdebug.h @@ -32,10 +32,10 @@ static inline kdbgstream kmFatal( bool cond ) { return kdFatal( cond, kmail_debu // timing utilities #if !defined( NDEBUG ) && defined( DEBUG_TIMING ) -#include <qdatetime.h> -#define CREATE_TIMER(x) int x=0, x ## _tmp=0; QTime x ## _tmp2 -#define START_TIMER(x) x ## _tmp2 = QTime::currentTime() -#define GRAB_TIMER(x) x ## _tmp2.msecsTo(QTime::currentTime()) +#include <tqdatetime.h> +#define CREATE_TIMER(x) int x=0, x ## _tmp=0; TQTime x ## _tmp2 +#define START_TIMER(x) x ## _tmp2 = TQTime::currentTime() +#define GRAB_TIMER(x) x ## _tmp2.msecsTo(TQTime::currentTime()) #define END_TIMER(x) x += GRAB_TIMER(x); x ## _tmp++ #define SHOW_TIMER(x) kdDebug(5006) << #x " == " << x << "(" << x ## _tmp << ")\n" #else |