summaryrefslogtreecommitdiffstats
path: root/src/kpowersave_debug.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-16 23:01:29 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-16 23:01:29 +0000
commit4304e8d9dab8e20513e38e71b0debdf6937b630c (patch)
tree76a86f013a811449a5b5bfbbbb962e7db0bbcc6a /src/kpowersave_debug.h
parentba24506b3bb46312d998468ad3c1a7f28058b2bd (diff)
downloadtdepowersave-4304e8d9dab8e20513e38e71b0debdf6937b630c.tar.gz
tdepowersave-4304e8d9dab8e20513e38e71b0debdf6937b630c.zip
Finish TQt4 port of kpowersave
This enables both Qt3 and Qt4 builds git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kpowersave@1228282 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/kpowersave_debug.h')
-rw-r--r--src/kpowersave_debug.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/kpowersave_debug.h b/src/kpowersave_debug.h
index 6f258ea..2c9f648 100644
--- a/src/kpowersave_debug.h
+++ b/src/kpowersave_debug.h
@@ -31,7 +31,7 @@
#include <stdlib.h>
// QT - Header
-#include <qdatetime.h>
+#include <tqdatetime.h>
// KDE Header
#include <kdebug.h>
@@ -48,8 +48,8 @@ extern bool trace;
/*
* macro to collect time and k_funcinfo information for kdDebug()
*/
-#define funcinfo "[" << QTime::currentTime().toString().ascii() << \
- ":" << QTime::currentTime().msec() << "]" << k_funcinfo
+#define funcinfo "[" << TQString(TQTime::currentTime().toString()).ascii() << \
+ ":" << TQTime::currentTime().msec() << "]" << k_funcinfo
/*
* macros to trace function entry and leave points