summaryrefslogtreecommitdiffstats
path: root/src/kernel/qpsprinter.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2018-10-17 19:46:30 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2018-10-17 19:46:30 +0900
commit69d87202cb139ffe9e4b3ce92e434523b7b09b64 (patch)
tree7b133311a4d5e5394f2612dced305f815c04847b /src/kernel/qpsprinter.cpp
parente07baa10b7b8e7105e02a621efadac67216c61ed (diff)
downloadtqt3-69d87202cb139ffe9e4b3ce92e434523b7b09b64.tar.gz
tqt3-69d87202cb139ffe9e4b3ce92e434523b7b09b64.zip
QT_NO_* -> TQT_NO_* renaming.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/kernel/qpsprinter.cpp')
-rw-r--r--src/kernel/qpsprinter.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/kernel/qpsprinter.cpp b/src/kernel/qpsprinter.cpp
index 90d81223..42c1b8bc 100644
--- a/src/kernel/qpsprinter.cpp
+++ b/src/kernel/qpsprinter.cpp
@@ -52,7 +52,7 @@
#include "qpsprinter_p.h"
-#ifndef QT_NO_PRINTER
+#ifndef TQT_NO_PRINTER
#undef Q_PRINTER_USE_TYPE42
@@ -1416,7 +1416,7 @@ public:
bool dirtyBkColor;
TQt::BGMode bkMode;
bool dirtyBkMode;
-#ifndef QT_NO_TEXTCODEC
+#ifndef TQT_NO_TEXTCODEC
TQTextCodec * currentFontCodec;
#endif
TQString currentFont;
@@ -4241,7 +4241,7 @@ void TQPSPrinterFontNotFound::download(TQTextStream& s, bool)
TQPSPrinterFontPrivate::download(s, TRUE);
}
-#ifndef QT_NO_TEXTCODEC
+#ifndef TQT_NO_TEXTCODEC
// =================== A font file for asian ============
class TQPSPrinterFontAsian
@@ -4923,7 +4923,7 @@ TQPSPrinterFont::TQPSPrinterFont(const TQFont &f, int script, TQPSPrinterPrivate
bool xlfd = FALSE;
//tqDebug("engine = %p name=%s, script=%d", engine, engine ? engine->name() : "(null)", script);
-#ifndef QT_NO_XFTFREETYPE
+#ifndef TQT_NO_XFTFREETYPE
if ( tqt_has_xft && engine && engine->type() == TQFontEngine::Xft ) {
XftPattern *pattern = static_cast<TQFontEngineXft *>( engine )->pattern();
char *filename = 0;
@@ -4952,7 +4952,7 @@ TQPSPrinterFont::TQPSPrinterFont(const TQFont &f, int script, TQPSPrinterPrivate
}
}
#endif // Q_WS_X11
-#ifndef QT_NO_TEXTCODEC
+#ifndef TQT_NO_TEXTCODEC
// map some scripts to something more useful
if ( script == TQFont::Han ) {
TQTextCodec *lc = TQTextCodec::codecForLocale();
@@ -5088,7 +5088,7 @@ TQPSPrinterFont::TQPSPrinterFont(const TQFont &f, int script, TQPSPrinterPrivate
case NONE:
default:
-#ifndef QT_NO_TEXTCODEC
+#ifndef TQT_NO_TEXTCODEC
if ( script == TQFont::Hiragana )
p = new TQPSPrinterFontJapanese( engine );
@@ -5145,7 +5145,7 @@ TQPSPrinterFont::TQPSPrinterFont(const TQFont &f, int script, TQPSPrinterPrivate
TQPSPrinterPrivate::TQPSPrinterPrivate( TQPrinter *prt, int filedes )
: buffer( 0 ), outDevice( 0 ), fd( filedes ), pageBuffer( 0 ), fonts(27, FALSE), fontBuffer(0), savedImage( 0 ),
dirtypen( FALSE ), dirtybrush( FALSE ), dirtyBkColor( FALSE ), bkMode( TQt::TransparentMode ), dirtyBkMode( FALSE ),
-#ifndef QT_NO_TEXTCODEC
+#ifndef TQT_NO_TEXTCODEC
currentFontCodec( 0 ),
#endif
fm( TQFont() ), textY( 0 )
@@ -5275,10 +5275,10 @@ void TQPSPrinterPrivate::setFont( const TQFont & fnt, int script )
if ( !fontsUsed.contains( ps ) )
fontsUsed += ps;
-#ifndef QT_NO_TEXTCODEC
+#ifndef TQT_NO_TEXTCODEC
TQTextCodec * codec = 0;
// ###
-// #ifndef QT_NO_TEXTCODEC
+// #ifndef TQT_NO_TEXTCODEC
// i = 0;
// do {
// if ( unicodevalues[i].cs == f.charSet() )
@@ -5859,7 +5859,7 @@ void TQPSPrinterPrivate::drawImage( TQPainter *paint, float x, float y, float w,
void TQPSPrinterPrivate::matrixSetup( TQPainter *paint )
{
-#ifndef QT_NO_TRANSFORMATIONS
+#ifndef TQT_NO_TRANSFORMATIONS
TQWMatrix tmp;
if ( paint->hasViewXForm() ) {
TQRect viewport = paint->viewport();
@@ -6487,7 +6487,7 @@ bool TQPSPrinter::cmd( int c , TQPainter *paint, TQPDevCmdParam *p )
TQRect r = *(p[0].rect);
TQImage img = *(p[1].image);
TQImage mask;
-#ifndef QT_NO_IMAGE_DITHER_TO_1
+#ifndef TQT_NO_IMAGE_DITHER_TO_1
if ( img.hasAlphaBuffer() )
mask = img.createAlphaMask();
#endif
@@ -6579,4 +6579,4 @@ bool TQPSPrinter::cmd( int c , TQPainter *paint, TQPDevCmdParam *p )
return TRUE;
}
-#endif // QT_NO_PRINTER
+#endif // TQT_NO_PRINTER