Attica

homepageentry.cpp
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#include "homepageentry.h"
11
12using namespace Attica;
13
14class Q_DECL_HIDDEN HomePageEntry::Private : public QSharedData
15{
16public:
18 QUrl url;
19
20 Private()
21 {
22 }
23};
24
26 : d(new Private)
27{
28}
29
31 : d(other.d)
32{
33}
34
36{
37 d = other.d;
38 return *this;
39}
40
44
45QString HomePageEntry::type() const
46{
47 return d->type;
48}
49
50void HomePageEntry::setType(const QString &type)
51{
52 d->type = type;
53}
54
55QUrl HomePageEntry::url() const
56{
57 return d->url;
58}
59
60void HomePageEntry::setUrl(const QUrl &url)
61{
62 d->url = url;
63}
The HomePageEntry class contains information about one home page entry.
HomePageEntry & operator=(const HomePageEntry &other)
Assignment operator.
~HomePageEntry()
Destructor.
HomePageEntry()
Creates an empty HomePageEntry.
Type type(const QSqlDatabase &db)
The Attica namespace,.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:58:18 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.