KDE PIM / Developers / API Docs / kmail

KMail::RenameJob Class Reference

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. More...

#include <renamejob.h>

Inherits KMail::FolderJob.

List of all members.

Signals

Public Member Functions

Protected Slots

Protected Attributes


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.


Constructor & Destructor Documentation

RenameJob::RenameJob FolderStorage storage,
const QString &  newName,
KMFolderDir newParent = 0
 

Create a new job.

Parameters:
storage the folder that should be renames
newName the new name of the folder
newParent the new parent if the folder should be moved, else 0

Member Function Documentation

void RenameJob::slotRenameResult KIO::Job *  job  )  [protected, slot]
 

Rename the folder.

void RenameJob::slotMoveMessages  )  [protected, slot]
 

Move all messages from the original folder to mNewFolder.

void RenameJob::slotMoveCompleted KMCommand *  command  )  [protected, slot]
 

All messages are moved so remove the original folder.

void KMail::RenameJob::renameDone QString  newName,
bool  success
[signal]
 

Emitted when the job is done, check the success bool.


The documentation for this class was generated from the following files: