Replace Qt with TQt

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/7/head
Michele Calgaro 7 months ago
parent 629295b3b7
commit dbea9ec845
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -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 );
}

@ -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
}

Loading…
Cancel
Save