diff options
Diffstat (limited to 'juk/folderplaylist.cpp')
-rw-r--r-- | juk/folderplaylist.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/juk/folderplaylist.cpp b/juk/folderplaylist.cpp index ecde8f77..71934359 100644 --- a/juk/folderplaylist.cpp +++ b/juk/folderplaylist.cpp @@ -15,18 +15,18 @@ #include "folderplaylist.h" #include "playlistcollection.h" -#include <qtimer.h> +#include <tqtimer.h> //////////////////////////////////////////////////////////////////////////////// // public methods //////////////////////////////////////////////////////////////////////////////// -FolderPlaylist::FolderPlaylist(PlaylistCollection *collection, const QString &folder, - const QString &name) : +FolderPlaylist::FolderPlaylist(PlaylistCollection *collection, const TQString &folder, + const TQString &name) : Playlist(collection, name, "folder"), m_folder(folder) { - QTimer::singleShot(0, this, SLOT(slotReload())); + TQTimer::singleShot(0, this, TQT_SLOT(slotReload())); } FolderPlaylist::~FolderPlaylist() @@ -34,15 +34,15 @@ FolderPlaylist::~FolderPlaylist() } -QString FolderPlaylist::folder() const +TQString FolderPlaylist::folder() const { return m_folder; } -void FolderPlaylist::setFolder(const QString &s) +void FolderPlaylist::setFolder(const TQString &s) { m_folder = s; - QTimer::singleShot(0, this, SLOT(slotReload())); + TQTimer::singleShot(0, this, TQT_SLOT(slotReload())); } //////////////////////////////////////////////////////////////////////////////// @@ -59,17 +59,17 @@ void FolderPlaylist::slotReload() // helper functions //////////////////////////////////////////////////////////////////////////////// -QDataStream &operator<<(QDataStream &s, const FolderPlaylist &p) +TQDataStream &operator<<(TQDataStream &s, const FolderPlaylist &p) { s << p.name() << p.folder(); return s; } -QDataStream &operator>>(QDataStream &s, FolderPlaylist &p) +TQDataStream &operator>>(TQDataStream &s, FolderPlaylist &p) { - QString name; - QString folder; + TQString name; + TQString folder; s >> name >> folder; |