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-14 21:06:27 +0900 |
commit | 473cd1e8a525d82f49e936d76daabe3d094a8807 (patch) | |
tree | dc0fe3faad1958b846eeebb02208728c0d278854 /src/widgets/qiconview.cpp | |
parent | ecca365daf06c711cf30f93f4c773dabf5642790 (diff) | |
download | tqt-473cd1e8a525d82f49e936d76daabe3d094a8807.tar.gz tqt-473cd1e8a525d82f49e936d76daabe3d094a8807.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 'src/widgets/qiconview.cpp')
-rw-r--r-- | src/widgets/qiconview.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/widgets/qiconview.cpp b/src/widgets/qiconview.cpp index ce41f05bc..154702ea7 100644 --- a/src/widgets/qiconview.cpp +++ b/src/widgets/qiconview.cpp @@ -125,14 +125,14 @@ static const char * const unknown_xpm[] = { static TQPixmap *unknown_icon = 0; static TQPixmap *qiv_buffer_pixmap = 0; -#if !defined(Q_WS_X11) +#if !defined(TQ_WS_X11) static TQPixmap *qiv_selection = 0; #endif static bool optimize_layout = FALSE; static TQCleanupHandler<TQPixmap> qiv_cleanup_pixmap; -#if !defined(Q_WS_X11) +#if !defined(TQ_WS_X11) static void createSelectionPixmap( const TQColorGroup &cg ) { TQBitmap m( 2, 2 ); @@ -2022,7 +2022,7 @@ void TQIconViewItem::paintItem( TQPainter *p, const TQColorGroup &cg ) p2.end(); buffer->setMask( mask ); p2.begin( buffer ); -#if defined(Q_WS_X11) +#if defined(TQ_WS_X11) p2.fillRect( pix->rect(), TQBrush( cg.highlight(), TQBrush::Dense4Pattern) ); #else // in WIN32 Dense4Pattern doesn't work correctly (transparency problem), so work around it if ( iconView()->d->drawActiveSelection ) { @@ -2832,7 +2832,7 @@ void TQIconView::styleChange( TQStyle& old ) item->calcRect(); } -#if !defined(Q_WS_X11) +#if !defined(TQ_WS_X11) delete qiv_selection; qiv_selection = 0; #endif |