summaryrefslogtreecommitdiffstats
path: root/src/kernel/qpsprinter.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-06-25 12:25:06 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-06-25 12:25:06 +0900
commita09a6bc05e3f64c27e7c84dd768c7720fdf41136 (patch)
treefe5a644a42056c012132e5bbc57f3ce1ba40d5c2 /src/kernel/qpsprinter.cpp
parentbba3e1fa3870a23f1cf0b5d1143ffd646ac797a4 (diff)
downloadtqt3-a09a6bc05e3f64c27e7c84dd768c7720fdf41136.tar.gz
tqt3-a09a6bc05e3f64c27e7c84dd768c7720fdf41136.zip
Remove documentation for QWS classes and Qt/Embedded
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/kernel/qpsprinter.cpp')
-rw-r--r--src/kernel/qpsprinter.cpp10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/kernel/qpsprinter.cpp b/src/kernel/qpsprinter.cpp
index 22acd9832..943cefff4 100644
--- a/src/kernel/qpsprinter.cpp
+++ b/src/kernel/qpsprinter.cpp
@@ -95,7 +95,7 @@
#endif
#endif
-#if defined( TQ_WS_X11 ) || defined (TQ_WS_QWS)
+#if defined( TQ_WS_X11 )
#include "qfontdata_p.h"
#include "qfontengine_p.h"
#include "tqtextlayout_p.h"
@@ -2439,9 +2439,6 @@ void TQPSPrinterFontTTF::drawText( TQTextStream &stream, const TQPoint &p, TQTex
// This helps us get arabic for XLFD fonts working. In that case we have a Unicode
// cmap (== 0), and the glyphs array contains the shaped string.
bool useGlyphAsUnicode = (type == TQFontEngine::XLFD && si.fontEngine->cmap() == 0);
-#else // TQ_WS_QWS
- const bool glyphIndices = FALSE;
- const bool useGlyphAsUnicode = TRUE;
#endif
stream << "<";
if ( si.analysis.bidiLevel % 2 ) {
@@ -4916,7 +4913,6 @@ TQPSPrinterFont::TQPSPrinterFont(const TQFont &f, int script, TQPSPrinterPrivate
enum { NONE, PFB, PFA, TTF } type = NONE;
TQFontEngine *engine = f.d->engineForScript( (TQFont::Script) script );
- // ### implement similar code for TQWS and WIN
xfontname = makePSFontName( engine );
#if defined( TQ_WS_X11 )
@@ -6165,11 +6161,7 @@ void TQPSPrinterPrivate::flushPage( bool last )
if ( buffer &&
// ( last || pagesInBuffer++ > -1 ||
// ( pagesInBuffer > 4 && buffer->size() > 262144 ) ) )
-#ifdef TQ_WS_QWS
- (last || buffer->size() > 2000000) // embedded is usually limited in memory
-#else
(last || buffer->size() > 50000000)
-#endif
) {
// tqDebug("emiting header at page %d", pageCount );
emitHeader( last );