Replace Qt with TQt

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit dbea9ec845)
r14.1.x
Michele Calgaro 1 year ago
parent 9f59f196a6
commit 894a7b9cde
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -118,7 +118,7 @@ RadialMap::Widget::createFromCache( const Directory *tree )
void void
RadialMap::Widget::sendFakeMouseEvent() //slot 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 ); TQApplication::sendEvent( this, &me );
} }

@ -156,7 +156,7 @@ RadialMap::Widget::mousePressEvent( TQMouseEvent *e )
const KURL url = Widget::url( m_focus->file() ); const KURL url = Widget::url( m_focus->file() );
const bool isDir = m_focus->file()->isDirectory(); const bool isDir = m_focus->file()->isDirectory();
if( e->button() == Qt::RightButton ) if( e->button() == TQt::RightButton )
{ {
TDEPopupMenu popup; TDEPopupMenu popup;
popup.insertTitle( m_focus->file()->fullPath( m_tree ) ); popup.insertTitle( m_focus->file()->fullPath( m_tree ) );
@ -230,7 +230,7 @@ RadialMap::Widget::mousePressEvent( TQMouseEvent *e )
m_tip->hide(); // user expects this m_tip->hide(); // user expects this
if (!isDir || e->button() == Qt::MidButton) { if (!isDir || e->button() == TQt::MidButton) {
TDEIconEffect::visualActivate( this, rect ); TDEIconEffect::visualActivate( this, rect );
new KRun( url, this, true ); //FIXME see above new KRun( url, this, true ); //FIXME see above
} }

Loading…
Cancel
Save