KCDDB

synchttpsubmit.cpp
1 /*
2  SPDX-FileCopyrightText: 2003 Richard Lärkäng <[email protected]>
3 
4  SPDX-License-Identifier: LGPL-2.0-or-later
5 */
6 
7 #include "synchttpsubmit.h"
8 
9 #include <KIO/Job>
10 
11 namespace 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()
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.