summaryrefslogtreecommitdiffstats
path: root/src/kmplayervdr.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/kmplayervdr.cpp')
-rw-r--r--src/kmplayervdr.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/kmplayervdr.cpp b/src/kmplayervdr.cpp
index 702c8f4..4942e82 100644
--- a/src/kmplayervdr.cpp
+++ b/src/kmplayervdr.cpp
@@ -218,7 +218,7 @@ KDE_NO_EXPORT void KMPlayerVDRSource::playCurrent () {
KDE_NO_EXPORT void KMPlayerVDRSource::processStopped () {
if (m_socket->state () == TQSocket::Connected) {
- queueCommand (TQString ("VOLU %1\n").tqarg (m_stored_volume).ascii ());
+ queueCommand (TQString ("VOLU %1\n").arg (m_stored_volume).ascii ());
queueCommand ("QUIT\n");
}
}
@@ -309,7 +309,7 @@ KDE_NO_EXPORT void KMPlayerVDRSource::toggleConnected () {
}
KDE_NO_EXPORT void KMPlayerVDRSource::volumeChanged (int val) {
- queueCommand (TQString ("VOLU %1\n").tqarg (int (sqrt (255 * 255 * val / 100))).ascii ());
+ queueCommand (TQString ("VOLU %1\n").arg (int (sqrt (255 * 255 * val / 100))).ascii ());
}
static struct ReadBuf {
@@ -380,7 +380,7 @@ KDE_NO_EXPORT void KMPlayerVDRSource::readyRead () {
if (p > 0)
line.truncate (p);
TQString channel_name = line.mid (4);
- m_document->appendChild (new KMPlayer::GenericMrl (m_document, TQString ("kmplayer://vdrsource/%1").tqarg(channel_name), channel_name));
+ m_document->appendChild (new KMPlayer::GenericMrl (m_document, TQString ("kmplayer://vdrsource/%1").arg(channel_name), channel_name));
if (cmd_done) {
m_player->updateTree ();
if (!m_request_jump.isEmpty ()) {