kmail
KMail::RenameJob Class Reference
#include <renamejob.h>
Detailed Description
Rename and move (d)imap folders They can be moved everywhere (except search folders) as a new folder is created, all messages are moved there and the original folder is deleted.
Definition at line 49 of file renamejob.h.
Signals | |
| void | renameDone (QString newName, bool success) |
Public Member Functions | |
| RenameJob (FolderStorage *storage, const QString &newName, KMFolderDir *newParent=0) | |
| virtual void | execute () |
Protected Slots | |
| void | slotRenameResult (KIO::Job *job) |
| void | slotMoveMessages () |
| void | slotMoveCompleted (KMCommand *command) |
| void | slotMoveSubFolders (QString newName, bool success) |
Protected Member Functions | |
| void | moveSubFoldersBeforeMessages () |
Protected Attributes | |
| FolderStorage * | mStorage |
| FolderStorage * | mStorageTempOpened |
| KMFolderDir * | mNewParent |
| QString | mNewName |
| QString | mNewImapPath |
| QString | mOldName |
| QString | mOldImapPath |
| KMFolder * | mNewFolder |
Constructor & Destructor Documentation
|
||||||||||||||||
|
Create a new job.
Definition at line 55 of file renamejob.cpp. |
Member Function Documentation
|
||||||||||||
|
Emitted when the job is done, check the success bool.
|
|
|
All messages are moved so remove the original folder.
Definition at line 248 of file renamejob.cpp. |
|
|
Move all messages from the original folder to mNewFolder.
Definition at line 220 of file renamejob.cpp. |
|
|
Rename the folder.
Definition at line 187 of file renamejob.cpp. |
The documentation for this class was generated from the following files:

