french -> French
[kdepim.git] / knode / mailsendjob.h
blob87e1ddc3f7553f399bc59d79e8f8b812334c4132
1 /*
2 Copyright (c) 2005 by Volker Krause <vkrause@kde.org>
4 This program is free software; you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation; either version 2 of the License, or
7 (at your option) any later version.
8 You should have received a copy of the GNU General Public License
9 along with this program; if not, write to the Free Software Foundation,
10 Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, US
13 #ifndef KNODE_MAILSENDJOB_H
14 #define KNODE_MAILSENDJOB_H
16 #include "knjobdata.h"
18 class KJob;
20 namespace KNode {
22 /** Sends a mail to a SMTP server. */
23 class MailSendJob : public KNJobData
25 Q_OBJECT
26 public:
27 MailSendJob( KNJobConsumer *c, int transportId, KNJobItem::Ptr i );
29 virtual void execute();
31 private slots:
32 void slotResult( KJob *job );
34 private:
35 int mTransportId;
39 #endif