From fd3a982e26813f5bcc82c7e89ce6fa2ad44432bf Mon Sep 17 00:00:00 2001 From: tpearson Date: Fri, 7 Jan 2011 04:10:07 +0000 Subject: Revert automated changes Sorry guys, they are just not ready for prime time Work will continue as always git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1212480 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- ksysguard/gui/ksgrd/HostConnector.cc | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'ksysguard/gui/ksgrd/HostConnector.cc') diff --git a/ksysguard/gui/ksgrd/HostConnector.cc b/ksysguard/gui/ksgrd/HostConnector.cc index 0b4536f41..3885a9518 100644 --- a/ksysguard/gui/ksgrd/HostConnector.cc +++ b/ksysguard/gui/ksgrd/HostConnector.cc @@ -38,30 +38,30 @@ HostConnector::HostConnector( TQWidget *parent, const char *name ) parent, name, true, true ) { TQFrame *page = plainPage(); - TQGridLayout *tqlayout = new TQGridLayout( page, 2, 2, 0, spacingHint() ); - tqlayout->setColStretch( 1, 1 ); + TQGridLayout *layout = new TQGridLayout( page, 2, 2, 0, spacingHint() ); + layout->setColStretch( 1, 1 ); TQLabel *label = new TQLabel( i18n( "Host:" ), page ); - tqlayout->addWidget( label, 0, 0 ); + layout->addWidget( label, 0, 0 ); mHostNames = new KComboBox( true, page ); mHostNames->setMaxCount( 20 ); mHostNames->setInsertionPolicy( TQComboBox::AtTop ); mHostNames->setAutoCompletion( true ); mHostNames->setDuplicatesEnabled( false ); - tqlayout->addWidget( mHostNames, 0, 1 ); + layout->addWidget( mHostNames, 0, 1 ); label->setBuddy( mHostNames ); TQWhatsThis::add( mHostNames, i18n( "Enter the name of the host you want to connect to." ) ); mHostNameLabel = new TQLabel( page ); mHostNameLabel->hide(); - tqlayout->addWidget( mHostNameLabel, 0, 1 ); + layout->addWidget( mHostNameLabel, 0, 1 ); TQButtonGroup *group = new TQButtonGroup( 0, Qt::Vertical, i18n( "Connection Type" ), page ); - TQGridLayout *groupLayout = new TQGridLayout( group->tqlayout(), 4, 4, + TQGridLayout *groupLayout = new TQGridLayout( group->layout(), 4, 4, spacingHint() ); - groupLayout->tqsetAlignment( Qt::AlignTop ); + groupLayout->setAlignment( Qt::AlignTop ); mUseSsh = new TQRadioButton( i18n( "ssh" ), group ); mUseSsh->setEnabled( true ); @@ -109,7 +109,7 @@ HostConnector::HostConnector( TQWidget *parent, const char *name ) label = new TQLabel( i18n( "e.g. ssh -l root remote.host.org ksysguardd" ), group ); groupLayout->addMultiCellWidget( label, 3, 3, 2, 3 ); - tqlayout->addMultiCellWidget( group, 1, 1, 0, 1 ); + layout->addMultiCellWidget( group, 1, 1, 0, 1 ); connect( mUseCustom, TQT_SIGNAL( toggled( bool ) ), mCommands, TQT_SLOT( setEnabled( bool ) ) ); -- cgit v1.2.1