summaryrefslogtreecommitdiffstats
path: root/libkipi/libkipi/KDStream.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:43:42 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:43:42 -0600
commit24d203b42a12aec5addcc1a751b3b9220229366a (patch)
treeccb5b8e24a8e01e84168ad92e87f95f7b877f03c /libkipi/libkipi/KDStream.cpp
parentfd54aa27b85d4dd3ee703f77dc1c4dbf6287d337 (diff)
downloadlibkipi-24d203b42a12aec5addcc1a751b3b9220229366a.tar.gz
libkipi-24d203b42a12aec5addcc1a751b3b9220229366a.zip
Remove additional unneeded tq method conversions
Diffstat (limited to 'libkipi/libkipi/KDStream.cpp')
-rw-r--r--libkipi/libkipi/KDStream.cpp38
1 files changed, 19 insertions, 19 deletions
diff --git a/libkipi/libkipi/KDStream.cpp b/libkipi/libkipi/KDStream.cpp
index 57c5527..60020ba 100644
--- a/libkipi/libkipi/KDStream.cpp
+++ b/libkipi/libkipi/KDStream.cpp
@@ -123,7 +123,7 @@ KDStream& KDStream::operator<<( bool b )
*/
KDStream& KDStream::operator<<( char ch )
{
- _output += TQString::fromLatin1("%1").tqarg( ch );
+ _output += TQString::fromLatin1("%1").arg( ch );
return *this;
}
@@ -340,7 +340,7 @@ KDStream& KDStream::operator<<( const TQCursor& cursor )
{
TQString type;
- switch ( cursor.tqshape() ) {
+ switch ( cursor.shape() ) {
case TQt::ArrowCursor: type = TQString::fromLatin1("ArrowCursor"); break;
case TQt::UpArrowCursor: type = TQString::fromLatin1("UpArrowCursor"); break;
case TQt::CrossCursor: type = TQString::fromLatin1("CrossCursor"); break;
@@ -422,9 +422,9 @@ KDStream& KDStream::operator<<( const TQPen& pen )
}
_output += TQString::fromLatin1("TQPen(%1,%2,%3)")
- .tqarg( pen.width() )
- .tqarg( TQColor2Str( pen.color() ) )
- .tqarg( style );
+ .arg( pen.width() )
+ .arg( TQColor2Str( pen.color() ) )
+ .arg( style );
return *this;
}
@@ -433,7 +433,7 @@ KDStream& KDStream::operator<<( const TQPen& pen )
*/
KDStream& KDStream::operator<<( const TQPoint& point )
{
- _output += TQString::fromLatin1("(%1,%2)").tqarg(point.x()).tqarg(point.y() );
+ _output += TQString::fromLatin1("(%1,%2)").arg(point.x()).arg(point.y() );
return *this;
}
@@ -442,7 +442,7 @@ KDStream& KDStream::operator<<( const TQPoint& point )
*/
KDStream& KDStream::operator<<( const TQSize& size )
{
- _output += TQString::fromLatin1("%1x%2").tqarg(size.width()).tqarg(size.height());
+ _output += TQString::fromLatin1("%1x%2").arg(size.width()).arg(size.height());
return *this;
}
@@ -455,12 +455,12 @@ KDStream& KDStream::operator<<( const TQRect& rect )
TQString xplus = (rect.x() >= 0) ? TQString::fromLatin1("+") : TQString::fromLatin1("");
TQString yplus = (rect.y() >= 0) ? TQString::fromLatin1("+") : TQString::fromLatin1("");
_output += TQString::fromLatin1("%1x%2%3%4%5%6")
- .tqarg( rect.width() )
- .tqarg( rect.height() )
- .tqarg( xplus )
- .tqarg( rect.x() )
- .tqarg( yplus )
- .tqarg( rect.y() );
+ .arg( rect.width() )
+ .arg( rect.height() )
+ .arg( xplus )
+ .arg( rect.x() )
+ .arg( yplus )
+ .arg( rect.y() );
return *this;
}
@@ -609,7 +609,7 @@ KDStream& KDStream::operator<<( const TQBrush& brush)
case TQt::DiagCrossPattern: style = TQString::fromLatin1("DiagCrossPattern"); break;
case TQt::CustomPattern: style = TQString::fromLatin1("CustomPattern"); break;
}
- _output += TQString::fromLatin1("TQBrush(%1,%2)").tqarg(style).tqarg(TQColor2Str(brush.color()));
+ _output += TQString::fromLatin1("TQBrush(%1,%2)").arg(style).arg(TQColor2Str(brush.color()));
return *this;
}
@@ -644,7 +644,7 @@ KDStream& KDStream::operator<<( const TQSizePolicy& policy)
}
TQString hforw = policy.hasHeightForWidth() ? TQString::fromLatin1("true") : TQString::fromLatin1("false");
_output += TQString::fromLatin1("TQSizePolicy(hor=%1,ver=%2, hasHeightForWidth=%3)")
- .tqarg(hor).tqarg(ver).tqarg(hforw);
+ .arg(hor).arg(ver).arg(hforw);
return *this;
}
@@ -672,8 +672,8 @@ KDStream& KDStream::operator<<( const TQStrList& list )
KDStream& KDStream::operator<<( const TQPixmap& pixmap )
{
_output += TQString("TQPixmap[null=%1,width=%2,heigth=%3,depth=%4,hasMask=%5,hasAlpha=%6]")
- .tqarg(pixmap.isNull()).tqarg(pixmap.width()).tqarg(pixmap.height())
- .tqarg(pixmap.depth()).tqarg(pixmap.mask() != 0).tqarg(pixmap.hasAlpha() );
+ .arg(pixmap.isNull()).arg(pixmap.width()).arg(pixmap.height())
+ .arg(pixmap.depth()).arg(pixmap.mask() != 0).arg(pixmap.hasAlpha() );
return *this;
}
@@ -681,8 +681,8 @@ KDStream& KDStream::operator<<( const TQPixmap& pixmap )
KDStream& KDStream::operator<<( const TQImage& pixmap )
{
_output += TQString("TQImage[null=%1,width=%2,heigth=%3,depth=%4,hasAlpha=%5]")
- .tqarg(pixmap.isNull()).tqarg(pixmap.width()).tqarg(pixmap.height())
- .tqarg(pixmap.depth()).tqarg(pixmap.hasAlphaBuffer() );
+ .arg(pixmap.isNull()).arg(pixmap.width()).arg(pixmap.height())
+ .arg(pixmap.depth()).arg(pixmap.hasAlphaBuffer() );
return *this;
}