summaryrefslogtreecommitdiffstats
path: root/juk
diff options
context:
space:
mode:
Diffstat (limited to 'juk')
-rw-r--r--juk/playlist.cpp2
-rw-r--r--juk/searchwidget.cpp2
-rw-r--r--juk/statuslabel.cpp2
-rw-r--r--juk/viewmode.cpp2
4 files changed, 4 insertions, 4 deletions
diff --git a/juk/playlist.cpp b/juk/playlist.cpp
index de65b6e7..02b00259 100644
--- a/juk/playlist.cpp
+++ b/juk/playlist.cpp
@@ -1110,7 +1110,7 @@ void Playlist::decode(TQMimeSource *s, PlaylistItem *item)
bool Playlist::eventFilter(TQObject *watched, TQEvent *e)
{
- if(TQT_BASE_OBJECT(watched) == TQT_BASE_OBJECT(header())) {
+ if(watched == header()) {
switch(e->type()) {
case TQEvent::MouseMove:
{
diff --git a/juk/searchwidget.cpp b/juk/searchwidget.cpp
index cb7d85f4..be489358 100644
--- a/juk/searchwidget.cpp
+++ b/juk/searchwidget.cpp
@@ -136,7 +136,7 @@ void SearchLine::setFocus()
bool SearchLine::eventFilter(TQObject *watched, TQEvent *e)
{
- if(TQT_BASE_OBJECT(watched) != TQT_BASE_OBJECT(m_lineEdit) || e->type() != TQEvent::KeyPress)
+ if(watched != m_lineEdit || e->type() != TQEvent::KeyPress)
return TQHBox::eventFilter(watched, e);
TQKeyEvent *key = TQT_TQKEYEVENT(e);
diff --git a/juk/statuslabel.cpp b/juk/statuslabel.cpp
index 4dcf5163..a75f67dc 100644
--- a/juk/statuslabel.cpp
+++ b/juk/statuslabel.cpp
@@ -179,7 +179,7 @@ bool StatusLabel::eventFilter(TQObject *o, TQEvent *e)
if(e->type() == TQEvent::MouseButtonRelease &&
mouseEvent->button() == Qt::LeftButton)
{
- if(TQT_BASE_OBJECT(o) == TQT_BASE_OBJECT(m_itemTimeLabel)) {
+ if(o == m_itemTimeLabel) {
m_showTimeRemaining = !m_showTimeRemaining;
updateTime();
}
diff --git a/juk/viewmode.cpp b/juk/viewmode.cpp
index dab099f2..73a66771 100644
--- a/juk/viewmode.cpp
+++ b/juk/viewmode.cpp
@@ -104,7 +104,7 @@ void ViewMode::paintCell(PlaylistBox::Item *item,
bool ViewMode::eventFilter(TQObject *watched, TQEvent *e)
{
- if(m_visible && TQT_BASE_OBJECT(watched) == TQT_BASE_OBJECT(m_playlistBox->viewport()) && e->type() == TQEvent::Resize) {
+ if(m_visible && watched == m_playlistBox->viewport() && e->type() == TQEvent::Resize) {
TQResizeEvent *re = TQT_TQRESIZEEVENT(e);
if(re->size().width() != re->oldSize().width())
m_needsRefresh = true;