diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
commit | 1d14c95a7737078a695e99442628f450354c00ff (patch) | |
tree | f8a566f01e7edd9974aa10a7af636296cabcb933 /fifteenapplet | |
parent | 6537a93fb5bfe88e6a3e418f7445dd1202672f1d (diff) | |
download | tdetoys-1d14c95a7737078a695e99442628f450354c00ff.tar.gz tdetoys-1d14c95a7737078a695e99442628f450354c00ff.zip |
rename the following methods:
tqfind find
tqreplace replace
tqcontains contains
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdetoys@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'fifteenapplet')
-rw-r--r-- | fifteenapplet/fifteenapplet.cpp | 2 | ||||
-rw-r--r-- | fifteenapplet/qttableview.cpp | 6 |
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 ); |