summaryrefslogtreecommitdiffstats
path: root/kradio3/plugins/timeshifter
diff options
context:
space:
mode:
Diffstat (limited to 'kradio3/plugins/timeshifter')
-rw-r--r--kradio3/plugins/timeshifter/timeshifter-configuration-ui.ui14
-rw-r--r--kradio3/plugins/timeshifter/timeshifter.cpp8
2 files changed, 11 insertions, 11 deletions
diff --git a/kradio3/plugins/timeshifter/timeshifter-configuration-ui.ui b/kradio3/plugins/timeshifter/timeshifter-configuration-ui.ui
index 2020bbc..135bac6 100644
--- a/kradio3/plugins/timeshifter/timeshifter-configuration-ui.ui
+++ b/kradio3/plugins/timeshifter/timeshifter-configuration-ui.ui
@@ -24,7 +24,7 @@
</property>
<widget class="TQLayoutWidget" row="0" column="0">
<property name="name">
- <cstring>tqlayout10</cstring>
+ <cstring>layout10</cstring>
</property>
<grid>
<property name="name">
@@ -40,7 +40,7 @@
<property name="sizeType">
<enum>Preferred</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>30</width>
<height>21</height>
@@ -57,7 +57,7 @@
<property name="sizeType">
<enum>Preferred</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>104</width>
<height>21</height>
@@ -133,7 +133,7 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>26</width>
<height>26</height>
@@ -166,7 +166,7 @@
<property name="sizeType">
<enum>Preferred</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>30</width>
<height>21</height>
@@ -183,7 +183,7 @@
<property name="sizeType">
<enum>Preferred</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>30</width>
<height>21</height>
@@ -202,7 +202,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>61</height>
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;
}