From 67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 13 Apr 2011 00:46:47 +0000 Subject: Initial conversion of kdepim to TQt This will probably require some tweaking before it will build under Qt4, however Qt3 builds are OK. Any alterations this commit makes to kdepim behaviour under Qt3 are unintentional and should be fixed. git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1227832 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kmail/accountmanager.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'kmail/accountmanager.h') diff --git a/kmail/accountmanager.h b/kmail/accountmanager.h index f693180f..c88aab92 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. */ -- cgit v1.2.3