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/importjob.h | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'kmail/importjob.h') diff --git a/kmail/importjob.h b/kmail/importjob.h index 170441415..ddb009113 100644 --- a/kmail/importjob.h +++ b/kmail/importjob.h @@ -52,6 +52,7 @@ namespace KMail class ImportJob : public TQObject { Q_OBJECT + TQ_OBJECT public: @@ -71,13 +72,13 @@ class ImportJob : public TQObject struct Folder { - KMFolder *parent; + KMFolder *tqparent; const KArchiveDirectory *archiveDir; }; struct Messages { - KMFolder *parent; + KMFolder *tqparent; TQPtrList files; }; @@ -85,8 +86,8 @@ class ImportJob : public TQObject void abort( const TQString &errorMessage ); void queueFolders(); void importNextDirectory(); - KMFolder* createSubFolder( KMFolder *parent, const TQString &folderName, mode_t permissions ); - KMFolder* getOrCreateSubFolder( KMFolder *parentFolder, const TQString &subFolderName, + KMFolder* createSubFolder( KMFolder *tqparent, const TQString &folderName, mode_t permissions ); + KMFolder* getOrCreateSubFolder( KMFolder *tqparentFolder, const TQString &subFolderName, mode_t subFolderPermissions ); void enqueueMessages( const KArchiveDirectory *dir, KMFolder *folder ); void messageAdded(); @@ -101,11 +102,11 @@ class ImportJob : public TQObject KURL mArchiveFile; int mNumberOfImportedMessages; - // List of archive folders with their corresponding KMail parent folder that are awaiting + // List of archive folders with their corresponding KMail tqparent folder that are awaiting // processing TQValueList mQueuedDirectories; - // List of list of messages and their parent folders which are awaiting processing + // List of list of messages and their tqparent folders which are awaiting processing TQValueList mQueuedMessages; // The folder to which we are currently importing messages -- cgit v1.2.1