From 85444223acfafd9d7955032b2cbdad3279ba27ad Mon Sep 17 00:00:00 2001 From: alwin Date: Sat, 13 Dec 2003 20:39:07 +0000 Subject: imap/pop3 wrapper uses base virtual class so we can forward the pointer independend of its later use. ToDo: find a more general interface for it --- (limited to 'noncore/net/mail/imapwrapper.cpp') diff --git a/noncore/net/mail/imapwrapper.cpp b/noncore/net/mail/imapwrapper.cpp index 48e476b..e5eb335 100644 --- a/noncore/net/mail/imapwrapper.cpp +++ b/noncore/net/mail/imapwrapper.cpp @@ -6,6 +6,7 @@ #include IMAPwrapper::IMAPwrapper( IMAPaccount *a ) + : AbstractMail() { account = a; m_imap = 0; @@ -139,14 +140,14 @@ void IMAPwrapper::listMessages(const QString&mailbox,QList &target ) mailimap_fetch_list_free(result); } -QList* IMAPwrapper::listFolders() +QList* IMAPwrapper::listFolders() { const char *path, *mask; int err = MAILIMAP_NO_ERROR; clist *result; clistcell *current; - QList * folders = new QList(); + QList * folders = new QList(); folders->setAutoDelete( true ); login(); if (!m_imap) { -- cgit v0.9.0.2