From 02b7e56d865847ce8f4a35b7075f7b3bb7b0de76 Mon Sep 17 00:00:00 2001 From: harlekin Date: Sat, 03 Jan 2004 20:49:34 +0000 Subject: communicate outgoing mails status to the QPE/Pim channel ( to which the todayplugin listens for example) --- (limited to 'noncore/net/mail/libmailwrapper/smtpwrapper.h') diff --git a/noncore/net/mail/libmailwrapper/smtpwrapper.h b/noncore/net/mail/libmailwrapper/smtpwrapper.h index 0535983..05becf2 100644 --- a/noncore/net/mail/libmailwrapper/smtpwrapper.h +++ b/noncore/net/mail/libmailwrapper/smtpwrapper.h @@ -31,6 +31,10 @@ public: bool flushOutbox(SMTPaccount*smtp); static progressMailSend*sendProgress; + +signals: + void queuedMails( int ); + protected: mailimf_mailbox *newMailbox(const QString&name,const QString&mail ); mailimf_fields *createImfFields(const Mail &mail ); @@ -56,6 +60,12 @@ protected: Settings *settings; int sendQueuedMail(MBOXwrapper*wrap,SMTPaccount*smtp,RecMail*which); + + int m_queuedMail; + +protected slots: + void emitQCop( int queued ); + }; #endif -- cgit v0.9.0.2