summaryrefslogtreecommitdiffstats
path: root/kradio3/plugins/timeshifter
diff options
context:
space:
mode:
Diffstat (limited to 'kradio3/plugins/timeshifter')
-rw-r--r--kradio3/plugins/timeshifter/timeshifter.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kradio3/plugins/timeshifter/timeshifter.cpp b/kradio3/plugins/timeshifter/timeshifter.cpp
index 52d3448..fb8d653 100644
--- a/kradio3/plugins/timeshifter/timeshifter.cpp
+++ b/kradio3/plugins/timeshifter/timeshifter.cpp
@@ -154,8 +154,8 @@ bool TimeShifter::stopPlayback(SoundStreamID id)
SoundStreamID tmp_newID = m_NewStreamID;
SoundStreamID tmp_orgID = m_OrgStreamID;
- m_OrgStreamID.tqinvalidate();
- m_NewStreamID.tqinvalidate();
+ m_OrgStreamID.invalidate();
+ m_NewStreamID.invalidate();
sendStopCapture(tmp_newID);
closeSoundStream(tmp_newID);
@@ -182,7 +182,7 @@ bool TimeShifter::pausePlayback(SoundStreamID id)
sendMute(newid);
sendPlaybackVolume(newid, 0);
- m_NewStreamID.tqinvalidate();
+ m_NewStreamID.invalidate();
sendStopPlayback(newid);
m_NewStreamID = newid;
@@ -352,7 +352,7 @@ bool TimeShifter::noticeReadyForPlaybackData(SoundStreamID id, size_t free_size)
free_size -= consumed_size;
m_PlaybackDataLeftInBuffer -= consumed_size;
if (consumed_size < s) {
- logError(i18n("TimeShifter::notifySoundStreamData: clients skipped %1 bytes. Data Lost").tqarg(s - consumed_size));
+ logError(i18n("TimeShifter::notifySoundStreamData: clients skipped %1 bytes. Data Lost").arg(s - consumed_size));
free_size = 0; // break condition for outer loop
break;
}