From 4ae0c208b66e0f7954e194384464fe2d0a2c56dd Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:51:49 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdesdk@1157652 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kprofilemethod/kprofilemethod.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'kprofilemethod') diff --git a/kprofilemethod/kprofilemethod.h b/kprofilemethod/kprofilemethod.h index e4a9eedd..0e485a94 100644 --- a/kprofilemethod/kprofilemethod.h +++ b/kprofilemethod/kprofilemethod.h @@ -19,11 +19,11 @@ #ifndef KPROFILE_METHOD_H #define KPROFILE_METHOD_H -#include +#include #include /** - * Those macros help profiling using QTime. + * Those macros help profiling using TQTime. * They allow to sum up the time taken by a given bit of code * in a method called several times. * This way one can find out which low-level method used by a high-level @@ -44,7 +44,7 @@ * PROFILE_METHOD_PRINT( pr_theMethod, "theMethod" ); * */ -#define PROFILE_METHOD_BEGIN(sym) extern int sym; QTime profile_dt##sym; profile_dt##sym.start(); +#define PROFILE_METHOD_BEGIN(sym) extern int sym; TQTime profile_dt##sym; profile_dt##sym.start(); #define PROFILE_METHOD_END(sym) extern int sym; sym += profile_dt##sym.elapsed(); #define PROFILE_METHOD_PRINT(sym, name) extern int sym; kdDebug() << name << " took " << sym << " milliseconds" << endl; -- cgit v1.2.1