messagecopyhelper.cpp
40 for ( TQValueList<TQ_UINT32>::ConstIterator it = msgs.constBegin(); it != msgs.constEnd(); ++it ) {
const KMMsgBase * getMsgBase(int idx) const
Provides access to the basic message fields that are also stored in the index.
Definition: kmfolder.cpp:360
void getLocation(unsigned long key, KMFolder **retFolder, int *retIndex) const
Returns the folder the message represented by the serial number key is in and the index in that folde...
Definition: kmmsgdict.cpp:319
static const KMMsgDict * instance()
Access the globally unique MessageDict.
Definition: kmmsgdict.cpp:167
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