summaryrefslogtreecommitdiffstats
path: root/kbarcode/zplutils.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:30:05 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:30:05 -0600
commit64e14d1bc38e39001b5ec84a6e13198ef3c67315 (patch)
tree437361622d1cb449120e4eb6ca9265f3e838db8c /kbarcode/zplutils.cpp
parentfb010b103703b3229758ce9cf1341979cc450204 (diff)
downloadkbarcode-64e14d1bc38e39001b5ec84a6e13198ef3c67315.tar.gz
kbarcode-64e14d1bc38e39001b5ec84a6e13198ef3c67315.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'kbarcode/zplutils.cpp')
-rw-r--r--kbarcode/zplutils.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kbarcode/zplutils.cpp b/kbarcode/zplutils.cpp
index 239959a..e989a89 100644
--- a/kbarcode/zplutils.cpp
+++ b/kbarcode/zplutils.cpp
@@ -24,7 +24,7 @@
#include <tqpaintdevicemetrics.h>
#include <tqregexp.h>
#include <tqstring.h>
-#include <tqtextstream.h>
+#include <textstream.h>
// font table for IPL, thanks to Erich Kitzmueller
struct { int size; int c; int h; int w; } iplfonttable[] = {
@@ -123,7 +123,7 @@ TQString ZPLUtils::fieldOrigin( int x, int y )
{
TQString zpl = TQString();
- zpl = TQString("^FO%1,%2\n").tqarg( x ).tqarg( y ); // field origin
+ zpl = TQString("^FO%1,%2\n").arg( x ).arg( y ); // field origin
return zpl;
}
@@ -243,7 +243,7 @@ TQString IPLUtils::field( const TQString & data )
TQString IPLUtils::fieldOrigin( int x, int y )
{
- return TQString("o%1,%2;f0;").tqarg( x ).tqarg( y ); // field origin
+ return TQString("o%1,%2;f0;").arg( x ).arg( y ); // field origin
}
TQString IPLUtils::footer()