diff options
author | Timothy Pearson <[email protected]> | 2011-12-19 11:36:53 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-19 11:36:53 -0600 |
commit | 0ed6bc56f9167e115f14d18b4bc8ce18fb7674b6 (patch) | |
tree | bbf293d0f4a7d04626e2996263f985f13921869a /src/kmplayervdr.cpp | |
parent | 81ad3b51a1f061b0934426aaf339917f76c0cfc5 (diff) | |
download | kmplayer-0ed6bc56f9167e115f14d18b4bc8ce18fb7674b6.tar.gz kmplayer-0ed6bc56f9167e115f14d18b4bc8ce18fb7674b6.zip |
Remove additional unneeded tq method conversions
Diffstat (limited to 'src/kmplayervdr.cpp')
-rw-r--r-- | src/kmplayervdr.cpp | 6 |
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 ()) { |