summaryrefslogtreecommitdiffstats
path: root/doc/html/qprinter-h.html
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-02-12 14:08:42 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-02-14 21:06:27 +0900
commit473cd1e8a525d82f49e936d76daabe3d094a8807 (patch)
treedc0fe3faad1958b846eeebb02208728c0d278854 /doc/html/qprinter-h.html
parentecca365daf06c711cf30f93f4c773dabf5642790 (diff)
downloadtqt-473cd1e8.tar.gz
tqt-473cd1e8.zip
Replace Q_WS_* defines with TQ_WS_* equivalents
This is the first part of the replacement process. Usage of Q_WS_* has been replaced with the equivalent TQ_WS_*. Definition of Q_WS_* has been mirrored into TQ_WS_* defines, to allow TDE code to continue building till replacement is carried over to all other modules. Once that is completed, the original Q_WS_* defines will be removed. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 67bff2edcacb208dc44dcd521386bef686dc6dbf)
Diffstat (limited to 'doc/html/qprinter-h.html')
-rw-r--r--doc/html/qprinter-h.html12
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/html/qprinter-h.html b/doc/html/qprinter-h.html
index 986c90f4c..7ea98f330 100644
--- a/doc/html/qprinter-h.html
+++ b/doc/html/qprinter-h.html
@@ -144,11 +144,11 @@ public:
virtual void setOrientation( Orientation );
PageSize pageSize() const;
virtual void setPageSize( PageSize );
-#ifdef Q_WS_WIN
+#ifdef TQ_WS_WIN
void setWinPageSize( short winPageSize );
short winPageSize() const;
#endif
-#ifdef Q_WS_MAC
+#ifdef TQ_WS_MAC
bool printSetup();
bool pageSetup();
#endif
@@ -201,17 +201,17 @@ protected:
bool cmd( int, TQPainter *, TQPDevCmdParam * );
int metric( int ) const;
-#if defined(Q_WS_WIN)
+#if defined(TQ_WS_WIN)
virtual void setActive();
virtual void setIdle();
#endif
private:
-#if defined(Q_WS_X11) || defined(Q_WS_QWS)
+#if defined(TQ_WS_X11) || defined(TQ_WS_QWS)
TQPaintDevice *pdrv;
int pid;
#endif
-#if defined(Q_WS_MAC)
+#if defined(TQ_WS_MAC)
friend class TQPrinterPrivate;
PMPageFormat pformat;
PMPrintSettings psettings;
@@ -221,7 +221,7 @@ private:
void interpret(PMPrintSettings *);
void interpret(PMPageFormat *);
#endif
-#if defined(Q_WS_WIN)
+#if defined(TQ_WS_WIN)
void readPdlg( void* );
void readPdlgA( void* );
void writeDevmode( TQt::HANDLE );