summaryrefslogtreecommitdiffstats
path: root/korn/kmail_proto.h
diff options
context:
space:
mode:
Diffstat (limited to 'korn/kmail_proto.h')
-rw-r--r--korn/kmail_proto.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/korn/kmail_proto.h b/korn/kmail_proto.h
index 72e846d25..c2026baf1 100644
--- a/korn/kmail_proto.h
+++ b/korn/kmail_proto.h
@@ -22,8 +22,8 @@
#include "protocol.h"
-class KConfig;
-class KConfigBase;
+class TDEConfig;
+class TDEConfigBase;
/**
* This class is the comminucation between KOrn and KMail.
@@ -51,14 +51,14 @@ public:
* @param config The configuration group to read the kmailname from.
* @return A pointer to a Protocol (not newly created) or 0 if an error orrured.
*/
- virtual const Protocol* getProtocol( KConfigGroup* config ) const;
+ virtual const Protocol* getProtocol( TDEConfigGroup* config ) const;
/**
* This gives a new Maildrop back. The maildrop is responsible to execute the configuration.
* In most cases, it will return a new instance of the KKioDrop Maildrop.
* @param config The configuration group to read the kmailname from.
* @return A new KMailDrop, or a 0 pointer if an error occured.
*/
- virtual KMailDrop* createMaildrop( KConfigGroup* config ) const;
+ virtual KMailDrop* createMaildrop( TDEConfigGroup* config ) const;
/**
* This does the real convertion: given a namen of a KMail account (hidden in config),
* it calculates how the configuration whould have looked in KOrn.
@@ -67,7 +67,7 @@ public:
* @param password The password fetched out of the configuration or KWallet.
* @return A mapping containing the configuration if success, and empty mapping otherwise.
*/
- virtual TQMap< TQString, TQString > * createConfig( KConfigGroup* config, const TQString& password ) const;
+ virtual TQMap< TQString, TQString > * createConfig( TDEConfigGroup* config, const TQString& password ) const;
/**
* The name of thes protocol
*
@@ -107,8 +107,8 @@ public:
virtual void writeEntries( TQMap< TQString, TQString >* config ) const;
private:
- TQString readPassword( bool store, const KConfigBase &config, int id ) const;
- TQString getTypeAndConfig( const TQString& kmailname, KConfig &config, int &nummer ) const;
+ TQString readPassword( bool store, const TDEConfigBase &config, int id ) const;
+ TQString getTypeAndConfig( const TQString& kmailname, TDEConfig &config, int &nummer ) const;
static const char* kmailGroupName;
static const char* kmailKeyName;