diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:43:15 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:43:15 +0000 |
commit | e654398e46e37abf457b2b1122ab898d2c51c49f (patch) | |
tree | d39ee6440f3c3663c3ead84a2d4cc2d034667e96 /juk/searchplaylist.cpp | |
parent | e4f29b18e19394b9352f52a6c0d0d0e3932cf511 (diff) | |
download | tdemultimedia-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/searchplaylist.cpp')
-rw-r--r-- | juk/searchplaylist.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/juk/searchplaylist.cpp b/juk/searchplaylist.cpp index 2afd8549..ba1be917 100644 --- a/juk/searchplaylist.cpp +++ b/juk/searchplaylist.cpp @@ -15,7 +15,7 @@ #include <kdebug.h> -#include <qptrdict.h> +#include <tqptrdict.h> #include "searchplaylist.h" #include "playlistitem.h" @@ -27,7 +27,7 @@ SearchPlaylist::SearchPlaylist(PlaylistCollection *collection, const PlaylistSearch &search, - const QString &name, + const TQString &name, bool setupPlaylist, bool synchronizePlaying) : DynamicPlaylist(search.playlists(), collection, name, "find", @@ -55,7 +55,7 @@ void SearchPlaylist::updateItems() PlaylistItemList l = Playlist::items(); - QPtrDict<PlaylistItem> oldItems(503); + TQPtrDict<PlaylistItem> oldItems(503); for(PlaylistItemList::ConstIterator it = l.begin(); it != l.end(); ++it) oldItems.insert((*it)->collectionItem(), *it); @@ -71,7 +71,7 @@ void SearchPlaylist::updateItems() // kdDebug(65432) << k_funcinfo << "newItems.size() == " << newItems.size() << endl; - for(QPtrDictIterator<PlaylistItem> it(oldItems); it.current(); ++it) + for(TQPtrDictIterator<PlaylistItem> it(oldItems); it.current(); ++it) clearItem(it.current(), false); if(!oldItems.isEmpty() && newItems.isEmpty()) @@ -90,7 +90,7 @@ void SearchPlaylist::updateItems() // helper functions //////////////////////////////////////////////////////////////////////////////// -QDataStream &operator<<(QDataStream &s, const SearchPlaylist &p) +TQDataStream &operator<<(TQDataStream &s, const SearchPlaylist &p) { s << p.name() << p.playlistSearch(); @@ -98,9 +98,9 @@ QDataStream &operator<<(QDataStream &s, const SearchPlaylist &p) return s; } -QDataStream &operator>>(QDataStream &s, SearchPlaylist &p) +TQDataStream &operator>>(TQDataStream &s, SearchPlaylist &p) { - QString name; + TQString name; PlaylistSearch search; s >> name |