KCDDB

asyncsmtpsubmit.h
1 /*
2  SPDX-FileCopyrightText: 2003-2004 Richard Lärkäng <[email protected]>
3 
4  SPDX-License-Identifier: LGPL-2.0-or-later
5 */
6 
7 #ifndef ASYNCSMTPSUBMIT_H
8 #define ASYNCSMTPSUBMIT_H
9 
10 #include "smtpsubmit.h"
11 
12 class KJob;
13 namespace KIO
14 {
15  class Job;
16 }
17 
18 namespace KCDDB
19 {
20  class AsyncSMTPSubmit : public SMTPSubmit
21  {
22  Q_OBJECT
23 
24  public:
25  AsyncSMTPSubmit(const QString& hostname, uint port, const QString& username,
26  const QString& from, const QString& to);
27  virtual ~AsyncSMTPSubmit();
28 
29  Q_SIGNALS:
30  void finished( KCDDB::Result );
31  protected Q_SLOTS:
32  void slotDone( KJob * );
33  protected:
34  Result runJob(KIO::Job* job) override;
35  } ;
36 }
37 
38 #endif // ASYNCSMTPSUBMIT_H
39 // vim:tabstop=2:shiftwidth=2:expandtab:cinoptions=(s,U1,m1
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Fri Nov 26 2021 23:22:53 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.