KCDDB

asynchttpsubmit.h
1 /*
2  SPDX-FileCopyrightText: 2003 Richard Lärkäng <[email protected]>
3 
4  SPDX-License-Identifier: LGPL-2.0-or-later
5 */
6 
7 #ifndef ASYNCHTTPSUBMIT_H
8 #define ASYNCHTTPSUBMIT_H
9 
10 #include "httpsubmit.h"
11 
12 class KJob;
13 
14 namespace KCDDB
15 {
16  class AsyncHTTPSubmit : public HTTPSubmit
17  {
18  Q_OBJECT
19  public:
20  AsyncHTTPSubmit(const QString& from, const QString& hostname, uint port);
21  virtual ~AsyncHTTPSubmit();
22 
23  Q_SIGNALS:
24  void finished( KCDDB::Result );
25  protected:
26  Result runJob(KIO::Job* job) override;
27  private Q_SLOTS:
28  void slotFinished(KJob*);
29  } ;
30 }
31 
32 
33 #endif // ASYNCHTTPSUBMIT_H
34 
Q_SIGNALSQ_SIGNALS
Q_OBJECTQ_OBJECT
Q_SLOTSQ_SLOTS
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Sun Dec 5 2021 23:10:08 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.