From 7be55ffa061c026e35e2d6a0effe1161ddb0d41f Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:53:50 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kmail/popaccount.h | 68 +++++++++++++++++++++++++++--------------------------- 1 file changed, 34 insertions(+), 34 deletions(-) (limited to 'kmail/popaccount.h') diff --git a/kmail/popaccount.h b/kmail/popaccount.h index 718ac3165..840629a47 100644 --- a/kmail/popaccount.h +++ b/kmail/popaccount.h @@ -4,11 +4,11 @@ #include "networkaccount.h" -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include class KMPopHeaders; class KMMessage; @@ -37,7 +37,7 @@ public: /** A weak assignment operator */ virtual void pseudoAssign( const KMAccount * a ); - virtual QString protocol() const; + virtual TQString protocol() const; virtual unsigned short int defaultPort() const; /** @@ -88,7 +88,7 @@ public: /** * Inherited methods. */ - virtual QString type(void) const; + virtual TQString type(void) const; virtual void readConfig(KConfig&); virtual void writeConfig(KConfig&); virtual void processNewMail(bool _interactive); @@ -98,7 +98,7 @@ public: protected: enum Stage { Idle, List, Uidl, Head, Retr, Dele, Quit }; friend class ::AccountManager; - PopAccount(AccountManager* owner, const QString& accountName, uint id); + PopAccount(AccountManager* owner, const TQString& accountName, uint id); /** * Start a KIO Job to get a list of messages on the pop server @@ -131,38 +131,38 @@ protected: KIO::SimpleJob *job; //Map of ID's vs. sizes of messages which should be downloaded - QMap mMsgsPendingDownload; + TQMap mMsgsPendingDownload; - QPtrList headersOnServer; - QPtrListIterator headerIt; + TQPtrList headersOnServer; + TQPtrListIterator headerIt; bool headers; - QMap mHeaderDeleteUids; - QMap mHeaderDownUids; - QMap mHeaderLaterUids; - - QStringList idsOfMsgs; //used for ids and for count - QValueList lensOfMsgs; - QMap mUidForIdMap; // maps message ID (i.e. index on the server) to UID - QDict mUidsOfSeenMsgsDict; // set of UIDs of previously seen messages (for fast lookup) - QDict mUidsOfNextSeenMsgsDict; // set of UIDs of seen messages (for the next check) - QValueVector mTimeOfSeenMsgsVector; // list of times of previously seen messages - QMap mTimeOfNextSeenMsgsMap; // map of uid to times of seen messages - QDict mSizeOfNextSeenMsgsDict; - QStringList idsOfMsgsToDelete; - QStringList idsOfForcedDeletes; + TQMap mHeaderDeleteUids; + TQMap mHeaderDownUids; + TQMap mHeaderLaterUids; + + TQStringList idsOfMsgs; //used for ids and for count + TQValueList lensOfMsgs; + TQMap mUidForIdMap; // maps message ID (i.e. index on the server) to UID + TQDict mUidsOfSeenMsgsDict; // set of UIDs of previously seen messages (for fast lookup) + TQDict mUidsOfNextSeenMsgsDict; // set of UIDs of seen messages (for the next check) + TQValueVector mTimeOfSeenMsgsVector; // list of times of previously seen messages + TQMap mTimeOfNextSeenMsgsMap; // map of uid to times of seen messages + TQDict mSizeOfNextSeenMsgsDict; + TQStringList idsOfMsgsToDelete; + TQStringList idsOfForcedDeletes; int indexOfCurrentMsg; - QValueList msgsAwaitingProcessing; - QStringList msgIdsAwaitingProcessing; - QStringList msgUidsAwaitingProcessing; + TQValueList msgsAwaitingProcessing; + TQStringList msgIdsAwaitingProcessing; + TQStringList msgUidsAwaitingProcessing; - QByteArray curMsgData; - QDataStream *curMsgStrm; + TQByteArray curMsgData; + TQDataStream *curMsgStrm; int curMsgLen; Stage stage; - QTimer processMsgsTimer; + TQTimer processMsgsTimer; int processingDelay; int numMsgs, numBytes, numBytesToRead, numBytesRead, numMsgBytesRead; bool interactive; @@ -193,12 +193,12 @@ protected slots: * A messages has been retrieved successfully. The next data belongs to the * next message. */ - void slotMsgRetrieved(KIO::Job*, const QString &); + void slotMsgRetrieved(KIO::Job*, const TQString &); /** * New data has arrived append it to the end of the current message */ - void slotData( KIO::Job*, const QByteArray &); + void slotData( KIO::Job*, const TQByteArray &); /** * Finished downloading the current kio job, either due to an error @@ -226,7 +226,7 @@ protected slots: /** * Slave error handling */ - void slotSlaveError(KIO::Slave *, int, const QString &); + void slotSlaveError(KIO::Slave *, int, const TQString &); /** * If there are more headers to be downloaded then start a new kio job -- cgit v1.2.1