summaryrefslogtreecommitdiffstats
path: root/juk/nowplaying.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'juk/nowplaying.cpp')
-rw-r--r--juk/nowplaying.cpp18
1 files changed, 8 insertions, 10 deletions
diff --git a/juk/nowplaying.cpp b/juk/nowplaying.cpp
index f603ad80..6c3110fa 100644
--- a/juk/nowplaying.cpp
+++ b/juk/nowplaying.cpp
@@ -67,8 +67,8 @@ NowPlaying::NowPlaying(TQWidget *parent, PlaylistCollection *collection, const c
setStretchFactor(new Line(this), 0);
setStretchFactor(new HistoryItem(this), 1);
- connect(PlayerManager::instance(), TQT_SIGNAL(signalPlay()), this, TQT_SLOT(slotUpdate()));
- connect(PlayerManager::instance(), TQT_SIGNAL(signalStop()), this, TQT_SLOT(slotUpdate()));
+ connect(PlayerManager::instance(), TQ_SIGNAL(signalPlay()), this, TQ_SLOT(slotUpdate()));
+ connect(PlayerManager::instance(), TQ_SIGNAL(signalStop()), this, TQ_SLOT(slotUpdate()));
hide();
}
@@ -123,7 +123,7 @@ void CoverItem::update(const FileHandle &file)
if(file.coverInfo()->hasCover()) {
show();
TQImage image = file.coverInfo()->pixmap(CoverInfo::Thumbnail).convertToImage();
- setPixmap(image.smoothScale(imageSize, imageSize, TQ_ScaleMin));
+ setPixmap(image.smoothScale(imageSize, imageSize, TQImage::ScaleMin));
}
else
hide();
@@ -138,7 +138,7 @@ void CoverItem::mouseReleaseEvent(TQMouseEvent *event)
if(event->x() >= 0 && event->y() >= 0 &&
event->x() < width() && event->y() < height() &&
- event->button() == Qt::LeftButton &&
+ event->button() == TQt::LeftButton &&
m_file.coverInfo()->hasCover())
{
m_file.coverInfo()->popup();
@@ -230,14 +230,14 @@ TrackItem::TrackItem(NowPlaying *parent) :
layout->addWidget(m_label);
layout->addStretch();
- connect(m_label, TQT_SIGNAL(linkClicked(const TQString &)), this,
- TQT_SLOT(slotOpenLink(const TQString &)));
+ connect(m_label, TQ_SIGNAL(linkClicked(const TQString &)), this,
+ TQ_SLOT(slotOpenLink(const TQString &)));
}
void TrackItem::update(const FileHandle &file)
{
m_file = file;
- TQTimer::singleShot(0, this, TQT_SLOT(slotUpdate()));
+ TQTimer::singleShot(0, this, TQ_SLOT(slotUpdate()));
}
void TrackItem::slotOpenLink(const TQString &link)
@@ -297,7 +297,7 @@ HistoryItem::HistoryItem(NowPlaying *parent) :
setText(TQString("<b>%1</b>").arg(i18n("History")));
m_timer = new TQTimer(this);
- connect(m_timer, TQT_SIGNAL(timeout()), this, TQT_SLOT(slotAddPlaying()));
+ connect(m_timer, TQ_SIGNAL(timeout()), this, TQ_SLOT(slotAddPlaying()));
}
void HistoryItem::update(const FileHandle &file)
@@ -364,5 +364,3 @@ void HistoryItem::slotAddPlaying()
}
#include "nowplaying.moc"
-
-// vim: set et sw=4 ts=8: