diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-02-12 14:08:42 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-02-12 14:08:52 +0900 |
commit | 67bff2edcacb208dc44dcd521386bef686dc6dbf (patch) | |
tree | 538584042585402a59d4b1464b117033778ccc28 /doc/html/qprinter-h.html | |
parent | fb401a891f1b426e9419c0cb16403df407138611 (diff) | |
download | tqt3-67bff2edcacb208dc44dcd521386bef686dc6dbf.tar.gz tqt3-67bff2edcacb208dc44dcd521386bef686dc6dbf.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>
Diffstat (limited to 'doc/html/qprinter-h.html')
-rw-r--r-- | doc/html/qprinter-h.html | 12 |
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 ); |