diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-02-16 20:17:18 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-02-16 20:17:18 +0000 |
commit | f4fae92b6768541e2952173c3d4b09040f95bf7e (patch) | |
tree | d8c5d93232235cd635f3310b4d95490df181ba2d /korn/kornaccountcfgimpl.cpp | |
parent | 125c0a08265b75a133644d3b55f47e37c919f45d (diff) | |
download | tdepim-f4fae92b6768541e2952173c3d4b09040f95bf7e.tar.gz tdepim-f4fae92b6768541e2952173c3d4b09040f95bf7e.zip |
Moved kpilot from kdepim to applications, as the core Trinity libraries should not contain hardware-dependent software
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1221127 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'korn/kornaccountcfgimpl.cpp')
-rw-r--r-- | korn/kornaccountcfgimpl.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/korn/kornaccountcfgimpl.cpp b/korn/kornaccountcfgimpl.cpp index 4a8af84e9..5b7706e1d 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; |