summaryrefslogtreecommitdiff
path: root/noncore/net/mail/libmailwrapper/statusmail.cpp
authorharlekin <harlekin>2004-01-05 16:03:29 (UTC)
committer harlekin <harlekin>2004-01-05 16:03:29 (UTC)
commit9acbe167d22cf1bed17a0361fdcdadf7581d8127 (patch) (side-by-side diff)
tree41d8d8e5b2e243f1c9842452565c1e9c04d44250 /noncore/net/mail/libmailwrapper/statusmail.cpp
parent22e51ed82162ef307f3f8cef21d3288147f18cad (diff)
downloadopie-9acbe167d22cf1bed17a0361fdcdadf7581d8127.zip
opie-9acbe167d22cf1bed17a0361fdcdadf7581d8127.tar.gz
opie-9acbe167d22cf1bed17a0361fdcdadf7581d8127.tar.bz2
integration of mailbox status stuff
Diffstat (limited to 'noncore/net/mail/libmailwrapper/statusmail.cpp') (more/less context) (show whitespace changes)
-rw-r--r--noncore/net/mail/libmailwrapper/statusmail.cpp10
1 files changed, 4 insertions, 6 deletions
diff --git a/noncore/net/mail/libmailwrapper/statusmail.cpp b/noncore/net/mail/libmailwrapper/statusmail.cpp
index 3e1d8d1..9f4c47c 100644
--- a/noncore/net/mail/libmailwrapper/statusmail.cpp
+++ b/noncore/net/mail/libmailwrapper/statusmail.cpp
@@ -1,7 +1,5 @@
#include "statusmail.h"
-#include "mailtypes.h"
-#include "abstractmail.h"
#include <qlist.h>
-StatusMail::StatusMail(QList<Account>*list)
+StatusMail::StatusMail(QList<Account>&list)
{
@@ -21,5 +19,5 @@ StatusMail::~StatusMail()
-void StatusMail::initAccounts(QList<Account>*accounts)
+void StatusMail::initAccounts(QList<Account>&accounts)
{
- if (!accounts) return;
+
Account *it;
@@ -27,3 +25,3 @@ void StatusMail::initAccounts(QList<Account>*accounts)
AbstractMail * current = 0;
- for ( it = accounts->first(); it; it = accounts->next() ) {
+ for ( it = accounts.first(); it; it = accounts.next() ) {
if ( it->getType().compare( "IMAP" ) == 0 ) {