diff options
Diffstat (limited to 'kexi/plugins/forms')
-rw-r--r-- | kexi/plugins/forms/widgets/kexidbcombobox.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kexi/plugins/forms/widgets/kexidbcombobox.cpp b/kexi/plugins/forms/widgets/kexidbcombobox.cpp index ac97d6395..6f9e60d75 100644 --- a/kexi/plugins/forms/widgets/kexidbcombobox.cpp +++ b/kexi/plugins/forms/widgets/kexidbcombobox.cpp @@ -140,7 +140,7 @@ void KexiDBComboBox::paintEvent( TQPaintEvent * ) flags |= TQStyle::Style_MouseOver; if ( width() < 5 || height() < 5 ) { - qDrawShadePanel( &p, rect(), cg, FALSE, 2, &cg.brush( TQColorGroup::Button ) ); + qDrawShadePanel( &p, rect(), cg, false, 2, &cg.brush( TQColorGroup::Button ) ); return; } @@ -242,7 +242,7 @@ bool KexiDBComboBox::handleMousePressEvent(TQMouseEvent *e) if ( e->button() != TQt::LeftButton || d->designMode ) return true; /*todo if ( m_discardNextMousePress ) { - d->discardNextMousePress = FALSE; + d->discardNextMousePress = false; return; }*/ @@ -250,15 +250,15 @@ bool KexiDBComboBox::handleMousePressEvent(TQMouseEvent *e) d->buttonPressed = false; /* if ( d->usingListBox() ) { - listBox()->blockSignals( TRUE ); + listBox()->blockSignals( true ); tqApp->sendEvent( listBox(), e ); // trigger the listbox's autoscroll listBox()->setCurrentItem(d->current); - listBox()->blockSignals( FALSE ); + listBox()->blockSignals( false ); popup(); if ( arrowRect.contains( e->pos() ) ) { - d->arrowPressed = TRUE; - d->arrowDown = TRUE; - repaint( FALSE ); + d->arrowPressed = true; + d->arrowDown = true; + repaint( false ); } } else {*/ showPopup(); @@ -318,7 +318,7 @@ void KexiDBComboBox::mousePressEvent( TQMouseEvent *e ) return; // TQTimer::singleShot( 200, this, TQ_SLOT(internalClickTimeout())); -// d->shortClick = TRUE; +// d->shortClick = true; // } KexiDBAutoField::mousePressEvent( e ); } |