summaryrefslogtreecommitdiffstats
path: root/noatun-plugins/alsaplayer
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:45:00 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:45:00 -0600
commitca82971624269719d487c6f7980d7237f9420036 (patch)
treecac461d765c50b2709a9ef6324940e70fe056ba2 /noatun-plugins/alsaplayer
parent0e4ea21f450acbb4ea3c5a1293341668494d7dd4 (diff)
downloadtdeaddons-ca82971624269719d487c6f7980d7237f9420036.tar.gz
tdeaddons-ca82971624269719d487c6f7980d7237f9420036.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'noatun-plugins/alsaplayer')
-rw-r--r--noatun-plugins/alsaplayer/AlsaPlayer.ui10
-rw-r--r--noatun-plugins/alsaplayer/configmodule.cpp8
-rw-r--r--noatun-plugins/alsaplayer/userinterface.cpp8
3 files changed, 13 insertions, 13 deletions
diff --git a/noatun-plugins/alsaplayer/AlsaPlayer.ui b/noatun-plugins/alsaplayer/AlsaPlayer.ui
index 73c4249..3280242 100644
--- a/noatun-plugins/alsaplayer/AlsaPlayer.ui
+++ b/noatun-plugins/alsaplayer/AlsaPlayer.ui
@@ -574,7 +574,7 @@
<property name="text">
<string>Speed:</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
<property name="hAlign" stdset="0">
@@ -1924,7 +1924,7 @@
<property name="text">
<string>Volume:</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
<property name="hAlign" stdset="0">
@@ -2205,7 +2205,7 @@
<property name="name">
<cstring>seeker</cstring>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>32</width>
<height>16</height>
@@ -2254,7 +2254,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>20</height>
@@ -2394,7 +2394,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-plugins/alsaplayer/configmodule.cpp b/noatun-plugins/alsaplayer/configmodule.cpp
index 0c98af7..664b1cb 100644
--- a/noatun-plugins/alsaplayer/configmodule.cpp
+++ b/noatun-plugins/alsaplayer/configmodule.cpp
@@ -25,7 +25,7 @@
#include <kconfig.h>
#include <tqcheckbox.h>
-#include <tqlayout.h>
+#include <layout.h>
#include "configmodule.h"
@@ -41,11 +41,11 @@ AlsaPlayerConfigModule::AlsaPlayerConfigModule(TQObject * parent)
{
scroll_ = new TQCheckBox(i18n("Scroll song title"), this);
- TQVBoxLayout * tqlayout = new TQVBoxLayout(this);
+ TQVBoxLayout * layout = new TQVBoxLayout(this);
- tqlayout->addWidget(scroll_);
+ layout->addWidget(scroll_);
- tqlayout->addStretch(100);
+ layout->addStretch(100);
reopen();
}
diff --git a/noatun-plugins/alsaplayer/userinterface.cpp b/noatun-plugins/alsaplayer/userinterface.cpp
index cc53b06..55a63fe 100644
--- a/noatun-plugins/alsaplayer/userinterface.cpp
+++ b/noatun-plugins/alsaplayer/userinterface.cpp
@@ -30,7 +30,7 @@
#include <tqtoolbutton.h>
#include <tqdragobject.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <tqtooltip.h>
#include <tqframe.h>
@@ -155,7 +155,7 @@ AlsaPlayer::AlsaPlayer()
loadConfig();
- resize(tqsizeHint().width(), tqminimumSizeHint().height());
+ resize(sizeHint().width(), minimumSizeHint().height());
show();
}
@@ -273,7 +273,7 @@ void AlsaPlayer::slotConfigChanged()
void AlsaPlayer::slotVolumeChanged(int i)
{
TQString text("%1%");
- volumeLabel->setText(text.tqarg(i));
+ volumeLabel->setText(text.arg(i));
volumeSlider->setValue(i);
}
@@ -312,7 +312,7 @@ void AlsaPlayer::slotSetSpeed(int newSpeed)
speed_ = newSpeed;
pauseButton->setEnabled(0 != speed_);
- speedLabel->setText(TQString("%1%").tqarg(speed_));
+ speedLabel->setText(TQString("%1%").arg(speed_));
Arts::PlayObject playobject(napp->player()->engine()->playObject());
Arts::PitchablePlayObject pitchable = Arts::DynamicCast(playobject);