summaryrefslogtreecommitdiffstats
path: root/fifteenapplet
diff options
context:
space:
mode:
Diffstat (limited to 'fifteenapplet')
-rw-r--r--fifteenapplet/fifteenapplet.cpp2
-rw-r--r--fifteenapplet/qttableview.cpp6
2 files changed, 4 insertions, 4 deletions
diff --git a/fifteenapplet/fifteenapplet.cpp b/fifteenapplet/fifteenapplet.cpp
index 3dc453f..8393f9e 100644
--- a/fifteenapplet/fifteenapplet.cpp
+++ b/fifteenapplet/fifteenapplet.cpp
@@ -235,7 +235,7 @@ void PiecesTable::mousePressEvent(TQMouseEvent* e)
// GAME LOGIC
// find the free position
- int pos = _map.tqfind(15);
+ int pos = _map.find(15);
if(pos < 0) return;
int frow = pos / numCols();
diff --git a/fifteenapplet/qttableview.cpp b/fifteenapplet/qttableview.cpp
index 9f51fa0..4f60216 100644
--- a/fifteenapplet/qttableview.cpp
+++ b/fifteenapplet/qttableview.cpp
@@ -1280,7 +1280,7 @@ void QtTableView::paintEvent( TQPaintEvent *e )
TQPainter paint( this );
- if ( !contentsRect().tqcontains( updateR, TRUE ) ) {// update frame ?
+ if ( !contentsRect().contains( updateR, TRUE ) ) {// update frame ?
drawFrame( &paint );
if ( updateR.left() < frameWidth() ) //###
updateR.setLeft( frameWidth() );
@@ -1343,7 +1343,7 @@ void QtTableView::paintEvent( TQPaintEvent *e )
matrix.translate( xPos, yPos );
paint.setWorldMatrix( matrix );
if ( testTableFlags(Tbl_clipCellPainting) ||
- frameWidth() > 0 && !winR.tqcontains( cellR ) ) { //##arnt
+ frameWidth() > 0 && !winR.contains( cellR ) ) { //##arnt
paint.setClipRect( cellUR );
paintCell( &paint, row, col );
paint.setClipping( FALSE );
@@ -1355,7 +1355,7 @@ void QtTableView::paintEvent( TQPaintEvent *e )
#else
paint.translate( xPos, yPos );
if ( testTableFlags(Tbl_clipCellPainting) ||
- frameWidth() > 0 && !winR.tqcontains( cellR ) ) { //##arnt
+ frameWidth() > 0 && !winR.contains( cellR ) ) { //##arnt
paint.setClipRect( cellUR );
paintCell( &paint, row, col );
paint.setClipping( FALSE );