diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:30:05 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:30:05 -0600 |
commit | 64e14d1bc38e39001b5ec84a6e13198ef3c67315 (patch) | |
tree | 437361622d1cb449120e4eb6ca9265f3e838db8c /kbarcode/zplutils.cpp | |
parent | fb010b103703b3229758ce9cf1341979cc450204 (diff) | |
download | kbarcode-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.cpp | 6 |
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() |