summaryrefslogtreecommitdiffstats
path: root/korn/kornaccountcfgimpl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'korn/kornaccountcfgimpl.cpp')
-rw-r--r--korn/kornaccountcfgimpl.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/korn/kornaccountcfgimpl.cpp b/korn/kornaccountcfgimpl.cpp
index 4a8af84e..5b7706e1 100644
--- a/korn/kornaccountcfgimpl.cpp
+++ b/korn/kornaccountcfgimpl.cpp
@@ -44,7 +44,7 @@ KornAccountCfgImpl::KornAccountCfgImpl( TQWidget * parent, const char * name )
_urlfields( 0 ),
_boxnr( 0 ),
_accountnr( 0 ),
- _vlayout( 0 ),
+ _vtqlayout( 0 ),
_protocolLayout( 0 ),
_groupBoxes( 0 ),
_accountinput( new TQPtrList< AccountInput >() )
@@ -80,7 +80,7 @@ void KornAccountCfgImpl::readConfig( KConfigGroup *config, TQMap< TQString, TQSt
(*entries)[ "password" ] = KOrnPassword::readKOrnPassword( boxnr, accountnr, *config );
for( input = _accountinput->first(); input; input = _accountinput->next() )
- if( entries->contains( input->configName() ) )
+ if( entries->tqcontains( input->configName() ) )
input->setValue( *(entries->find( input->configName() ) ) );
this->edInterval->setText( _config->readEntry( "interval", "300" ) );
@@ -115,7 +115,7 @@ void KornAccountCfgImpl::writeConfig()
protocol->writeEntries( map );
- if( map->contains( "password" ) )
+ if( map->tqcontains( "password" ) )
{
KOrnPassword::writeKOrnPassword( _boxnr, _accountnr, *_config, *map->find( "password" ) );
map->erase( "password" );
@@ -173,12 +173,12 @@ void KornAccountCfgImpl::slotProtocolChanged( const TQString& proto )
_accountinput->clear();
delete _groupBoxes;
delete _protocolLayout;
- delete _vlayout;
- _vlayout = new TQVBoxLayout( this->server_tab, groupBoxes->count() + 1 );
- _vlayout->setSpacing( 10 );
- _vlayout->setMargin( 10 );
+ delete _vtqlayout;
+ _vtqlayout = new TQVBoxLayout( this->server_tab, groupBoxes->count() + 1 );
+ _vtqlayout->setSpacing( 10 );
+ _vtqlayout->setMargin( 10 );
- _protocolLayout = new TQHBoxLayout( _vlayout );
+ _protocolLayout = new TQHBoxLayout( _vtqlayout );
_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" ) );
- _vlayout->addWidget( _groupBoxes->at( counter ) );
+ _vtqlayout->addWidget( _groupBoxes->at( counter ) );
++counter;
}
delete groupBoxes;