kmail
KMCommand Class Reference
Inheritance diagram for KMCommand:

Detailed Description
Definition at line 38 of file kmcommands.h.
Public Types | |
enum | Result { Undefined, OK, Canceled, Failed } |
Public Slots | |
void | start () |
void | slotProgress (unsigned long done, unsigned long total) |
Signals | |
void | messagesTransfered (KMCommand::Result result) |
void | completed (KMCommand *command) |
Public Member Functions | |
KMCommand (QWidget *parent=0) | |
KMCommand (QWidget *parent, const QPtrList< KMMsgBase > &msgList) | |
KMCommand (QWidget *parent, KMMsgBase *msgBase) | |
KMCommand (QWidget *parent, KMMessage *message) | |
virtual | ~KMCommand () |
void | keepFolderOpen (KMFolder *folder) |
Result | result () |
Protected Member Functions | |
const QPtrList< KMMessage > | retrievedMsgs () const |
KMMessage * | retrievedMessage () const |
QWidget * | parentWidget () const |
bool | deletesItself () |
void | setDeletesItself (bool deletesItself) |
bool | emitsCompletedItself () |
void | setEmitsCompletedItself (bool emitsCompletedItself) |
void | setResult (Result result) |
Friends | |
class | LaterDeleterWithCommandCompletion |
Member Function Documentation
|
Emitted when the command has completed.
|
|
These folders will be closed by the dtor, handy, if you need to keep a folder open during the lifetime of the command, but don't want to care about closing it again.
Definition at line 439 of file kmcommands.cpp. |
|
Returns the result of the command. Only call this method from the slot connected to completed(). Definition at line 187 of file kmcommands.cpp. |
|
Specify whether the subclass takes care of the deletion of the object. By default the base class will delete the object.
Definition at line 94 of file kmcommands.h. |
|
Specify whether the subclass takes care of emitting the completed() signal. By default the base class will emit this signal.
Definition at line 104 of file kmcommands.h. |
|
Use this to set the result of the command.
Definition at line 110 of file kmcommands.h. |
The documentation for this class was generated from the following files: