diff options
Diffstat (limited to 'src/k3bfiletreecombobox.cpp')
-rw-r--r-- | src/k3bfiletreecombobox.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/k3bfiletreecombobox.cpp b/src/k3bfiletreecombobox.cpp index 4075df7..ed534dc 100644 --- a/src/k3bfiletreecombobox.cpp +++ b/src/k3bfiletreecombobox.cpp @@ -73,13 +73,13 @@ K3bFileTreeComboBox::K3bFileTreeComboBox( TQWidget* parent, const char* name ) // HACK! Why the hell is TQComboBox that closed??? listBox()->insertItem( "HACK" ); - connect( m_fileTreeView, TQT_SIGNAL(deviceExecuted(K3bDevice::Device*)), - this, TQT_SLOT(slotDeviceExecuted(K3bDevice::Device*)) ); - connect( m_fileTreeView, TQT_SIGNAL(urlExecuted(const KURL&)), - this, TQT_SLOT(slotUrlExecuted(const KURL&)) ); + connect( m_fileTreeView, TQ_SIGNAL(deviceExecuted(K3bDevice::Device*)), + this, TQ_SLOT(slotDeviceExecuted(K3bDevice::Device*)) ); + connect( m_fileTreeView, TQ_SIGNAL(urlExecuted(const KURL&)), + this, TQ_SLOT(slotUrlExecuted(const KURL&)) ); - connect( lineEdit(), TQT_SIGNAL(returnPressed()), - this, TQT_SLOT(slotGoUrl()) ); + connect( lineEdit(), TQ_SIGNAL(returnPressed()), + this, TQ_SLOT(slotGoUrl()) ); // TODO: subclass KURLCompletition to support the dev:/ stuff and block any non-local urls } @@ -273,7 +273,7 @@ bool K3bFileTreeComboBox::eventFilter( TQObject* o, TQEvent* e ) } else if( e->type() == TQEvent::MouseButtonPress ) { TQMouseEvent* me = (TQMouseEvent*)e; - if ( !TQT_TQRECT_OBJECT(m_fileTreeView->rect()).contains( me->pos() ) ) { + if ( !m_fileTreeView->rect().contains( me->pos() ) ) { TQRect arrowRect = style().querySubControlMetrics( TQStyle::CC_ComboBox, this, TQStyle::SC_ComboBoxArrow); arrowRect = TQStyle::visualRect(arrowRect, this); @@ -301,7 +301,7 @@ void K3bFileTreeComboBox::mousePressEvent( TQMouseEvent* e ) { // mainly from qcombobox.cpp - if ( e->button() != Qt::LeftButton ) + if ( e->button() != TQt::LeftButton ) return; if ( d->ignoreNextMouseClick ) { d->ignoreNextMouseClick = FALSE; |