summaryrefslogtreecommitdiffstats
path: root/kbarcode/rectitem.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-16 09:55:56 -0600
committerTimothy Pearson <[email protected]>2011-12-16 09:55:56 -0600
commitabb955bc2a696c0283c1efd82c4edf4d06f314a7 (patch)
tree90639442ba9f4e06fccc0f4f7b7aed315423e6f1 /kbarcode/rectitem.cpp
parent64e14d1bc38e39001b5ec84a6e13198ef3c67315 (diff)
downloadkbarcode-abb955bc2a696c0283c1efd82c4edf4d06f314a7.tar.gz
kbarcode-abb955bc2a696c0283c1efd82c4edf4d06f314a7.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 64e14d1bc38e39001b5ec84a6e13198ef3c67315.
Diffstat (limited to 'kbarcode/rectitem.cpp')
-rw-r--r--kbarcode/rectitem.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/kbarcode/rectitem.cpp b/kbarcode/rectitem.cpp
index 9e52e97..40ce7fa 100644
--- a/kbarcode/rectitem.cpp
+++ b/kbarcode/rectitem.cpp
@@ -81,9 +81,9 @@ void RectItem::drawZpl( TQTextStream* stream )
*stream << ZPLUtils::fieldOrigin( rect().x(), rect().y() );
if( m_circle )
- *stream << TQString("~GE%1,%2,%3,B").arg( rect().width() ).arg( rect().height() ).arg( thick );
+ *stream << TQString("~GE%1,%2,%3,B").tqarg( rect().width() ).tqarg( rect().height() ).tqarg( thick );
else
- *stream << TQString("~GB%1,%2,%3,B,0").arg( rect().width() ).arg( rect().height() ).arg( thick );
+ *stream << TQString("~GB%1,%2,%3,B,0").tqarg( rect().width() ).tqarg( rect().height() ).tqarg( thick );
}
void RectItem::drawIpl( TQTextStream* stream, IPLUtils* utils )
@@ -97,12 +97,12 @@ void RectItem::drawIpl( TQTextStream* stream, IPLUtils* utils )
{
int counter = utils->counter();
- TQString s = TQString("W%1;").arg( counter ); // field number
+ TQString s = TQString("W%1;").tqarg( counter ); // field number
s += utils->fieldOrigin( rect().x(), rect().y() );
- s += TQString("l%1;").arg( rect().width() ); // box length
- s += TQString("h%1;").arg( rect().height() ); // box height
- s += TQString("w%1;").arg( thick );
+ s += TQString("l%1;").tqarg( rect().width() ); // box length
+ s += TQString("h%1;").tqarg( rect().height() ); // box height
+ s += TQString("w%1;").tqarg( thick );
*stream << utils->field( s );
}
@@ -110,11 +110,11 @@ void RectItem::drawIpl( TQTextStream* stream, IPLUtils* utils )
void RectItem::drawEPcl( TQTextStream* stream )
{
- TQString s = TQString("C %1").arg( rect().x()+1 );
- s += TQString(" %1").arg( rect().y()+1 );
- s += TQString(" %1").arg( rect().width() );
- s += TQString(" %1").arg( rect().height() );
- s += TQString(" %1 2").arg( pen().width() );
+ TQString s = TQString("C %1").tqarg( rect().x()+1 );
+ s += TQString(" %1").tqarg( rect().y()+1 );
+ s += TQString(" %1").tqarg( rect().width() );
+ s += TQString(" %1").tqarg( rect().height() );
+ s += TQString(" %1 2").tqarg( pen().width() );
*stream << EPCLUtils::field( s );
}