diff options
Diffstat (limited to 'tqtinterface/qt4/tools/qvfb/skin.cpp')
-rw-r--r-- | tqtinterface/qt4/tools/qvfb/skin.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/tqtinterface/qt4/tools/qvfb/skin.cpp b/tqtinterface/qt4/tools/qvfb/skin.cpp index 795de3a..2ef9ac3 100644 --- a/tqtinterface/qt4/tools/qvfb/skin.cpp +++ b/tqtinterface/qt4/tools/qvfb/skin.cpp @@ -73,16 +73,16 @@ Skin::Skin( TQVFb *p, const TQString &skinFile, int &viewW, int &viewH ) : TQWid // areas[i].keyCode, areas[i].x1, areas[i].y1, areas[i].x2, areas[i].y2 ); } - tqparent = p; + parent = p; skinImageUp = new TQPixmap( skinImageUpFileName ); skinImageDown = new TQPixmap( skinImageDownFileName ); // setPixmap( ipaq ); setFixedSize( skinImageUp->size() ); - TQBitmap tqmask = skinImageUp->createHeuristicMask(); + TQBitmap mask = skinImageUp->createHeuristicMask(); int wf = WStyle_Customize | WType_TopLevel | WStyle_NoBorder; - tqparent->reparent( 0, wf, pos(), TRUE ); - tqparent->setMask( tqmask ); - tqparent->setFixedSize( skinImageUp->size() ); + parent->reparent( 0, wf, pos(), TRUE ); + parent->setMask( mask ); + parent->setFixedSize( skinImageUp->size() ); buttonPressed = FALSE; buttonIndex = 0; } @@ -120,7 +120,7 @@ void Skin::paintEvent( TQPaintEvent * ) void Skin::mousePressEvent( TQMouseEvent *e ) { if (e->button() == RightButton) { - tqparent->popupMenu(); + parent->popupMenu(); } else { buttonPressed = FALSE; @@ -154,7 +154,7 @@ void Skin::mouseMoveEvent( TQMouseEvent *e ) { if ( buttonPressed == FALSE ) { TQPoint newpos = e->globalPos() - clickPos; - tqparent->move( newpos ); + parent->move( newpos ); } } |