summaryrefslogtreecommitdiffstats
path: root/kmail/kmaccount.h
diff options
context:
space:
mode:
Diffstat (limited to 'kmail/kmaccount.h')
-rw-r--r--kmail/kmaccount.h14
1 files changed, 8 insertions, 6 deletions
diff --git a/kmail/kmaccount.h b/kmail/kmaccount.h
index 2872b111..02df2421 100644
--- a/kmail/kmaccount.h
+++ b/kmail/kmaccount.h
@@ -49,12 +49,13 @@ using KPIM::ProgressItem;
class KMAccount;
typedef TQValueList< ::KMAccount* > AccountList;
-class KMPrecommand : public QObject
+class KMPrecommand : public TQObject
{
Q_OBJECT
+ TQ_OBJECT
public:
- KMPrecommand(const TQString &precommand, TQObject *parent = 0);
+ KMPrecommand(const TQString &precommand, TQObject *tqparent = 0);
virtual ~KMPrecommand();
bool start();
@@ -73,6 +74,7 @@ protected:
class KMAccount: public TQObject, public KAccount
{
Q_OBJECT
+ TQ_OBJECT
friend class KMail::AccountManager;
friend class ::KMail::FolderJob;
friend class ::AccountsPageReceivingTab; // part of the config dialog
@@ -81,7 +83,7 @@ class KMAccount: public TQObject, public KAccount
public:
virtual ~KMAccount();
- enum CheckStatus { CheckOK, CheckIgnored, CheckCanceled, CheckAborted,
+ enum ChecktqStatus { CheckOK, CheckIgnored, CheckCanceled, CheckAborted,
CheckError };
/** The default check interval */
@@ -90,7 +92,7 @@ public:
/**
* Returns type of the account
*/
- virtual TQString type() const { return TQString::null; }
+ virtual TQString type() const { return TQString(); }
/**
* Reimplemented, set account name
@@ -229,7 +231,7 @@ public:
* @param newMail true if new mail arrived
* @param status the status of the mail check
*/
- void checkDone( bool newMail, CheckStatus status );
+ void checkDone( bool newMail, ChecktqStatus status );
/**
* Abort all running mail checks. Used when closing the last KMMainWin.
@@ -258,7 +260,7 @@ signals:
* @param newMail true if there was new mail
* @param status the status of the mail check
**/
- virtual void finishedCheck( bool newMail, CheckStatus status );
+ virtual void finishedCheck( bool newMail, ChecktqStatus status );
/**
* Emitted after the mail check is finished.