Attica

project.h
1 /*
2  This file is part of KDE.
3 
4  SPDX-FileCopyrightText: 2010 Sebastian K├╝gler <[email protected]>
5 
6  SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
7 */
8 
9 #ifndef ATTICA_PROJECT_H
10 #define ATTICA_PROJECT_H
11 
12 #include <QDate>
13 #include <QList>
14 #include <QMap>
15 #include <QSharedDataPointer>
16 #include <QStringList>
17 #include <QUrl>
18 
19 #include "attica_export.h"
20 
21 namespace Attica
22 {
23 
24 class ATTICA_EXPORT Project
25 {
26 public:
27  typedef QList<Project> List;
28  class Parser;
29 
30  Project();
31  Project(const Project &other);
32  Project &operator=(const Project &other);
33  ~Project();
34 
35  void setId(const QString &);
36  QString id() const;
37 
38  void setName(const QString &);
39  QString name() const;
40 
41  void setVersion(const QString &);
42  QString version() const;
43 
44  void setUrl(const QString &);
45  QString url() const;
46 
47  void setLicense(const QString &);
48  QString license() const;
49 
50  void setSummary(const QString &);
51  QString summary() const;
52 
53  void setDescription(const QString &);
54  QString description() const;
55 
56  void setDevelopers(const QStringList &);
57  QStringList developers() const;
58 
59  void setRequirements(const QString &);
60  QString requirements() const;
61 
62  void setSpecFile(const QString &);
63  QString specFile() const;
64 
65  void addExtendedAttribute(const QString &key, const QString &value);
66  QString extendedAttribute(const QString &key) const;
67 
68  QMap<QString, QString> extendedAttributes() const;
69 
70  bool isValid() const;
71 
72 private:
73  class Private;
75 };
76 
77 }
78 
79 #endif
QString name(const QVariant &location)
KDB_EXPORT KDbVersionInfo version()
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Mon Jan 25 2021 23:06:24 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.