From 11f31c37e5fa4889d9989f10272f44845449cb7b Mon Sep 17 00:00:00 2001 From: tpearson Date: Mon, 6 Sep 2010 20:59:29 +0000 Subject: Initial TQt conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/rosegarden@1172292 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- src/misc/Debug.cpp | 46 +++++++++++++++++++++++----------------------- 1 file changed, 23 insertions(+), 23 deletions(-) (limited to 'src/misc/Debug.cpp') diff --git a/src/misc/Debug.cpp b/src/misc/Debug.cpp index 33d5464..751c3ce 100644 --- a/src/misc/Debug.cpp +++ b/src/misc/Debug.cpp @@ -24,14 +24,14 @@ #include "Debug.h" #if KDE_VERSION < KDE_MAKE_VERSION(3,2,0) -#include -#include -#include -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include +#include +#include +#include #include #endif @@ -194,7 +194,7 @@ kdbgostreamAdapter::operator<<(unsigned long i) } ostream& -kdbgostreamAdapter::operator<<(const QString& string) +kdbgostreamAdapter::operator<<(const TQString& string) { m_kdbgStream << string; return *this; @@ -208,7 +208,7 @@ kdbgostreamAdapter::operator<<(const char *string) } ostream& -kdbgostreamAdapter::operator<<(const QCString& string) +kdbgostreamAdapter::operator<<(const TQCString& string) { m_kdbgStream << string; return *this; @@ -258,42 +258,42 @@ kdbgostreamAdapter::operator<<(double d) #if KDE_VERSION < KDE_MAKE_VERSION(3,2,0) kdbgstream& -operator<<(kdbgstream &dbg, const QDateTime& time) +operator<<(kdbgstream &dbg, const TQDateTime& time) { dbg << time.toString(); return dbg; } kdbgstream& -operator<<(kdbgstream &dbg, const QDate& date) +operator<<(kdbgstream &dbg, const TQDate& date) { dbg << date.toString(); return dbg; } kdbgstream& -operator<<(kdbgstream &dbg, const QTime& time ) +operator<<(kdbgstream &dbg, const TQTime& time ) { dbg << time.toString(); return dbg; } kdbgstream& -operator<<(kdbgstream &dbg, const QPoint& p ) +operator<<(kdbgstream &dbg, const TQPoint& p ) { dbg << "(" << p.x() << ", " << p.y() << ")"; return dbg; } kdbgstream& -operator<<(kdbgstream &dbg, const QSize& s ) +operator<<(kdbgstream &dbg, const TQSize& s ) { dbg << "[" << s.width() << "x" << s.height() << "]"; return dbg; } kdbgstream& -operator<<(kdbgstream &dbg, const QRect& r ) +operator<<(kdbgstream &dbg, const TQRect& r ) { dbg << "[" << r.x() << "," << r.y() << " - " << r.width() << "x" << r.height() << "]"; @@ -301,13 +301,13 @@ operator<<(kdbgstream &dbg, const QRect& r ) } kdbgstream& -operator<<(kdbgstream &dbg, const QRegion& reg ) +operator<<(kdbgstream &dbg, const TQRegion& reg ) { dbg << "[ "; - QMemArrayrs = reg.rects(); + TQMemArrayrs = reg.rects(); for (uint i = 0;i < rs.size();++i) - dbg << QString("[%1,%2 - %3x%4] ").arg(rs[i].x()).arg(rs[i].y()) + dbg << TQString("[%1,%2 - %3x%4] ").arg(rs[i].x()).arg(rs[i].y()) .arg(rs[i].width()).arg(rs[i].height() ) ; dbg << "]"; @@ -322,7 +322,7 @@ operator<<(kdbgstream &dbg, const KURL& u ) } kdbgstream& -operator<<(kdbgstream &dbg, const QStringList& l ) +operator<<(kdbgstream &dbg, const TQStringList& l ) { dbg << "("; dbg << l.join(","); @@ -332,7 +332,7 @@ operator<<(kdbgstream &dbg, const QStringList& l ) } kdbgstream& -operator<<(kdbgstream &dbg, const QColor& c ) +operator<<(kdbgstream &dbg, const TQColor& c ) { if ( c.isValid() ) dbg << c.name(); @@ -342,7 +342,7 @@ operator<<(kdbgstream &dbg, const QColor& c ) } kdbgstream& -operator<<(kdbgstream &dbg, const QPen& p ) +operator<<(kdbgstream &dbg, const TQPen& p ) { static const char* const s_penStyles[] = { "NoPen", "SolidLine", "DashLine", "DotLine", "DashDotLine", @@ -369,7 +369,7 @@ operator<<(kdbgstream &dbg, const QPen& p ) } kdbgstream& -operator<<(kdbgstream &dbg, const QBrush& b) +operator<<(kdbgstream &dbg, const TQBrush& b) { static const char* const s_brushStyles[] = { "NoBrush", "SolidPattern", "Dense1Pattern", "Dense2Pattern", "Dense3Pattern", -- cgit v1.2.1