summaryrefslogtreecommitdiffstats
path: root/juk/searchplaylist.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'juk/searchplaylist.cpp')
-rw-r--r--juk/searchplaylist.cpp14
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