summaryrefslogtreecommitdiffstats
path: root/kexi/plugins/forms/widgets
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-03-28 18:11:49 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-04-03 19:23:45 +0900
commit0bd9d5459891e6fb17ee6802878f85e217cb9f54 (patch)
tree962f6ea26d1fab041fe3476fbbd64132ab8ada1b /kexi/plugins/forms/widgets
parentcb258b7e39ffa5662b57e7d9006e69172a378d7e (diff)
downloadkoffice-r14.1.4.tar.gz
koffice-r14.1.4.zip
Replace TRUE/FALSE with boolean values true/falser14.1.4
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit cf85b9c285a2b9baa87c9d0cb9d683b48e82a475)
Diffstat (limited to 'kexi/plugins/forms/widgets')
-rw-r--r--kexi/plugins/forms/widgets/kexidbcombobox.cpp16
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 );
}