KCDDB

synchttpsubmit.cpp
1/*
2 SPDX-FileCopyrightText: 2003 Richard Lärkäng <nouseforaname@home.se>
3
4 SPDX-License-Identifier: LGPL-2.0-or-later
5*/
6
7#include "synchttpsubmit.h"
8
9#include <KIO/Job>
10
11namespace KCDDB
12{
13 SyncHTTPSubmit::SyncHTTPSubmit(const QString& from, const QString& hostname, uint port)
14 : HTTPSubmit(from, hostname, port)
15 {
16
17 }
18
19 SyncHTTPSubmit::~SyncHTTPSubmit()
20 {
21
22 }
23
24 Result SyncHTTPSubmit::runJob(KIO::Job* job)
25 {
26 if (job->exec())
27 return Success;
28 else
29 return UnknownError;
30 }
31}
bool exec()
NETWORKMANAGERQT_EXPORT QString hostname()
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:17:48 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.