diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-18 18:33:07 -0600 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2012-06-03 18:07:29 +0200 |
commit | cc17a105bc9cf5683ff3f208214068c571fcde59 (patch) | |
tree | b96dcddb68759dec0d35273e6b79f0c7520be820 /noatun/modules/simple/userinterface.cpp | |
parent | 558317e518c5c27b0788242b8b9e828fbabb5b89 (diff) | |
download | tdemultimedia-cc17a105bc9cf5683ff3f208214068c571fcde59.tar.gz tdemultimedia-cc17a105bc9cf5683ff3f208214068c571fcde59.zip |
Rename old tq methods that no longer need a unique name
(cherry picked from commit 3c299dfe48c0060272c2966fff599b3b417e2ee4)
Diffstat (limited to 'noatun/modules/simple/userinterface.cpp')
-rw-r--r-- | noatun/modules/simple/userinterface.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/noatun/modules/simple/userinterface.cpp b/noatun/modules/simple/userinterface.cpp index 591335f9..2661f27c 100644 --- a/noatun/modules/simple/userinterface.cpp +++ b/noatun/modules/simple/userinterface.cpp @@ -74,7 +74,7 @@ SimpleUI::SimpleUI() napp->player()->handleButtons(); - resize( tqminimumSize() ); + resize( minimumSize() ); // Show UI and calculate video widget frame show(); @@ -173,7 +173,7 @@ void SimpleUI::setupCentralWidget() npWidget->setSpacing( 0 ); positionLabel = new TQLabel( statusBar() ); - positionLabel->tqsetAlignment( AlignVCenter | AlignCenter ); + positionLabel->setAlignment( AlignVCenter | AlignCenter ); positionLabel->setFixedSize( fontMetrics().size( 0, " 00:00/00:00 " ) ); statusBar()->addWidget( positionLabel, 0, true ); @@ -238,15 +238,15 @@ void SimpleUI::setupCentralWidget() volumeLabel = new TQLabel( volumeFrame ); volumeLabel->setText( "100%" ); - volumeLabel->tqsetAlignment( AlignCenter ); - volumeLabel->setFixedSize( volumeLabel->tqsizeHint() ); + volumeLabel->setAlignment( AlignCenter ); + volumeLabel->setFixedSize( volumeLabel->sizeHint() ); TQHBox *volumeSubFrame = new TQHBox( volumeFrame ); volumeSlider = new L33tSlider( 0, 100, 10, 0,Qt::Vertical, volumeSubFrame ); volumeSlider->setValue( 100 - napp->player()->volume() ); - volumeSlider->setFixedSize( volumeSlider->tqsizeHint() ); + volumeSlider->setFixedSize( volumeSlider->sizeHint() ); - volumeFrame->resize( volumeFrame->tqsizeHint() ); + volumeFrame->resize( volumeFrame->sizeHint() ); connect( volumeSlider, TQT_SIGNAL(sliderMoved(int)), TQT_SLOT(slotVolumeSliderMoved(int)) ); connect( volumeSlider, TQT_SIGNAL(userChanged(int)), TQT_SLOT(slotVolumeSliderMoved(int)) ); @@ -254,7 +254,7 @@ void SimpleUI::setupCentralWidget() setCentralWidget( npWidget ); - video->setMinimumSize( tqminimumSizeHint().width(), 1 ); + video->setMinimumSize( minimumSizeHint().width(), 1 ); // Create properties dialog propertiesDialog = new PropertiesDialog( this ); |