diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-09-06 20:59:29 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-09-06 20:59:29 +0000 |
commit | 11f31c37e5fa4889d9989f10272f44845449cb7b (patch) | |
tree | 4383da04a76c497950d957fc6120b0fd0d9082c2 /src/misc/Debug.cpp | |
parent | 832eb69d571e8e518db45d0c0e6fbc0f00690209 (diff) | |
download | rosegarden-11f31c37e5fa4889d9989f10272f44845449cb7b.tar.gz rosegarden-11f31c37e5fa4889d9989f10272f44845449cb7b.zip |
Initial TQt conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/rosegarden@1172292 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/misc/Debug.cpp')
-rw-r--r-- | src/misc/Debug.cpp | 46 |
1 files changed, 23 insertions, 23 deletions
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 <qdatetime.h> -#include <qpoint.h> -#include <qrect.h> -#include <qregion.h> -#include <qstringlist.h> -#include <qpen.h> -#include <qbrush.h> -#include <qsize.h> +#include <tqdatetime.h> +#include <tqpoint.h> +#include <tqrect.h> +#include <tqregion.h> +#include <tqstringlist.h> +#include <tqpen.h> +#include <tqbrush.h> +#include <tqsize.h> #include <kurl.h> #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 << "[ "; - QMemArray<QRect>rs = reg.rects(); + TQMemArray<TQRect>rs = 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", |