summaryrefslogtreecommitdiffstats
path: root/kdevdesigner/designer/connectiontable.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-04-08 12:59:07 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-04-10 17:35:38 +0900
commitd2d30bfbef26707f9158cbc31d5763a9a1d4ab2d (patch)
tree6d2d4502d6fbe4d6810bfb7bcf297cbf995d3db8 /kdevdesigner/designer/connectiontable.cpp
parentb9618de13e8f38c3558e9ed393a75c1f13af665c (diff)
downloadtdevelop-r14.1.4.tar.gz
tdevelop-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 5198c9d3ac02aa9c7949f49e3cf374f683facb18)
Diffstat (limited to 'kdevdesigner/designer/connectiontable.cpp')
-rw-r--r--kdevdesigner/designer/connectiontable.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/kdevdesigner/designer/connectiontable.cpp b/kdevdesigner/designer/connectiontable.cpp
index 834fdc96..2e433dc8 100644
--- a/kdevdesigner/designer/connectiontable.cpp
+++ b/kdevdesigner/designer/connectiontable.cpp
@@ -31,26 +31,26 @@
ConnectionTable::ConnectionTable( TQWidget *parent, const char *name )
: TQTable( 0, 4, parent, name )
{
- setSorting( TRUE );
- setShowGrid( FALSE );
+ setSorting( true );
+ setShowGrid( false );
setFocusStyle( FollowStyle );
setSelectionMode( SingleRow );
horizontalHeader()->setLabel( 0, i18n( "Sender" ) );
horizontalHeader()->setLabel( 1, i18n( "Signal" ) );
horizontalHeader()->setLabel( 2, i18n( "Receiver" ) );
horizontalHeader()->setLabel( 3, i18n( "Slot" ) );
- setColumnStretchable( 0, TRUE );
- setColumnStretchable( 1, TRUE );
- setColumnStretchable( 2, TRUE );
- setColumnStretchable( 3, TRUE );
+ setColumnStretchable( 0, true );
+ setColumnStretchable( 1, true );
+ setColumnStretchable( 2, true );
+ setColumnStretchable( 3, true );
}
void ConnectionTable::sortColumn( int col, bool ascending, bool )
{
horizontalHeader()->setSortIndicator( col, ascending );
if ( isEditing() )
- endEdit( currEditRow(), currEditCol(), FALSE, FALSE );
- TQTable::sortColumn( col, ascending, TRUE );
+ endEdit( currEditRow(), currEditCol(), false, false );
+ TQTable::sortColumn( col, ascending, true );
setCurrentCell( 0, 0 );
emit resorted();
}