Diffstat (limited to 'noncore/net/mail/libmailwrapper/abstractmail.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/net/mail/libmailwrapper/abstractmail.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/noncore/net/mail/libmailwrapper/abstractmail.cpp b/noncore/net/mail/libmailwrapper/abstractmail.cpp index 7e6d383..68a7a4d 100644 --- a/noncore/net/mail/libmailwrapper/abstractmail.cpp +++ b/noncore/net/mail/libmailwrapper/abstractmail.cpp @@ -83,3 +83,3 @@ QString AbstractMail::convert_String(const char*text) { - size_t index = 0; + //size_t index = 0; char*res = 0; @@ -113,3 +113,3 @@ QString AbstractMail::gen_attachment_id() -int AbstractMail::createMbox(const QString&,const FolderP&,const QString& delemiter,bool) +int AbstractMail::createMbox(const QString&,const FolderP&,const QString& ,bool) { @@ -131,3 +131,3 @@ QString AbstractMail::draftFolder() /* temporary - will be removed when implemented in all classes */ -void AbstractMail::deleteMails(const QString &,QList<RecMail> &) +void AbstractMail::deleteMails(const QString &,const QValueList<Opie::OSmartPointer<RecMail> > &) { @@ -138,3 +138,3 @@ void AbstractMail::mvcpAllMails(const FolderP&fromFolder, { - QList<RecMail> t; + QValueList<RecMailP> t; listMessages(fromFolder->getName(),t); @@ -142,4 +142,4 @@ void AbstractMail::mvcpAllMails(const FolderP&fromFolder, while (t.count()>0) { - RecMail*r = t.at(0); - st = fetchRawBody(*r); + RecMailP r = (*t.begin()); + st = fetchRawBody(r); if (st) { @@ -148,3 +148,3 @@ void AbstractMail::mvcpAllMails(const FolderP&fromFolder, } - t.removeFirst(); + t.remove(t.begin()); } @@ -155,3 +155,3 @@ void AbstractMail::mvcpAllMails(const FolderP&fromFolder, -void AbstractMail::mvcpMail(const RecMail&mail,const QString&targetFolder,AbstractMail*targetWrapper,bool moveit) +void AbstractMail::mvcpMail(const RecMailP&mail,const QString&targetFolder,AbstractMail*targetWrapper,bool moveit) { |