summaryrefslogtreecommitdiffstats
path: root/juk/playlistcollection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'juk/playlistcollection.cpp')
-rw-r--r--juk/playlistcollection.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/juk/playlistcollection.cpp b/juk/playlistcollection.cpp
index 7d4e7f7d..c1aca5aa 100644
--- a/juk/playlistcollection.cpp
+++ b/juk/playlistcollection.cpp
@@ -158,7 +158,7 @@ TQStringList PlaylistCollection::playlists() const
TQObjectList *childList = m_playlistStack->queryList("Playlist");
TQObject *obj;
for(obj = childList->first(); obj; obj = childList->next()) {
- Playlist *p = static_cast<Playlist *>(TQT_TQWIDGET(obj));
+ Playlist *p = static_cast<Playlist *>(obj);
l.append(p->name());
}
@@ -706,7 +706,7 @@ void PlaylistCollection::clearShowMore(bool raisePlaylist)
void PlaylistCollection::enableDirWatch(bool enable)
{
- TQObject *collection = TQT_TQOBJECT(CollectionList::instance());
+ TQObject *collection = CollectionList::instance();
m_dirLister.disconnect(object());
if(enable) {
@@ -789,7 +789,7 @@ Playlist *PlaylistCollection::playlistByName(const TQString &name) const
TQObject *obj;
for(obj = l->first(); obj; obj = l->next()) {
- Playlist *p = static_cast<Playlist*>(TQT_TQWIDGET(obj));
+ Playlist *p = static_cast<Playlist*>(obj);
if(p->name() == name) {
list = p;
break;