messagecopyhelper.h
Helper class to copy/move a set of messages defined by their serial numbers from arbitrary folders in...
Definition: messagecopyhelper.h:40
static bool inReadOnlyFolder(const TQValueList< TQ_UINT32 > &sernums)
Checks of any of the given messages comes from a read-only source.
Definition: messagecopyhelper.cpp:101
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.
Definition: messagecopyhelper.cpp:29
static TQValueList< TQ_UINT32 > serNumListFromMsgList(TQPtrList< KMMsgBase > list)
Converts a KMMsgsBase* list into a serial number list.
Definition: messagecopyhelper.cpp:90
static TQValueList< TQ_UINT32 > serNumListFromMailList(const KPIM::MailList &list)
Converts a MailList into a serial number list.
Definition: messagecopyhelper.cpp:82