Attica 5.109.0
distribution.h
1/*
2 This file is part of KDE.
3
4 SPDX-FileCopyrightText: 2010 Intel Corporation
5 SPDX-FileContributor: Mateu Batle Sastre <mbatle@collabora.co.uk>
6
7 SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
8*/
9
10#ifndef ATTICA_DISTRIBUTION_H
11#define ATTICA_DISTRIBUTION_H
12
13#include <QSharedDataPointer>
14#include <QUrl>
15
16#include "attica_export.h"
17
18namespace Attica
19{
26class ATTICA_EXPORT Distribution
27{
28public:
29 typedef QList<Distribution> List;
30 class Parser;
31
36
42
49
54
55 /*
56 <id>2000</id>
57 <name>Ark</name>
58 */
59
60 uint id() const;
61 void setId(uint id);
62
63 QString name() const;
64 void setName(const QString &name);
65
66private:
67 class Private;
68 QSharedDataPointer<Private> d;
69};
70
71}
72
73#endif
The Distribution class contains information about one distribution that the server offers.
Definition distribution.h:27
~Distribution()
Destructor.
Distribution()
Creates an empty Distribution.
Distribution(const Distribution &other)
Copy constructor.
Distribution & operator=(const Distribution &other)
Assignment operator.
The Attica namespace,.
Definition activity.h:21