summaryrefslogtreecommitdiffstats
path: root/kprofilemethod
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:51:49 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:51:49 +0000
commit4ae0c208b66e0f7954e194384464fe2d0a2c56dd (patch)
treeb0a7cd1c184f0003c0292eb416ed27f674f9cc43 /kprofilemethod
parent1964ea0fb4ab57493ca2ebb709c8d3b5395fd653 (diff)
downloadtdesdk-4ae0c208b66e0f7954e194384464fe2d0a2c56dd.tar.gz
tdesdk-4ae0c208b66e0f7954e194384464fe2d0a2c56dd.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdesdk@1157652 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kprofilemethod')
-rw-r--r--kprofilemethod/kprofilemethod.h6
1 files changed, 3 insertions, 3 deletions
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 <qdatetime.h>
+#include <tqdatetime.h>
#include <kdebug.h>
/**
- * 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;