summaryrefslogtreecommitdiffstats
path: root/kmail/accountmanager.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-13 00:46:47 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-13 00:46:47 +0000
commit67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7 (patch)
tree5f52a9eada2e9f3654fc327d7c14dfef570a6ecb /kmail/accountmanager.h
parent2ee4bf4fd5eff93b2fbef0ff8e8063edffc5da5c (diff)
downloadtdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.tar.gz
tdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.zip
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
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 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. */