summaryrefslogtreecommitdiffstats
path: root/juk/statuslabel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'juk/statuslabel.cpp')
-rw-r--r--juk/statuslabel.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/juk/statuslabel.cpp b/juk/statuslabel.cpp
index 4dcf5163..1aea48b5 100644
--- a/juk/statuslabel.cpp
+++ b/juk/statuslabel.cpp
@@ -85,7 +85,7 @@ StatusLabel::StatusLabel(PlaylistInterface *playlist, TQWidget *parent, const ch
jumpButton->setFlat(true);
TQToolTip::add(jumpButton, i18n("Jump to the currently playing item"));
- connect(jumpButton, TQT_SIGNAL(clicked()), action("showPlaying"), TQT_SLOT(activate()));
+ connect(jumpButton, TQ_SIGNAL(clicked()), action("showPlaying"), TQ_SLOT(activate()));
installEventFilter(this);
@@ -175,11 +175,11 @@ bool StatusLabel::eventFilter(TQObject *o, TQEvent *e)
if(!o || !e)
return false;
- TQMouseEvent *mouseEvent = TQT_TQMOUSEEVENT(e);
+ TQMouseEvent *mouseEvent = static_cast<TQMouseEvent*>(e);
if(e->type() == TQEvent::MouseButtonRelease &&
- mouseEvent->button() == Qt::LeftButton)
+ mouseEvent->button() == TQt::LeftButton)
{
- if(TQT_BASE_OBJECT(o) == TQT_BASE_OBJECT(m_itemTimeLabel)) {
+ if(o == m_itemTimeLabel) {
m_showTimeRemaining = !m_showTimeRemaining;
updateTime();
}