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 /src/kernel/qtextengine.cpp | |
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 'src/kernel/qtextengine.cpp')
-rw-r--r-- | src/kernel/qtextengine.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/kernel/qtextengine.cpp b/src/kernel/qtextengine.cpp index d23f21e92..48839b5c8 100644 --- a/src/kernel/qtextengine.cpp +++ b/src/kernel/qtextengine.cpp @@ -875,11 +875,11 @@ static void calcLineBreaks(const TQString &str, TQCharAttributes *charAttributes } } -#if defined( Q_WS_X11 ) || defined ( Q_WS_QWS ) +#if defined( TQ_WS_X11 ) || defined ( TQ_WS_QWS ) # include "qtextengine_unix.cpp" -#elif defined( Q_WS_WIN ) +#elif defined( TQ_WS_WIN ) # include "qtextengine_win.cpp" -#elif defined( Q_WS_MAC ) +#elif defined( TQ_WS_MAC ) # include "qtextengine_mac.cpp" #endif @@ -888,7 +888,7 @@ static void calcLineBreaks(const TQString &str, TQCharAttributes *charAttributes TQTextEngine::TQTextEngine( const TQString &str, TQFontPrivate *f ) : string( str ), fnt( f ), direction( TQChar::DirON ), haveCharAttributes( FALSE ), widthOnly( FALSE ) { -#ifdef Q_WS_WIN +#ifdef TQ_WS_WIN if ( !resolvedUsp10 ) resolveUsp10(); #endif @@ -983,7 +983,7 @@ const TQCharAttributes *TQTextEngine::attributes() for ( int i = 0; i < items.size(); i++ ) { TQScriptItem &si = items[i]; -#ifdef Q_WS_WIN +#ifdef TQ_WS_WIN int script = uspScriptForItem(this, i); #else int script = si.analysis.script; |