diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:45:00 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:45:00 -0600 |
commit | ca82971624269719d487c6f7980d7237f9420036 (patch) | |
tree | cac461d765c50b2709a9ef6324940e70fe056ba2 /noatun-plugins/alsaplayer/userinterface.cpp | |
parent | 0e4ea21f450acbb4ea3c5a1293341668494d7dd4 (diff) | |
download | tdeaddons-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/userinterface.cpp')
-rw-r--r-- | noatun-plugins/alsaplayer/userinterface.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
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); |