summaryrefslogtreecommitdiffstats
path: root/kmail/importjob.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/importjob.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/importjob.h')
-rw-r--r--kmail/importjob.h13
1 files changed, 7 insertions, 6 deletions
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<KArchiveFile> 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<Folder> 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<Messages> mQueuedMessages;
// The folder to which we are currently importing messages