diff options
author | Timothy Pearson <[email protected]> | 2011-12-18 18:08:55 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-18 18:08:55 -0600 |
commit | 09c863183250d07f82c0919e0a40fc7834c32192 (patch) | |
tree | 2e93b57e4c4a6f0548222e04d1b7bda1ade1c742 /src/projects/k3bfillstatusdisplay.cpp | |
parent | 650b58e8e66f8e3e1cf78ee3e0037f4c9e00699a (diff) | |
download | k3b-09c863183250d07f82c0919e0a40fc7834c32192.tar.gz k3b-09c863183250d07f82c0919e0a40fc7834c32192.zip |
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'src/projects/k3bfillstatusdisplay.cpp')
-rw-r--r-- | src/projects/k3bfillstatusdisplay.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/projects/k3bfillstatusdisplay.cpp b/src/projects/k3bfillstatusdisplay.cpp index 30f10e6..d748dce 100644 --- a/src/projects/k3bfillstatusdisplay.cpp +++ b/src/projects/k3bfillstatusdisplay.cpp @@ -72,7 +72,7 @@ K3bFillStatusDisplayWidget::K3bFillStatusDisplayWidget( K3bDoc* doc, TQWidget* p { d = new Private(); d->doc = doc; - tqsetSizePolicy( TQSizePolicy( TQSizePolicy::Minimum, TQSizePolicy::Preferred ) ); + setSizePolicy( TQSizePolicy( TQSizePolicy::Minimum, TQSizePolicy::Preferred ) ); } @@ -102,13 +102,13 @@ void K3bFillStatusDisplayWidget::setCdSize( const K3b::Msf& size ) } -TQSize K3bFillStatusDisplayWidget::tqsizeHint() const +TQSize K3bFillStatusDisplayWidget::sizeHint() const { - return tqminimumSizeHint(); + return minimumSizeHint(); } -TQSize K3bFillStatusDisplayWidget::tqminimumSizeHint() const +TQSize K3bFillStatusDisplayWidget::minimumSizeHint() const { int margin = 2; TQFontMetrics fm( font() ); @@ -127,7 +127,7 @@ void K3bFillStatusDisplayWidget::paintEvent( TQPaintEvent* ) { // double buffer TQPixmap buffer( size() ); - buffer.fill( tqcolorGroup().base() ); + buffer.fill( colorGroup().base() ); TQPainter p; p.tqbegin( &buffer, TQT_TQOBJECT(this) ); p.setPen( TQt::black ); // we use a fixed bar color (which is not very nice btw, so we also fix the text color) @@ -577,7 +577,7 @@ void K3bFillStatusDisplay::slotCustomSize() void K3bFillStatusDisplay::slotMenuButtonClicked() { - TQSize size = d->showDvdSizes ? d->dvdPopup->tqsizeHint() : d->popup->tqsizeHint(); + TQSize size = d->showDvdSizes ? d->dvdPopup->sizeHint() : d->popup->sizeHint(); slotPopupMenu( d->buttonMenu->mapToGlobal(TQPoint(d->buttonMenu->width(), 0)) + TQPoint(-1*size.width(), -1*size.height()) ); } |