From 894a7b9cde7267f60658eed3d6d1a62426a8ccb6 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sun, 5 Nov 2023 15:25:50 +0900 Subject: Replace Qt with TQt Signed-off-by: Michele Calgaro (cherry picked from commit dbea9ec845ed66ab111e3295a15a861f71be177a) --- src/part/radialMap/widget.cpp | 2 +- src/part/radialMap/widgetEvents.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/part/radialMap/widget.cpp b/src/part/radialMap/widget.cpp index 1fabe7a..7534998 100644 --- a/src/part/radialMap/widget.cpp +++ b/src/part/radialMap/widget.cpp @@ -118,7 +118,7 @@ RadialMap::Widget::createFromCache( const Directory *tree ) void RadialMap::Widget::sendFakeMouseEvent() //slot { - TQMouseEvent me( TQEvent::MouseMove, mapFromGlobal( TQCursor::pos() ), Qt::NoButton, Qt::NoButton ); + TQMouseEvent me( TQEvent::MouseMove, mapFromGlobal( TQCursor::pos() ), TQt::NoButton, TQt::NoButton ); TQApplication::sendEvent( this, &me ); } diff --git a/src/part/radialMap/widgetEvents.cpp b/src/part/radialMap/widgetEvents.cpp index fd0e1a4..1ad7f6d 100644 --- a/src/part/radialMap/widgetEvents.cpp +++ b/src/part/radialMap/widgetEvents.cpp @@ -156,7 +156,7 @@ RadialMap::Widget::mousePressEvent( TQMouseEvent *e ) const KURL url = Widget::url( m_focus->file() ); const bool isDir = m_focus->file()->isDirectory(); - if( e->button() == Qt::RightButton ) + if( e->button() == TQt::RightButton ) { TDEPopupMenu popup; popup.insertTitle( m_focus->file()->fullPath( m_tree ) ); @@ -230,7 +230,7 @@ RadialMap::Widget::mousePressEvent( TQMouseEvent *e ) m_tip->hide(); // user expects this - if (!isDir || e->button() == Qt::MidButton) { + if (!isDir || e->button() == TQt::MidButton) { TDEIconEffect::visualActivate( this, rect ); new KRun( url, this, true ); //FIXME see above } -- cgit v1.2.1