summaryrefslogtreecommitdiffstats
path: root/kdevdesigner/designer/connectiontable.cpp
diff options
context:
space:
mode:
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();
}