summaryrefslogtreecommitdiffstats
path: root/juk/playlist.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-30 21:31:00 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-12-02 22:46:24 +0900
commit452c1e8191d38a7449364467ae0601ace808e7f7 (patch)
treed468d9f534be62e275feb15dc903af92f02e7547 /juk/playlist.cpp
parentbd26faa962728155a0a4337ea54b3eb6a454df0b (diff)
downloadtdemultimedia-452c1e8191d38a7449364467ae0601ace808e7f7.tar.gz
tdemultimedia-452c1e8191d38a7449364467ae0601ace808e7f7.zip
Replace 'Event' #define strings
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 7ef70d6552605c1df5653f039314c3ac568069cc)
Diffstat (limited to 'juk/playlist.cpp')
-rw-r--r--juk/playlist.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/juk/playlist.cpp b/juk/playlist.cpp
index 38cdb73f..21df8553 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() & TQt::LeftButton) == TQt::LeftButton &&
+ if((static_cast<TQMouseEvent*>(e)->state() & TQt::LeftButton) == TQt::LeftButton &&
!action<TDEToggleAction>("resizeColumnsManually")->isChecked())
{
m_columnWidthModeChanged = true;
@@ -1129,7 +1129,7 @@ bool Playlist::eventFilter(TQObject *watched, TQEvent *e)
}
case TQEvent::MouseButtonPress:
{
- if(TQT_TQMOUSEEVENT(e)->button() == TQt::RightButton)
+ if(static_cast<TQMouseEvent*>(e)->button() == TQt::RightButton)
m_headerMenu->popup(TQCursor::pos());
break;