summaryrefslogtreecommitdiffstats
path: root/src/misc
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-02 22:38:52 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-02 22:38:52 +0000
commit458efa7b0c935cbaafa2791021a5f8f7241aa876 (patch)
tree624583f2873febe23770bee3fa94b5c24bd59f4f /src/misc
parent747037b72944ae2c02962b7c5c96e0a7f8852e38 (diff)
downloadrosegarden-458efa7b0c935cbaafa2791021a5f8f7241aa876.tar.gz
rosegarden-458efa7b0c935cbaafa2791021a5f8f7241aa876.zip
Initial TQt4 port of Rosegarden
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/rosegarden@1230242 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/misc')
-rw-r--r--src/misc/Debug.cpp4
-rw-r--r--src/misc/Debug.h2
-rw-r--r--src/misc/stableheaders.h6
3 files changed, 6 insertions, 6 deletions
diff --git a/src/misc/Debug.cpp b/src/misc/Debug.cpp
index 751c3ce..5f23613 100644
--- a/src/misc/Debug.cpp
+++ b/src/misc/Debug.cpp
@@ -307,8 +307,8 @@ operator<<(kdbgstream &dbg, const TQRegion& reg )
TQMemArray<TQRect>rs = reg.rects();
for (uint i = 0;i < rs.size();++i)
- dbg << TQString("[%1,%2 - %3x%4] ").arg(rs[i].x()).arg(rs[i].y())
- .arg(rs[i].width()).arg(rs[i].height() ) ;
+ dbg << TQString("[%1,%2 - %3x%4] ").tqarg(rs[i].x()).tqarg(rs[i].y())
+ .tqarg(rs[i].width()).tqarg(rs[i].height() ) ;
dbg << "]";
return dbg;
diff --git a/src/misc/Debug.h b/src/misc/Debug.h
index 598dd6c..ca245bc 100644
--- a/src/misc/Debug.h
+++ b/src/misc/Debug.h
@@ -54,7 +54,7 @@ namespace Rosegarden { class Event; class Segment; class RealTime; class Colour;
#define NOTATION_DEBUG kdDebug(KDEBUG_AREA_NOTATION)
#define MATRIX_DEBUG kdDebug(KDEBUG_AREA_MATRIX)
#define SEQUENCER_DEBUG kdDebug(KDEBUG_AREA_SEQUENCER)
-#define SEQMAN_DEBUG kdDebug(KDEBUG_AREA_SEQUENCEMANAGER)
+#define SETQMAN_DEBUG kdDebug(KDEBUG_AREA_SEQUENCEMANAGER)
#ifndef NDEBUG
diff --git a/src/misc/stableheaders.h b/src/misc/stableheaders.h
index ddc3f5d..07f7cef 100644
--- a/src/misc/stableheaders.h
+++ b/src/misc/stableheaders.h
@@ -29,12 +29,12 @@
// QT3 headers
-// Common headers, or used by sources generated by moc
+// Common headers, or used by sources generated by tqmoc
#include <tqmap.h>
#include <tqglobal.h>
-#include <private/qucomextra_p.h>
+#include <private/tqucomextra_p.h>
#include <tqmetaobject.h>
-#include <qobjectdefs.h>
+#include <tqobjectdefs.h>
#include <tqsignalslotimp.h>
#include <tqstyle.h>