summaryrefslogtreecommitdiffstats
path: root/juk/historyplaylist.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'juk/historyplaylist.cpp')
-rw-r--r--juk/historyplaylist.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/juk/historyplaylist.cpp b/juk/historyplaylist.cpp
index 6ebd4643..26758fd6 100644
--- a/juk/historyplaylist.cpp
+++ b/juk/historyplaylist.cpp
@@ -29,10 +29,10 @@ HistoryPlaylist::HistoryPlaylist(PlaylistCollection *collection) :
Playlist(collection, true), m_timer(0)
{
setAllowDuplicates(true);
- m_timer = new QTimer(this);
+ m_timer = new TQTimer(this);
- connect(PlayerManager::instance(), SIGNAL(signalPlay()), this, SLOT(slotAddPlaying()));
- connect(m_timer, SIGNAL(timeout()), this, SLOT(slotCreateNewItem()));
+ connect(PlayerManager::instance(), TQT_SIGNAL(signalPlay()), this, TQT_SLOT(slotAddPlaying()));
+ connect(m_timer, TQT_SIGNAL(timeout()), this, TQT_SLOT(slotCreateNewItem()));
}
HistoryPlaylist::~HistoryPlaylist()
@@ -41,7 +41,7 @@ HistoryPlaylist::~HistoryPlaylist()
}
HistoryPlaylistItem *HistoryPlaylist::createItem(const FileHandle &file,
- QListViewItem *after, bool emitChanged)
+ TQListViewItem *after, bool emitChanged)
{
if(!after)
after = lastItem();
@@ -90,16 +90,16 @@ void HistoryPlaylist::slotCreateNewItem()
// HistoryPlaylistItem public members
////////////////////////////////////////////////////////////////////////////////
-HistoryPlaylistItem::HistoryPlaylistItem(CollectionListItem *item, Playlist *parent, QListViewItem *after) :
+HistoryPlaylistItem::HistoryPlaylistItem(CollectionListItem *item, Playlist *parent, TQListViewItem *after) :
PlaylistItem(item, parent, after),
- m_dateTime(QDateTime::currentDateTime())
+ m_dateTime(TQDateTime::currentDateTime())
{
setText(0, KGlobal::locale()->formatDateTime(m_dateTime));
}
HistoryPlaylistItem::HistoryPlaylistItem(CollectionListItem *item, Playlist *parent) :
PlaylistItem(item, parent),
- m_dateTime(QDateTime::currentDateTime())
+ m_dateTime(TQDateTime::currentDateTime())
{
setText(0, KGlobal::locale()->formatDateTime(m_dateTime));
}
@@ -109,7 +109,7 @@ HistoryPlaylistItem::~HistoryPlaylistItem()
}
-void HistoryPlaylistItem::setDateTime(const QDateTime &dt)
+void HistoryPlaylistItem::setDateTime(const TQDateTime &dt)
{
m_dateTime = dt;
setText(0, KGlobal::locale()->formatDateTime(m_dateTime));
@@ -119,7 +119,7 @@ void HistoryPlaylistItem::setDateTime(const QDateTime &dt)
// helper functions
////////////////////////////////////////////////////////////////////////////////
-QDataStream &operator<<(QDataStream &s, const HistoryPlaylist &p)
+TQDataStream &operator<<(TQDataStream &s, const HistoryPlaylist &p)
{
PlaylistItemList l = const_cast<HistoryPlaylist *>(&p)->items();
@@ -134,15 +134,15 @@ QDataStream &operator<<(QDataStream &s, const HistoryPlaylist &p)
return s;
}
-QDataStream &operator>>(QDataStream &s, HistoryPlaylist &p)
+TQDataStream &operator>>(TQDataStream &s, HistoryPlaylist &p)
{
Q_INT32 count;
s >> count;
HistoryPlaylistItem *after = 0;
- QString fileName;
- QDateTime dateTime;
+ TQString fileName;
+ TQDateTime dateTime;
for(int i = 0; i < count; i++) {
s >> fileName;