File indexing completed on 2024-04-14 04:49:14

0001 /*
0002     SPDX-FileCopyrightText: 2003 Richard Lärkäng <nouseforaname@home.se>
0003 
0004     SPDX-License-Identifier: LGPL-2.0-or-later
0005 */
0006 
0007 #ifndef HTTPSUBMIT_H
0008 #define HTTPSUBMIT_H
0009 
0010 #include "submit.h"
0011 #include <QUrl>
0012 
0013 namespace KCDDB
0014 {
0015   class HTTPSubmit : public Submit
0016   {
0017     public:
0018       HTTPSubmit(const QString& from, const QString& hostname, uint port);
0019       virtual ~HTTPSubmit();
0020 
0021     protected:
0022       KIO::Job* createJob(const CDInfo& cdInfo) override;
0023 
0024       QUrl url_;
0025       QString from_;
0026   } ;
0027 }
0028 
0029 #endif // HTTPSUBMIT_H