summaryrefslogtreecommitdiffstats
path: root/juk/upcomingplaylist.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-11 06:00:15 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-11 06:00:15 +0000
commitb1057f437bf65300831a0ccb45b920787c6b318d (patch)
treef8a73db06ca1180d0da0ba6dfbe786197b4f4bc3 /juk/upcomingplaylist.cpp
parent4ddfca384ced9ad654213aef9dc2c3973720b980 (diff)
downloadtdemultimedia-b1057f437bf65300831a0ccb45b920787c6b318d.tar.gz
tdemultimedia-b1057f437bf65300831a0ccb45b920787c6b318d.zip
TQt4 port kdemultimedia
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdemultimedia@1236079 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'juk/upcomingplaylist.cpp')
-rw-r--r--juk/upcomingplaylist.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/juk/upcomingplaylist.cpp b/juk/upcomingplaylist.cpp
index f31e3144..52da900e 100644
--- a/juk/upcomingplaylist.cpp
+++ b/juk/upcomingplaylist.cpp
@@ -208,7 +208,7 @@ void UpcomingPlaylist::UpcomingSequenceIterator::setCurrent(PlaylistItem *curren
}
// If the upcoming playlist is playing something, clear it out since
- // apparently the user didn't want to hear it.
+ // aptqparently the user didn't want to hear it.
PlaylistItem *playingItem = m_playlist->playingItem();
if(playingItem && playingItem->playlist() == m_playlist && currentItem != playingItem)
@@ -250,7 +250,7 @@ TQDataStream &operator<<(TQDataStream &s, const UpcomingPlaylist &p)
{
PlaylistItemList l = const_cast<UpcomingPlaylist *>(&p)->items();
- s << Q_INT32(l.count());
+ s << TQ_INT32(l.count());
for(PlaylistItemList::ConstIterator it = l.begin(); it != l.end(); ++it)
s << (*it)->file().absFilePath();
@@ -262,11 +262,11 @@ TQDataStream &operator>>(TQDataStream &s, UpcomingPlaylist &p)
{
TQString fileName;
PlaylistItem *newItem = 0;
- Q_INT32 count;
+ TQ_INT32 count;
s >> count;
- for(Q_INT32 i = 0; i < count; ++i) {
+ for(TQ_INT32 i = 0; i < count; ++i) {
s >> fileName;
newItem = p.createItem(FileHandle(fileName), newItem, false);
}