Attica 5.109.0
homepagetype.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_HOMEPAGETYPE_H
11#define ATTICA_HOMEPAGETYPE_H
12
13#include <QSharedDataPointer>
14#include <QUrl>
15
16#include "attica_export.h"
17
18namespace Attica
19{
26class ATTICA_EXPORT HomePageType
27{
28public:
29 typedef QList<HomePageType> List;
30 class Parser;
31
36
42
49
54
55 /*
56 <id>10</id>
57 <name>Blog</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 HomePageType class contains information about one home page type.
Definition homepagetype.h:27
HomePageType()
Creates an empty HomePageType.
HomePageType(const HomePageType &other)
Copy constructor.
~HomePageType()
Destructor.
HomePageType & operator=(const HomePageType &other)
Assignment operator.
The Attica namespace,.
Definition activity.h:21