KCDDB

sites.h
1 /*
2  SPDX-FileCopyrightText: 2004 Richard Lärkäng <[email protected]>
3 
4  SPDX-License-Identifier: LGPL-2.0-or-later
5 */
6 
7 #ifndef KCDDB_SITES_H
8 #define KCDDB_SITES_H
9 
10 #include <cddb.h>
11 #include <lookup.h>
12 #include <kcddb_export.h>
13 #include <QList>
14 
15 namespace KCDDB
16 {
17  class Mirror
18  {
19  public:
21  Lookup::Transport transport;
22  uint port;
23  QString description;
24  } ;
25 
26  class KCDDB_EXPORT Sites
27  {
28  public:
29  Sites();
30 
31  QList<Mirror> siteList();
32  private:
33  QList<Mirror> readData(const QByteArray& data);
34  Mirror parseLine(const QString& line);
35  } ;
36 }
37 
38 #endif
39 
40 // vim:tabstop=2:shiftwidth=2:expandtab:cinoptions=(s,U1,m1
PostalAddress address(const QVariant &location)
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.