summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-11-05 15:25:50 +0900
committerMichele Calgaro <[email protected]>2023-11-05 22:40:00 +0900
commit894a7b9cde7267f60658eed3d6d1a62426a8ccb6 (patch)
treec2ef8870dcb40e24376032dd5e3badf21312098d
parent9f59f196a68a817c40715c384b92ac4554f3513b (diff)
downloadfilelight-894a7b9cde7267f60658eed3d6d1a62426a8ccb6.tar.gz
filelight-894a7b9cde7267f60658eed3d6d1a62426a8ccb6.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit dbea9ec845ed66ab111e3295a15a861f71be177a)
-rw-r--r--src/part/radialMap/widget.cpp2
-rw-r--r--src/part/radialMap/widgetEvents.cpp4
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
}