summaryrefslogtreecommitdiffstats
path: root/juk/upcomingplaylist.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:43:15 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:43:15 +0000
commite654398e46e37abf457b2b1122ab898d2c51c49f (patch)
treed39ee6440f3c3663c3ead84a2d4cc2d034667e96 /juk/upcomingplaylist.cpp
parente4f29b18e19394b9352f52a6c0d0d0e3932cf511 (diff)
downloadtdemultimedia-e654398e46e37abf457b2b1122ab898d2c51c49f.tar.gz
tdemultimedia-e654398e46e37abf457b2b1122ab898d2c51c49f.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdemultimedia@1157644 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'juk/upcomingplaylist.cpp')
-rw-r--r--juk/upcomingplaylist.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/juk/upcomingplaylist.cpp b/juk/upcomingplaylist.cpp
index a9cdbcb7..f31e3144 100644
--- a/juk/upcomingplaylist.cpp
+++ b/juk/upcomingplaylist.cpp
@@ -113,12 +113,12 @@ void UpcomingPlaylist::clearItem(PlaylistItem *item, bool emitChanged)
Playlist::clearItem(item, emitChanged);
}
-void UpcomingPlaylist::addFiles(const QStringList &files, PlaylistItem *after)
+void UpcomingPlaylist::addFiles(const TQStringList &files, PlaylistItem *after)
{
CollectionList::instance()->addFiles(files, after);
PlaylistItemList l;
- for(QStringList::ConstIterator it = files.begin(); it != files.end(); ++it) {
+ for(TQStringList::ConstIterator it = files.begin(); it != files.end(); ++it) {
FileHandle f(*it);
PlaylistItem *i = CollectionList::instance()->lookup(f.absFilePath());
if(i)
@@ -128,7 +128,7 @@ void UpcomingPlaylist::addFiles(const QStringList &files, PlaylistItem *after)
appendItems(l);
}
-QMap< PlaylistItem::Pointer, QGuardedPtr<Playlist> > &UpcomingPlaylist::playlistIndex()
+TQMap< PlaylistItem::Pointer, TQGuardedPtr<Playlist> > &UpcomingPlaylist::playlistIndex()
{
return m_playlistIndex;
}
@@ -246,7 +246,7 @@ void UpcomingPlaylist::UpcomingSequenceIterator::prepareToPlay(Playlist *)
setCurrent(m_playlist->firstChild());
}
-QDataStream &operator<<(QDataStream &s, const UpcomingPlaylist &p)
+TQDataStream &operator<<(TQDataStream &s, const UpcomingPlaylist &p)
{
PlaylistItemList l = const_cast<UpcomingPlaylist *>(&p)->items();
@@ -258,9 +258,9 @@ QDataStream &operator<<(QDataStream &s, const UpcomingPlaylist &p)
return s;
}
-QDataStream &operator>>(QDataStream &s, UpcomingPlaylist &p)
+TQDataStream &operator>>(TQDataStream &s, UpcomingPlaylist &p)
{
- QString fileName;
+ TQString fileName;
PlaylistItem *newItem = 0;
Q_INT32 count;