Attica

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{
20/**
21 @class HomePageType homepagetype.h <Attica/HomePageType>
22
23 The HomePageType class contains information about one home page type.
24 It consists of an integer id and a home page type name.
25 */
26class ATTICA_EXPORT HomePageType
27{
28public:
30 class Parser;
31
32 /**
33 * Creates an empty HomePageType
34 */
36
37 /**
38 * Copy constructor.
39 * @param other the HomePageType to copy from
40 */
41 HomePageType(const HomePageType &other);
42
43 /**
44 * Assignment operator.
45 * @param other the HomePageType to assign from
46 * @return pointer to this HomePageType
47 */
48 HomePageType &operator=(const HomePageType &other);
49
50 /**
51 * Destructor.
52 */
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;
69};
70
71}
72
73#endif
The HomePageType class contains information about one home page type.
The Attica namespace,.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 6 2024 12:10:55 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.