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/folderplaylist.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/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; |