summaryrefslogtreecommitdiffstats
path: root/kexi
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
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')
-rw-r--r--kexi/doc/dev/TODO-Kexi-js2
-rw-r--r--kexi/plugins/forms/widgets/kexidbcombobox.cpp16
-rw-r--r--kexi/plugins/importexport/csv/kexicsvimportdialog.cpp2
-rw-r--r--kexi/tests/gui/finddialog/kexifinddialog.h2
4 files changed, 11 insertions, 11 deletions
diff --git a/kexi/doc/dev/TODO-Kexi-js b/kexi/doc/dev/TODO-Kexi-js
index 9d0eb85be..bef697604 100644
--- a/kexi/doc/dev/TODO-Kexi-js
+++ b/kexi/doc/dev/TODO-Kexi-js
@@ -286,7 +286,7 @@ HINT: removing WStaticContents from KexiTableView ctor fixed repaint problem
offer copy/cut/paste/copy-to-file/clear for such selections
- tooltips:
-- implement tooltip manager (this will allow to create custom tooltips)
--- use if ( QApplication::isEffectEnabled( UI_AnimateTooltip ) == FALSE ||....
+-- use if ( QApplication::isEffectEnabled( UI_AnimateTooltip ) == false ||....
as in qtooltip.cpp:564
-- implement custom tooltip for large texts and BLOB, add "zoom" option at the bottom of the tooltip
(zooming should not show a modal dialog but rather a widget inside the TV)
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 );
}
diff --git a/kexi/plugins/importexport/csv/kexicsvimportdialog.cpp b/kexi/plugins/importexport/csv/kexicsvimportdialog.cpp
index 26efa6029..e65f95bc1 100644
--- a/kexi/plugins/importexport/csv/kexicsvimportdialog.cpp
+++ b/kexi/plugins/importexport/csv/kexicsvimportdialog.cpp
@@ -190,7 +190,7 @@ KexiCSVImportDialog::KexiCSVImportDialog( Mode mode, KexiMainWindow* mainWin,
m_uniquenessTest.setAutoDelete(true);
setIcon(DesktopIcon(_IMPORT_ICON));
- setSizeGripEnabled( TRUE );
+ setSizeGripEnabled( true );
// m_encoding = TQString::fromLatin1(TDEGlobal::locale()->encoding());
// m_stripWhiteSpaceInTextValuesChecked = true;
diff --git a/kexi/tests/gui/finddialog/kexifinddialog.h b/kexi/tests/gui/finddialog/kexifinddialog.h
index d350db7a1..52de1a468 100644
--- a/kexi/tests/gui/finddialog/kexifinddialog.h
+++ b/kexi/tests/gui/finddialog/kexifinddialog.h
@@ -31,7 +31,7 @@ class KexiFindDialog : public KexiFindDialogBase
TQ_OBJECT
public:
- KexiFindDialog( bool replaceMode, TQWidget* parent = 0, const char* name = 0, bool modal = FALSE );
+ KexiFindDialog( bool replaceMode, TQWidget* parent = 0, const char* name = 0, bool modal = false );
virtual ~KexiFindDialog();
#if 0