Attica

homepagetype.h
1 /*
2  This file is part of KDE.
3 
4  SPDX-FileCopyrightText: 2010 Intel Corporation
5  SPDX-FileContributor: Mateu Batle Sastre <[email protected]>
6 
7  SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
8 */
9 
10 #ifndef ATTICA_HOMEPAGETYPE_H
11 #define ATTICA_HOMEPAGETYPE_H
12 
13 #include <QSharedDataPointer>
14 #include <QUrl>
15 
16 #include "attica_export.h"
17 
18 namespace Attica
19 {
24 class ATTICA_EXPORT HomePageType
25 {
26 public:
27  typedef QList<HomePageType> List;
28  class Parser;
29 
33  HomePageType();
34 
39  HomePageType(const HomePageType &other);
40 
46  HomePageType &operator=(const HomePageType &other);
47 
51  ~HomePageType();
52 
53  /*
54  <id>10</id>
55  <name>Blog</name>
56  */
57 
58  uint id() const;
59  void setId(uint id);
60 
61  QString name() const;
62  void setName(const QString &name);
63 
64 private:
65  class Private;
67 };
68 
69 }
70 
71 #endif
The HomePageType class contains information about one home page type.
Definition: homepagetype.h:24
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Tue Aug 11 2020 23:03:44 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.