summaryrefslogtreecommitdiffstats
path: root/noatun/modules/simple
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:49:11 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:49:11 -0600
commit83fbc82a101309e171089f0d5ed080f82a367345 (patch)
treec7b61083b6e2d4bfceaace9a7f018181ea36afec /noatun/modules/simple
parentb248983f92b865ef74636ab5a673ae3a88f79c20 (diff)
downloadtdemultimedia-83fbc82a101309e171089f0d5ed080f82a367345.tar.gz
tdemultimedia-83fbc82a101309e171089f0d5ed080f82a367345.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'noatun/modules/simple')
-rw-r--r--noatun/modules/simple/propertiesdialog.ui16
-rw-r--r--noatun/modules/simple/propertiesdialog.ui.h2
-rw-r--r--noatun/modules/simple/userinterface.cpp14
3 files changed, 16 insertions, 16 deletions
diff --git a/noatun/modules/simple/propertiesdialog.ui b/noatun/modules/simple/propertiesdialog.ui
index 8712ed1a..ca13195a 100644
--- a/noatun/modules/simple/propertiesdialog.ui
+++ b/noatun/modules/simple/propertiesdialog.ui
@@ -51,7 +51,7 @@
<property name="name">
<cstring>nameField</cstring>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>180</width>
<height>0</height>
@@ -82,7 +82,7 @@
<property name="name">
<cstring>iconLabel</cstring>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignVCenter|AlignLeft</set>
</property>
</widget>
@@ -109,7 +109,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>20</height>
@@ -142,13 +142,13 @@
<property name="name">
<cstring>TextLabel2_2</cstring>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>25</width>
<height>0</height>
</size>
</property>
- <property name="tqmaximumSize">
+ <property name="maximumSize">
<size>
<width>25</width>
<height>32767</height>
@@ -241,13 +241,13 @@
<property name="name">
<cstring>TextLabel2</cstring>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>80</width>
<height>0</height>
</size>
</property>
- <property name="tqmaximumSize">
+ <property name="maximumSize">
<size>
<width>80</width>
<height>32767</height>
@@ -305,7 +305,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>20</height>
diff --git a/noatun/modules/simple/propertiesdialog.ui.h b/noatun/modules/simple/propertiesdialog.ui.h
index 3b7f6834..ef6f14f9 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").tqarg(pi.url().fileName()) );
+ setCaption( i18n("Properties for %1").arg(pi.url().fileName()) );
KSharedPtr<KMimeType> 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 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 );