From 5bdb51894d90ebc0d068ef5b3aec1cb2627433ed Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 9 Nov 2023 10:36:44 +0900 Subject: Replace Qt with TQt Signed-off-by: Michele Calgaro (cherry picked from commit b3df4d055e72863ca51ec9c0428a490306989ff4) --- juk/playlist.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'juk/playlist.cpp') diff --git a/juk/playlist.cpp b/juk/playlist.cpp index 32caf879..7415d47e 100644 --- a/juk/playlist.cpp +++ b/juk/playlist.cpp @@ -1116,7 +1116,7 @@ bool Playlist::eventFilter(TQObject *watched, TQEvent *e) switch(e->type()) { case TQEvent::MouseMove: { - if((TQT_TQMOUSEEVENT(e)->state() & Qt::LeftButton) == Qt::LeftButton && + if((TQT_TQMOUSEEVENT(e)->state() & TQt::LeftButton) == TQt::LeftButton && !action("resizeColumnsManually")->isChecked()) { m_columnWidthModeChanged = true; @@ -1129,7 +1129,7 @@ bool Playlist::eventFilter(TQObject *watched, TQEvent *e) } case TQEvent::MouseButtonPress: { - if(TQT_TQMOUSEEVENT(e)->button() == Qt::RightButton) + if(TQT_TQMOUSEEVENT(e)->button() == TQt::RightButton) m_headerMenu->popup(TQCursor::pos()); break; @@ -1249,7 +1249,7 @@ void Playlist::contentsMouseDoubleClickEvent(TQMouseEvent *e) // Filter out non left button double clicks, that way users don't have the // weird experience of switching songs from a double right-click. - if(e->button() == Qt::LeftButton) + if(e->button() == TQt::LeftButton) TDEListView::contentsMouseDoubleClickEvent(e); } -- cgit v1.2.1