1/*
2 This file is part of KDE.
3
4 SPDX-FileCopyrightText: 2011 Dan Leinir Turthra Jensen <admin@leinir.dk>
5
6 SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
7 */
8
9#ifndef PUBLISHERFIELD_H
10#define PUBLISHERFIELD_H
11
12#include "attica_export.h"
13#include "buildservice.h"
14
15namespace Attica
16{
17
18/**
19 * @class PublisherField publisherfield.h <Attica/PublisherField>
20 *
21 * Represents a publisher field.
22 */
23class ATTICA_EXPORT PublisherField
24{
25public:
26 typedef QList<PublisherField> List;
27 class Parser;
28
29 PublisherField();
30 PublisherField(const PublisherField &other);
31 PublisherField &operator=(const PublisherField &other);
32 ~PublisherField();
33
34 void setName(const QString &value);
35 QString name() const;
36
37 void setType(const QString &value);
38 QString type() const;
39
40 void setData(const QString &value);
41 QString data() const;
42
43 bool isValid() const;
44
45private:
46 class Private;
47 QSharedDataPointer<Private> d;
48};
49
50} // namespace Attica
51
52#endif // PUBLISHERFIELD_H
53

source code of attica/src/publisherfield.h