From f59dfa08651a47f21d004e8e4cb5020b8035287e Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 16 Dec 2011 09:59:25 -0600 Subject: Revert "Rename a number of old tq methods that are no longer tq specific" This reverts commit 83fbc82a101309e171089f0d5ed080f82a367345. --- noatun/modules/simple/propertiesdialog.ui | 16 ++++++++-------- noatun/modules/simple/propertiesdialog.ui.h | 2 +- noatun/modules/simple/userinterface.cpp | 14 +++++++------- 3 files changed, 16 insertions(+), 16 deletions(-) (limited to 'noatun/modules/simple') diff --git a/noatun/modules/simple/propertiesdialog.ui b/noatun/modules/simple/propertiesdialog.ui index ca13195a..8712ed1a 100644 --- a/noatun/modules/simple/propertiesdialog.ui +++ b/noatun/modules/simple/propertiesdialog.ui @@ -51,7 +51,7 @@ nameField - + 180 0 @@ -82,7 +82,7 @@ iconLabel - + AlignVCenter|AlignLeft @@ -109,7 +109,7 @@ Expanding - + 20 20 @@ -142,13 +142,13 @@ TextLabel2_2 - + 25 0 - + 25 32767 @@ -241,13 +241,13 @@ TextLabel2 - + 80 0 - + 80 32767 @@ -305,7 +305,7 @@ Expanding - + 20 20 diff --git a/noatun/modules/simple/propertiesdialog.ui.h b/noatun/modules/simple/propertiesdialog.ui.h index ef6f14f9..3b7f6834 100644 --- a/noatun/modules/simple/propertiesdialog.ui.h +++ b/noatun/modules/simple/propertiesdialog.ui.h @@ -46,7 +46,7 @@ void PropertiesDialog::setPlayObject( PlaylistItem pi, Arts::PlayObject po ) // PlaylistItem properties (name and mimetype) if (!pi.isNull()) { - setCaption( i18n("Properties for %1").arg(pi.url().fileName()) ); + setCaption( i18n("Properties for %1").tqarg(pi.url().fileName()) ); KSharedPtr mime = KMimeType::mimeType( pi.mimetype() ); iconLabel->setPixmap( mime->pixmap( KIcon::Desktop, KIcon::SizeMedium ) ); diff --git a/noatun/modules/simple/userinterface.cpp b/noatun/modules/simple/userinterface.cpp index 2661f27c..591335f9 100644 --- a/noatun/modules/simple/userinterface.cpp +++ b/noatun/modules/simple/userinterface.cpp @@ -74,7 +74,7 @@ SimpleUI::SimpleUI() napp->player()->handleButtons(); - resize( minimumSize() ); + resize( tqminimumSize() ); // Show UI and calculate video widget frame show(); @@ -173,7 +173,7 @@ void SimpleUI::setupCentralWidget() npWidget->setSpacing( 0 ); positionLabel = new TQLabel( statusBar() ); - positionLabel->setAlignment( AlignVCenter | AlignCenter ); + positionLabel->tqsetAlignment( 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->setAlignment( AlignCenter ); - volumeLabel->setFixedSize( volumeLabel->sizeHint() ); + volumeLabel->tqsetAlignment( AlignCenter ); + volumeLabel->setFixedSize( volumeLabel->tqsizeHint() ); TQHBox *volumeSubFrame = new TQHBox( volumeFrame ); volumeSlider = new L33tSlider( 0, 100, 10, 0,Qt::Vertical, volumeSubFrame ); volumeSlider->setValue( 100 - napp->player()->volume() ); - volumeSlider->setFixedSize( volumeSlider->sizeHint() ); + volumeSlider->setFixedSize( volumeSlider->tqsizeHint() ); - volumeFrame->resize( volumeFrame->sizeHint() ); + volumeFrame->resize( volumeFrame->tqsizeHint() ); 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( minimumSizeHint().width(), 1 ); + video->setMinimumSize( tqminimumSizeHint().width(), 1 ); // Create properties dialog propertiesDialog = new PropertiesDialog( this ); -- cgit v1.2.1