Attica

publisherfield.h
1 /*
2  This file is part of KDE.
3 
4  SPDX-FileCopyrightText: 2011 Dan Leinir Turthra Jensen <[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 PUBLISHERFIELD_H
10 #define PUBLISHERFIELD_H
11 
12 #include "attica_export.h"
13 #include "buildservice.h"
14 
15 namespace Attica
16 {
17 
18 /**
19  * @class PublisherField publisherfield.h <Attica/PublisherField>
20  *
21  * Represents a publisher field.
22  */
23 class ATTICA_EXPORT PublisherField
24 {
25 public:
27  class Parser;
28 
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 
45 private:
46  class Private;
48 };
49 
50 } // namespace Attica
51 
52 #endif // PUBLISHERFIELD_H
The Attica namespace,.
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Dec 11 2023 04:05:13 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.