summaryrefslogtreecommitdiffstats
path: root/knotes/knote.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-09 10:37:12 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-11-09 10:56:59 +0900
commit98876ba8c52c0fc2f38c258476bc9637f055d576 (patch)
treec603affd2b47d424507127e5bff9231bb06fc020 /knotes/knote.cpp
parentf46438dda23948d5a4732428a1df913b3246fed8 (diff)
downloadtdepim-98876ba8c52c0fc2f38c258476bc9637f055d576.tar.gz
tdepim-98876ba8c52c0fc2f38c258476bc9637f055d576.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'knotes/knote.cpp')
-rw-r--r--knotes/knote.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/knotes/knote.cpp b/knotes/knote.cpp
index b73ce29ef..f5afc227b 100644
--- a/knotes/knote.cpp
+++ b/knotes/knote.cpp
@@ -1349,9 +1349,9 @@ bool KNote::eventFilter( TQObject *o, TQEvent *ev )
slotRename();
}
if ( ev->type() == TQEvent::MouseButtonPress &&
- (e->button() == Qt::LeftButton || e->button() == Qt::MidButton))
+ (e->button() == TQt::LeftButton || e->button() == TQt::MidButton))
{
- e->button() == Qt::LeftButton ? KWin::raiseWindow( winId() )
+ e->button() == TQt::LeftButton ? KWin::raiseWindow( winId() )
: KWin::lowerWindow( winId() );
XUngrabPointer( tqt_xdisplay(), GET_QT_X_TIME() );
@@ -1370,7 +1370,7 @@ bool KNote::eventFilter( TQObject *o, TQEvent *ev )
#endif
if ( m_menu && ( ev->type() == TQEvent::MouseButtonPress )
- && ( e->button() == Qt::RightButton ) )
+ && ( e->button() == TQt::RightButton ) )
{
m_menu->popup( TQCursor::pos() );
return true;
@@ -1402,7 +1402,7 @@ bool KNote::eventFilter( TQObject *o, TQEvent *ev )
{
if ( m_edit_menu &&
ev->type() == TQEvent::MouseButtonPress &&
- ((TQMouseEvent *)ev)->button() == Qt::RightButton )
+ ((TQMouseEvent *)ev)->button() == TQt::RightButton )
{
m_edit_menu->popup( TQCursor::pos() );
return true;