summaryrefslogtreecommitdiffstats
path: root/tqtinterface/qt4/src/kernel/tqdrawutil.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-08-10 12:13:27 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-08-10 12:13:27 -0500
commitd296f1d337dabfeae5191955fdadb874965dbbe9 (patch)
tree1a4b3b4cca01f2ea77eee2497297219d60e9bbd4 /tqtinterface/qt4/src/kernel/tqdrawutil.cpp
parenteaa7ee2e0bbca40ba3173c4304f81957e8964291 (diff)
downloadexperimental-d296f1d337dabfeae5191955fdadb874965dbbe9.tar.gz
experimental-d296f1d337dabfeae5191955fdadb874965dbbe9.zip
rename the following methods:
tqparent parent tqmask mask
Diffstat (limited to 'tqtinterface/qt4/src/kernel/tqdrawutil.cpp')
-rw-r--r--tqtinterface/qt4/src/kernel/tqdrawutil.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/tqtinterface/qt4/src/kernel/tqdrawutil.cpp b/tqtinterface/qt4/src/kernel/tqdrawutil.cpp
index 07e2bb4..b220e58 100644
--- a/tqtinterface/qt4/src/kernel/tqdrawutil.cpp
+++ b/tqtinterface/qt4/src/kernel/tqdrawutil.cpp
@@ -621,27 +621,27 @@ void qDrawItem( TQPainter *p, TQt::GUIStyle gs,
x += w - pm.width();
if ( !enabled ) {
- if ( pm.tqmask() ) { // pixmap with a tqmask
- if ( !pm.selfMask() ) { // tqmask is not pixmap itself
- TQPixmap pmm( *pm.tqmask() );
+ if ( pm.mask() ) { // pixmap with a mask
+ if ( !pm.selfMask() ) { // mask is not pixmap itself
+ TQPixmap pmm( *pm.mask() );
pmm.setMask( *((TQBitmap *)&pmm) );
pm = pmm;
}
- } else if ( pm.depth() == 1 ) { // monochrome pixmap, no tqmask
+ } else if ( pm.depth() == 1 ) { // monochrome pixmap, no mask
pm.setMask( *((TQBitmap *)&pm) );
#ifndef TQT_NO_IMAGE_HEURISTIC_MASK
- } else { // color pixmap, no tqmask
+ } else { // color pixmap, no mask
TQString k;
k.sprintf( "$qt-drawitem-%x", pm.serialNumber() );
- TQPixmap *tqmask = TQPixmapCache::find(k);
+ TQPixmap *mask = TQPixmapCache::find(k);
bool del=FALSE;
- if ( !tqmask ) {
- tqmask = new TQPixmap( pm.createHeuristicMask() );
- tqmask->setMask( *((TQBitmap*)tqmask) );
- del = !TQPixmapCache::insert( k, tqmask );
+ if ( !mask ) {
+ mask = new TQPixmap( pm.createHeuristicMask() );
+ mask->setMask( *((TQBitmap*)mask) );
+ del = !TQPixmapCache::insert( k, mask );
}
- pm = *tqmask;
- if (del) delete tqmask;
+ pm = *mask;
+ if (del) delete mask;
#endif
}
if ( gs == TQt::WindowsStyle ) {