Attica

homepageentry.cpp
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 #include "homepageentry.h"
11 
12 using namespace Attica;
13 
14 class Q_DECL_HIDDEN HomePageEntry::Private : public QSharedData
15 {
16 public:
17  QString type;
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 
42 {
43 }
44 
45 QString HomePageEntry::type() const
46 {
47  return d->type;
48 }
49 
50 void HomePageEntry::setType(const QString &type)
51 {
52  d->type = type;
53 }
54 
55 QUrl HomePageEntry::url() const
56 {
57  return d->url;
58 }
59 
60 void HomePageEntry::setUrl(const QUrl &url)
61 {
62  d->url = url;
63 }
Type type(const QSqlDatabase &db)
~HomePageEntry()
Destructor.
HomePageEntry()
Creates an empty HomePageEntry.
The Attica namespace,.
HomePageEntry & operator=(const HomePageEntry &other)
Assignment operator.
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.