diff options
Diffstat (limited to 'korn/kornaccountcfgimpl.cpp')
-rw-r--r-- | korn/kornaccountcfgimpl.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/korn/kornaccountcfgimpl.cpp b/korn/kornaccountcfgimpl.cpp index ce1c9058b..5da0210e7 100644 --- a/korn/kornaccountcfgimpl.cpp +++ b/korn/kornaccountcfgimpl.cpp @@ -32,7 +32,7 @@ #include <tqcheckbox.h> #include <tqcombobox.h> #include <tqptrvector.h> -#include <tqlayout.h> +#include <layout.h> #include <tqmap.h> #include <tqlabel.h> #include <tqwidget.h> @@ -44,7 +44,7 @@ KornAccountCfgImpl::KornAccountCfgImpl( TQWidget * parent, const char * name ) _urlfields( 0 ), _boxnr( 0 ), _accountnr( 0 ), - _vtqlayout( 0 ), + _vlayout( 0 ), _protocolLayout( 0 ), _groupBoxes( 0 ), _accountinput( new TQPtrList< AccountInput >() ) @@ -173,12 +173,12 @@ void KornAccountCfgImpl::slotProtocolChanged( const TQString& proto ) _accountinput->clear(); delete _groupBoxes; delete _protocolLayout; - delete _vtqlayout; - _vtqlayout = new TQVBoxLayout( this->server_tab, groupBoxes->count() + 1 ); - _vtqlayout->setSpacing( 10 ); - _vtqlayout->setMargin( 10 ); + delete _vlayout; + _vlayout = new TQVBoxLayout( this->server_tab, groupBoxes->count() + 1 ); + _vlayout->setSpacing( 10 ); + _vlayout->setMargin( 10 ); - _protocolLayout = new TQHBoxLayout( _vtqlayout ); + _protocolLayout = new TQHBoxLayout( _vlayout ); _protocolLayout->addWidget( this->lbProtocol ); _protocolLayout->addWidget( this->cbProtocol ); @@ -189,7 +189,7 @@ void KornAccountCfgImpl::slotProtocolChanged( const TQString& proto ) for( it = groupBoxes->begin(); it != groupBoxes->end(); ++it ) { _groupBoxes->insert( counter, new TQGroupBox( (*it), this->server_tab, "groupbox" ) ); - _vtqlayout->addWidget( _groupBoxes->at( counter ) ); + _vlayout->addWidget( _groupBoxes->at( counter ) ); ++counter; } delete groupBoxes; |