summaryrefslogtreecommitdiffstats
path: root/korn/kmail_proto.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'korn/kmail_proto.cpp')
-rw-r--r--korn/kmail_proto.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/korn/kmail_proto.cpp b/korn/kmail_proto.cpp
index fb6166c31..8f740c80a 100644
--- a/korn/kmail_proto.cpp
+++ b/korn/kmail_proto.cpp
@@ -51,9 +51,9 @@ KMail_Protocol::~KMail_Protocol()
{
}
-const Protocol* KMail_Protocol::getProtocol( KConfigGroup* config ) const
+const Protocol* KMail_Protocol::getProtocol( TDEConfigGroup* config ) const
{
- KConfig kmailconfig( "kmailrc", true, false );
+ TDEConfig kmailconfig( "kmailrc", true, false );
int id;
TQString type = getTypeAndConfig( config->readEntry( "kmailname" ), kmailconfig, id );
@@ -73,10 +73,10 @@ const Protocol* KMail_Protocol::getProtocol( KConfigGroup* config ) const
return 0;
}
-KMailDrop* KMail_Protocol::createMaildrop( KConfigGroup *config ) const
+KMailDrop* KMail_Protocol::createMaildrop( TDEConfigGroup *config ) const
{
int id;
- KConfig kmailconfig( "kmailrc", true, false );
+ TDEConfig kmailconfig( "kmailrc", true, false );
TQString type = getTypeAndConfig( config->readEntry( "kmailname" ), kmailconfig, id );
if( type == "imap" || type == "cachedimap" || type == "pop" || type == "local" || type == "maildir" )
@@ -86,11 +86,11 @@ KMailDrop* KMail_Protocol::createMaildrop( KConfigGroup *config ) const
return 0;
}
-TQMap< TQString, TQString > * KMail_Protocol::createConfig( KConfigGroup* config, const TQString& ) const
+TQMap< TQString, TQString > * KMail_Protocol::createConfig( TDEConfigGroup* config, const TQString& ) const
{
TQMap< TQString, TQString > *result = new TQMap<TQString, TQString>;
int id;
- KConfig kmailconfig( "kmailrc", true, false );
+ TDEConfig kmailconfig( "kmailrc", true, false );
//First: find the account in the configuration and get the type and id out of it.
TQString type = getTypeAndConfig( config->readEntry( "kmailname" ), kmailconfig, id );
TQString metadata;
@@ -184,7 +184,7 @@ void KMail_Protocol::configFields( TQPtrVector< TQWidget >* vector, const TQObje
TQString name;
int nummer = kmailFirstGroup - 1;
- KConfig kmailconfig( "kmailrc", true, false );
+ TDEConfig kmailconfig( "kmailrc", true, false );
while( kmailconfig.hasGroup( TQString( kmailGroupName ).arg( ++nummer ) ) )
{
kmailconfig.setGroup( TQString( kmailGroupName ).arg( nummer ) );
@@ -209,7 +209,7 @@ void KMail_Protocol::writeEntries( TQMap< TQString, TQString >* ) const
//The configuartion is read out on the right way
}
-TQString KMail_Protocol::readPassword( bool store, const KConfigBase& config, int id ) const
+TQString KMail_Protocol::readPassword( bool store, const TDEConfigBase& config, int id ) const
{
if( !store )
return "";
@@ -217,7 +217,7 @@ TQString KMail_Protocol::readPassword( bool store, const KConfigBase& config, in
return KOrnPassword::readKMailPassword( id, config );
}
-TQString KMail_Protocol::getTypeAndConfig( const TQString& kmailname, KConfig &kmailconfig, int &id ) const
+TQString KMail_Protocol::getTypeAndConfig( const TQString& kmailname, TDEConfig &kmailconfig, int &id ) const
{
int nummer = kmailFirstGroup - 1;
bool found = false;