summaryrefslogtreecommitdiffstats
path: root/juk
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-08-12 18:47:39 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-08-17 20:12:38 +0900
commit89e9e3ac34f2203f513b8d63d682f7f538724f66 (patch)
tree784621a02f21a4e16fc35e237e39f37583e5ba3a /juk
parent2795d5ce0a0315aeba52894ef2b8cdff5d74280e (diff)
downloadtdemultimedia-89e9e3ac34f2203f513b8d63d682f7f538724f66.tar.gz
tdemultimedia-89e9e3ac34f2203f513b8d63d682f7f538724f66.zip
Drop TQT_BASE_OBJECT* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 20cfc90d4f4c8228914ed6196bb03472b7e31c77)
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;