summaryrefslogtreecommitdiffstats
path: root/src/k3bfiletreecombobox.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/k3bfiletreecombobox.cpp')
-rw-r--r--src/k3bfiletreecombobox.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/k3bfiletreecombobox.cpp b/src/k3bfiletreecombobox.cpp
index 4075df7..5c9f384 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,10 +301,10 @@ 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;
+ d->ignoreNextMouseClick = false;
return;
}
@@ -318,7 +318,7 @@ void K3bFileTreeComboBox::mousePressEvent( TQMouseEvent* e )
if ( arrowRect.contains( e->pos() ) ) {
popup();
- repaint( FALSE );
+ repaint( false );
}
}
@@ -349,7 +349,7 @@ void K3bFileTreeComboBox::paintEvent( TQPaintEvent* )
flags |= TQStyle::Style_HasFocus;
if ( width() < 5 || height() < 5 ) {
- qDrawShadePanel( &p, rect(), g, FALSE, 2,
+ qDrawShadePanel( &p, rect(), g, false, 2,
&g.brush( TQColorGroup::Button ) );
return;
}
@@ -375,7 +375,7 @@ void K3bFileTreeComboBox::paintEvent( TQPaintEvent* )
// item->paint( &p );
// }
// } else if ( d->listBox() && d->listBox()->item( 0 ) ) {
- p.setClipping( FALSE );
+ p.setClipping( false );
TQListBoxItem * item = listBox()->item( 0 );
const TQPixmap *pix = item->pixmap();
if ( pix ) {
@@ -385,7 +385,7 @@ void K3bFileTreeComboBox::paintEvent( TQPaintEvent* )
( re.height() - pix->height() ) / 2, *pix );
}
// }
- p.setClipping( FALSE );
+ p.setClipping( false );
}