summaryrefslogtreecommitdiffstats
path: root/experimental/tqtinterface/qt4/src/kernel/tqcursor_x11.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'experimental/tqtinterface/qt4/src/kernel/tqcursor_x11.cpp')
-rw-r--r--experimental/tqtinterface/qt4/src/kernel/tqcursor_x11.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/experimental/tqtinterface/qt4/src/kernel/tqcursor_x11.cpp b/experimental/tqtinterface/qt4/src/kernel/tqcursor_x11.cpp
index aac333607..4b9bd069d 100644
--- a/experimental/tqtinterface/qt4/src/kernel/tqcursor_x11.cpp
+++ b/experimental/tqtinterface/qt4/src/kernel/tqcursor_x11.cpp
@@ -404,13 +404,13 @@ TQCursor::TQCursor( HANDLE cursor )
-void TQCursor::setBitmap( const TQBitmap &bitmap, const TQBitmap &tqmask,
+void TQCursor::setBitmap( const TQBitmap &bitmap, const TQBitmap &mask,
int hotX, int hotY )
{
if ( !initialized )
initialize();
- if ( bitmap.depth() != 1 || tqmask.depth() != 1 ||
- bitmap.size() != tqmask.size() ) {
+ if ( bitmap.depth() != 1 || mask.depth() != 1 ||
+ bitmap.size() != mask.size() ) {
#if defined(TQT_CHECK_NULL)
qWarning( "TQCursor: Cannot create bitmap cursor; invalid bitmap(s)" );
#endif
@@ -422,7 +422,7 @@ void TQCursor::setBitmap( const TQBitmap &bitmap, const TQBitmap &tqmask,
data = new TQCursorData;
TQ_CHECK_PTR( data );
data->bm = new TQBitmap( bitmap );
- data->bmm = new TQBitmap( tqmask );
+ data->bmm = new TQBitmap( mask );
data->hcurs = 0;
data->ctqshape = BitmapCursor;
data->hx = hotX >= 0 ? hotX : bitmap.width()/2;
@@ -526,11 +526,11 @@ const TQBitmap *TQCursor::bitmap() const
}
/*!
- Returns the cursor bitmap tqmask, or 0 if it is one of the standard
+ Returns the cursor bitmap mask, or 0 if it is one of the standard
cursors.
*/
-const TQBitmap *TQCursor::tqmask() const
+const TQBitmap *TQCursor::mask() const
{
if ( !initialized )
initialize();