summaryrefslogtreecommitdiffstats
path: root/kmail/accountmanager.h
diff options
context:
space:
mode:
Diffstat (limited to 'kmail/accountmanager.h')
-rw-r--r--kmail/accountmanager.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/kmail/accountmanager.h b/kmail/accountmanager.h
index f693180f1..c88aab92d 100644
--- a/kmail/accountmanager.h
+++ b/kmail/accountmanager.h
@@ -32,9 +32,10 @@ namespace KMail {
* The account manager is responsible for creating accounts of various types
* via the factory method create() and for keeping track of them.
*/
-class KDE_EXPORT AccountManager: public QObject
+class KDE_EXPORT AccountManager: public TQObject
{
Q_OBJECT
+ TQ_OBJECT
friend class ::KMAccount;
public:
@@ -52,7 +53,7 @@ public:
/** Create a new account of given type with given name. Currently
the types "local" for local mail folders and "pop" are supported. */
KMAccount* create( const TQString& type,
- const TQString& name = TQString::null,
+ const TQString& name = TQString(),
uint id = 0);
/** Adds an account to the list of accounts */
@@ -64,7 +65,7 @@ public:
/** Find account by id. Returns 0 if account does not exist.
*/
- KMAccount* find( const uint id ) const;
+ KMAccount* tqfind( const uint id ) const;
/** Physically remove account. Also deletes the given account object !
Returns FALSE and does nothing if the account cannot be removed. */