diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-08-12 18:47:39 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-08-17 14:27:33 +0900 |
commit | 20cfc90d4f4c8228914ed6196bb03472b7e31c77 (patch) | |
tree | 6d70b31d72350300cbeddf18db2dc8b3d9a70c5c | |
parent | 172024abe61897349878c7421cfd99a8d2aa957a (diff) | |
download | tdemultimedia-20cfc90d4f4c8228914ed6196bb03472b7e31c77.tar.gz tdemultimedia-20cfc90d4f4c8228914ed6196bb03472b7e31c77.zip |
Drop TQT_BASE_OBJECT* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rw-r--r-- | juk/playlist.cpp | 2 | ||||
-rw-r--r-- | juk/searchwidget.cpp | 2 | ||||
-rw-r--r-- | juk/statuslabel.cpp | 2 | ||||
-rw-r--r-- | juk/viewmode.cpp | 2 |
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; |