summaryrefslogtreecommitdiffstats
path: root/kmail/kmfoldermaildir.h
diff options
context:
space:
mode:
Diffstat (limited to 'kmail/kmfoldermaildir.h')
-rw-r--r--kmail/kmfoldermaildir.h32
1 files changed, 16 insertions, 16 deletions
diff --git a/kmail/kmfoldermaildir.h b/kmail/kmfoldermaildir.h
index 8e09a6f3..12f24942 100644
--- a/kmail/kmfoldermaildir.h
+++ b/kmail/kmfoldermaildir.h
@@ -5,7 +5,7 @@
#include <kfileitem.h>
-#include <qguardedptr.h>
+#include <tqguardedptr.h>
class KMFolderMaildir;
namespace KMail {
@@ -52,7 +52,7 @@ public:
/** Remove (first occurrence of) given message from the folder. */
virtual void removeMsg(int i, bool imapQuiet = FALSE);
- virtual void removeMsg(QPtrList<KMMessage> msgList, bool imapQuiet = FALSE)
+ virtual void removeMsg(TQPtrList<KMMessage> msgList, bool imapQuiet = FALSE)
{ return KMFolderIndex::removeMsg(msgList, imapQuiet); }
// Called by KMMsgBase::setStatus when status of a message has changed
@@ -83,20 +83,20 @@ public:
@param folderPath the full path of the folder as returned by location()
@return 0 on success and an error code (cf. man 3 errno) otherwise
*/
- static int createMaildirFolders( const QString & folderPath );
+ static int createMaildirFolders( const TQString & folderPath );
- static QString constructValidFileName( const QString & filename = QString(),
+ static TQString constructValidFileName( const TQString & filename = TQString(),
KMMsgStatus status = KMMsgStatusNew );
- static bool removeFile( const QString & folderPath,
- const QString & filename );
+ static bool removeFile( const TQString & folderPath,
+ const TQString & filename );
/** @reimpl */
virtual int create();
/** Remove some deleted messages from the folder. Returns zero on success
and an errno on failure. This is only for use from MaildirCompactionJob. */
- int compact( unsigned int startIndex, int nbMessages, const QStringList& entryList, bool& done );
+ int compact( unsigned int startIndex, int nbMessages, const TQStringList& entryList, bool& done );
/** Remove deleted messages from the folder. Returns zero on success
and an errno on failure. */
@@ -110,8 +110,8 @@ public:
protected:
virtual FolderJob* doCreateJob( KMMessage *msg, FolderJob::JobType jt, KMFolder *folder,
- QString partSpecifier, const AttachmentStrategy *as ) const;
- virtual FolderJob* doCreateJob( QPtrList<KMMessage>& msgList, const QString& sets,
+ TQString partSpecifier, const AttachmentStrategy *as ) const;
+ virtual FolderJob* doCreateJob( TQPtrList<KMMessage>& msgList, const TQString& sets,
FolderJob::JobType jt, KMFolder *folder ) const;
/** Load message from file and store it at given index. Returns 0
on failure. */
@@ -147,10 +147,10 @@ private slots:
void slotDirSizeJobResult( KIO::Job* job );
private:
- void readFileHeaderIntern(const QString& dir, const QString& file, KMMsgStatus status);
- QString moveInternal(const QString& oldLoc, const QString& newLoc, KMMsgInfo* mi);
- QString moveInternal(const QString& oldLoc, const QString& newLoc, QString& aFileName, KMMsgStatus status);
- bool removeFile(const QString& filename);
+ void readFileHeaderIntern(const TQString& dir, const TQString& file, KMMsgStatus status);
+ TQString moveInternal(const TQString& oldLoc, const TQString& newLoc, KMMsgInfo* mi);
+ TQString moveInternal(const TQString& oldLoc, const TQString& newLoc, TQString& aFileName, KMMsgStatus status);
+ bool removeFile(const TQString& filename);
/** Tests whether the contents of this folder is newer than the index.
Returns IndexTooOld if the index is older than the contents.
@@ -159,10 +159,10 @@ private:
*/
virtual IndexStatus indexStatus();
- typedef QPair<QGuardedPtr<const KMFolderMaildir>,KFileItemList> DirSizeJobQueueEntry;
- static QValueList<DirSizeJobQueueEntry> s_DirSizeJobQueue;
+ typedef QPair<TQGuardedPtr<const KMFolderMaildir>,KFileItemList> DirSizeJobQueueEntry;
+ static TQValueList<DirSizeJobQueueEntry> s_DirSizeJobQueue;
- QStrList mIdxToFileList;
+ TQStrList mIdxToFileList;
int mIdxCount;
mutable bool mCurrentlyCheckingFolderSize;
};