KMail::MessageCopyHelper Class Reference
#include <messagecopyhelper.h>
Inherits TQObject.
Public Member Functions | |
MessageCopyHelper (const TQValueList< TQ_UINT32 > &msgs, KMFolder *dest, bool move, TQObject *parent=0) | |
Static Public Member Functions | |
static TQValueList< TQ_UINT32 > | serNumListFromMailList (const KPIM::MailList &list) |
static TQValueList< TQ_UINT32 > | serNumListFromMsgList (TQPtrList< KMMsgBase > list) |
static bool | inReadOnlyFolder (const TQValueList< TQ_UINT32 > &sernums) |
Detailed Description
Helper class to copy/move a set of messages defined by their serial numbers from arbitrary folders into a common destination folder.
Definition at line 39 of file messagecopyhelper.h.
Constructor & Destructor Documentation
◆ MessageCopyHelper()
MessageCopyHelper::MessageCopyHelper | ( | const TQValueList< TQ_UINT32 > & | msgs, |
KMFolder * | dest, | ||
bool | move, | ||
TQObject * | parent = 0 |
||
) |
Creates new MessageCopyHelper object to copy the given messages to the specified destination folder.
- Parameters
-
msgs List of serial numbers. dest Destination folder. move If set to true, messages will be moved instead of copied parent The parent object.
Definition at line 29 of file messagecopyhelper.cpp.
Member Function Documentation
◆ inReadOnlyFolder()
|
static |
Checks of any of the given messages comes from a read-only source.
Definition at line 101 of file messagecopyhelper.cpp.
◆ serNumListFromMailList()
|
static |
Converts a MailList into a serial number list.
Definition at line 82 of file messagecopyhelper.cpp.
◆ serNumListFromMsgList()
|
static |
Converts a KMMsgsBase* list into a serial number list.
Definition at line 90 of file messagecopyhelper.cpp.
The documentation for this class was generated from the following files: