diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-04-08 12:59:07 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-04-10 12:35:00 +0900 |
| commit | 5198c9d3ac02aa9c7949f49e3cf374f683facb18 (patch) | |
| tree | 6b2429d827560c3abd4ae62a941d84ceebaa7a3b /kdevdesigner/designer/connectiontable.cpp | |
| parent | 8c206b21c4f83d07c23d59989988291cfee38009 (diff) | |
| download | tdevelop-5198c9d3ac02aa9c7949f49e3cf374f683facb18.tar.gz tdevelop-5198c9d3ac02aa9c7949f49e3cf374f683facb18.zip | |
Replace TRUE/FALSE with boolean values true/false
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kdevdesigner/designer/connectiontable.cpp')
| -rw-r--r-- | kdevdesigner/designer/connectiontable.cpp | 16 |
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(); } |
