diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-18 18:35:14 -0600 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2012-06-04 02:12:11 +0200 |
commit | b4dcf7866a6902adf76c3837f65395a37973a681 (patch) | |
tree | 2d8e09764958b35fb18acd0c535bd5f0d3358bce /fifteenapplet | |
parent | a876c4b60cd4eac78cae83900064a2c7655d9d59 (diff) | |
download | tdetoys-b4dcf7866a6902adf76c3837f65395a37973a681.tar.gz tdetoys-b4dcf7866a6902adf76c3837f65395a37973a681.zip |
Rename old tq methods that no longer need a unique name
(cherry picked from commit 3ee504ecba6caf3c2609a8648fe3659f2b541544)
Diffstat (limited to 'fifteenapplet')
-rw-r--r-- | fifteenapplet/fifteenapplet.cpp | 4 | ||||
-rw-r--r-- | fifteenapplet/qttableview.cpp | 10 |
2 files changed, 7 insertions, 7 deletions
diff --git a/fifteenapplet/fifteenapplet.cpp b/fifteenapplet/fifteenapplet.cpp index 83a45aa..0808480 100644 --- a/fifteenapplet/fifteenapplet.cpp +++ b/fifteenapplet/fifteenapplet.cpp @@ -120,7 +120,7 @@ void PiecesTable::paintCell(TQPainter *p, int row, int col) // draw cell background if(number == 16) - p->setBrush(tqcolorGroup().background()); + p->setBrush(colorGroup().background()); else p->setBrush(_colors[number-1]); p->setPen(NoPen); @@ -128,7 +128,7 @@ void PiecesTable::paintCell(TQPainter *p, int row, int col) // draw borders if (height() > 40) { - p->setPen(tqcolorGroup().text()); + p->setPen(colorGroup().text()); if(col < numCols()-1) p->drawLine(x2, 0, x2, y2); // right border line diff --git a/fifteenapplet/qttableview.cpp b/fifteenapplet/qttableview.cpp index 4aded39..1d4d29c 100644 --- a/fifteenapplet/qttableview.cpp +++ b/fifteenapplet/qttableview.cpp @@ -34,8 +34,8 @@ enum ScrollBarDirtyFlags { }; -#define HSBEXT horizontalScrollBar()->tqsizeHint().height() -#define VSBEXT verticalScrollBar()->tqsizeHint().width() +#define HSBEXT horizontalScrollBar()->sizeHint().height() +#define VSBEXT verticalScrollBar()->sizeHint().width() class QCornerSquare : public TQWidget // internal class @@ -1385,7 +1385,7 @@ void QtTableView::paintEvent( TQPaintEvent *e ) // outside the cells. TQRect viewR = viewRect(); - const TQColorGroup g = tqcolorGroup(); + const TQColorGroup g = colorGroup(); if ( xPos <= maxX ) { TQRect r = viewR; @@ -1443,7 +1443,7 @@ TQScrollBar *QtTableView::verticalScrollBar() const #ifndef TQT_NO_CURSOR sb->setCursor( arrowCursor ); #endif - sb->resize( sb->tqsizeHint() ); // height is irrelevant + sb->resize( sb->sizeHint() ); // height is irrelevant Q_CHECK_PTR(sb); sb->setTracking( FALSE ); sb->setFocusPolicy( TQ_NoFocus ); @@ -1474,7 +1474,7 @@ TQScrollBar *QtTableView::horizontalScrollBar() const #ifndef TQT_NO_CURSOR sb->setCursor( arrowCursor ); #endif - sb->resize( sb->tqsizeHint() ); // width is irrelevant + sb->resize( sb->sizeHint() ); // width is irrelevant sb->setFocusPolicy( TQ_NoFocus ); Q_CHECK_PTR(sb); sb->setTracking( FALSE ); |