From 945085d2d242018111b8bb1e1082ebe2021b720b Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 4 Nov 2023 23:07:53 +0900 Subject: Replace Qt with TQt Signed-off-by: Michele Calgaro (cherry picked from commit 9577f4de07539fb2464a1499d45b25993c5cea46) --- src/modules/notifier/notifierwindow.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/modules/notifier') diff --git a/src/modules/notifier/notifierwindow.cpp b/src/modules/notifier/notifierwindow.cpp index fa55316..634af96 100644 --- a/src/modules/notifier/notifierwindow.cpp +++ b/src/modules/notifier/notifierwindow.cpp @@ -768,11 +768,11 @@ void KviNotifierWindow::mousePressEvent(TQMouseEvent * e) m_pntClick = e->pos(); - if(e->button() == Qt::RightButton) + if(e->button() == TQt::RightButton) { contextPopup(mapToGlobal(e->pos())); return; - } else if(e->button() == Qt::LeftButton) { + } else if(e->button() == TQt::LeftButton) { m_bLeftButtonIsPressed = true; } @@ -1104,7 +1104,7 @@ void KviNotifierWindow::redrawWindow() inline void KviNotifierWindow::setCursor(int cur) { if (m_cursor.shape() != cur) { if(TQApplication::overrideCursor()) TQApplication::restoreOverrideCursor(); - m_cursor.setShape((Qt::CursorShape)cur); + m_cursor.setShape((TQt::CursorShape)cur); TQApplication::setOverrideCursor(m_cursor); } else if (cur==-1) if(TQApplication::overrideCursor()) TQApplication::restoreOverrideCursor(); -- cgit v1.2.3