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 5b7706e1..0346f3e8 100644
--- a/korn/kornaccountcfgimpl.cpp
+++ b/korn/kornaccountcfgimpl.cpp
@@ -37,8 +37,8 @@
#include <tqlabel.h>
#include <tqwidget.h>
-KornAccountCfgImpl::KornAccountCfgImpl( TQWidget * parent, const char * name )
- : KornAccountCfg( parent, name ),
+KornAccountCfgImpl::KornAccountCfgImpl( TQWidget * tqparent, const char * name )
+ : KornAccountCfg( tqparent, name ),
_config( 0 ),
_fields( 0 ),
_urlfields( 0 ),
@@ -49,8 +49,8 @@ KornAccountCfgImpl::KornAccountCfgImpl( TQWidget * parent, const char * name )
_groupBoxes( 0 ),
_accountinput( new TQPtrList< AccountInput >() )
{
- connect( parent, TQT_SIGNAL( okClicked() ), this, TQT_SLOT( slotOK() ) );
- connect( parent, TQT_SIGNAL( cancelClicked() ), this, TQT_SLOT( slotCancel() ) );
+ connect( tqparent, TQT_SIGNAL( okClicked() ), this, TQT_SLOT( slotOK() ) );
+ connect( tqparent, TQT_SIGNAL( cancelClicked() ), this, TQT_SLOT( slotCancel() ) );
this->cbProtocol->insertStringList( Protocols::getProtocols() );
@@ -81,7 +81,7 @@ void KornAccountCfgImpl::readConfig( KConfigGroup *config, TQMap< TQString, TQSt
for( input = _accountinput->first(); input; input = _accountinput->next() )
if( entries->tqcontains( input->configName() ) )
- input->setValue( *(entries->find( input->configName() ) ) );
+ input->setValue( *(entries->tqfind( input->configName() ) ) );
this->edInterval->setText( _config->readEntry( "interval", "300" ) );
@@ -117,7 +117,7 @@ void KornAccountCfgImpl::writeConfig()
if( map->tqcontains( "password" ) )
{
- KOrnPassword::writeKOrnPassword( _boxnr, _accountnr, *_config, *map->find( "password" ) );
+ KOrnPassword::writeKOrnPassword( _boxnr, _accountnr, *_config, *map->tqfind( "password" ) );
map->erase( "password" );
}
@@ -205,14 +205,14 @@ void KornAccountCfgImpl::slotProtocolChanged( const TQString& proto )
grid->setMargin( 15 );
for( input = _accountinput->first(); input; input = _accountinput->next() )
{
- if( input->leftWidget() && _groupBoxes->at( groupCounter ) == input->leftWidget()->parent() )
+ if( input->leftWidget() && _groupBoxes->at( groupCounter ) == input->leftWidget()->tqparent() )
{
grid->addWidget( input->leftWidget(), counter, 0 );
- if( input->rightWidget() && _groupBoxes->at( groupCounter ) == input->rightWidget()->parent() )
+ if( input->rightWidget() && _groupBoxes->at( groupCounter ) == input->rightWidget()->tqparent() )
grid->addWidget( input->rightWidget(), counter, 1 );
++counter;
} else {
- if( input->rightWidget() && _groupBoxes->at( groupCounter ) == input->rightWidget()->parent() )
+ if( input->rightWidget() && _groupBoxes->at( groupCounter ) == input->rightWidget()->tqparent() )
{
grid->addWidget( input->rightWidget(), counter, 1 );
++counter;