• Skip to content
  • Skip to link menu
  • KDE API Reference
  • kdelibs-4.10.3 API Reference
  • KDE Home
  • Contact Us
 

KNewStuff

  • knewstuff
  • knewstuff3
knewstuff3/entry.cpp
Go to the documentation of this file.
1 /*
2  Copyright (C) 2009 Frederik Gladhorn <gladhorn@kde.org>
3 
4  This library is free software; you can redistribute it and/or
5  modify it under the terms of the GNU Lesser General Public
6  License as published by the Free Software Foundation; either
7  version 2.1 of the License, or (at your option) any later version.
8 
9  This library is distributed in the hope that it will be useful,
10  but WITHOUT ANY WARRANTY; without even the implied warranty of
11  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12  Lesser General Public License for more details.
13 
14  You should have received a copy of the GNU Lesser General Public
15  License along with this library. If not, see <http://www.gnu.org/licenses/>.
16 */
17 
18 #include "entry.h"
19 
20 #include <QtCore/QStringList>
21 #include <knewstuff3/entry_p.h>
22 
23 using namespace KNS3;
24 
25 Entry::Entry()
26  : d(new Private)
27 {
28 }
29 
30 Entry::Entry(const Entry& other)
31  : d(other.d)
32 {
33 }
34 
35 Entry& Entry::operator=(const Entry& other)
36 {
37  d = other.d;
38  return *this;
39 }
40 
41 Entry::~Entry()
42 {
43 }
44 
45 QString Entry::id() const
46 {
47  return d->e.uniqueId();
48 }
49 
50 QString Entry::providerId() const
51 {
52  return d->e.providerId();
53 }
54 
55 QString Entry::name() const
56 {
57  return d->e.name();
58 }
59 
60 QString Entry::category() const
61 {
62  return d->e.category();
63 }
64 
65 QString Entry::license() const
66 {
67  return d->e.license();
68 }
69 
70 QString Entry::summary() const
71 {
72  return d->e.summary();
73 }
74 
75 QString Entry::version() const
76 {
77  return d->e.version();
78 }
79 
80 Entry::Status Entry::status() const
81 {
82  return static_cast<Entry::Status>(d->e.status());
83 }
84 
85 QStringList KNS3::Entry::installedFiles() const
86 {
87  return d->e.installedFiles();
88 }
89 
90 QStringList KNS3::Entry::uninstalledFiles() const
91 {
92  return d->e.uninstalledFiles();
93 }
This file is part of the KDE documentation.
Documentation copyright © 1996-2013 The KDE developers.
Generated on Sat May 18 2013 11:42:10 by doxygen 1.8.3.1 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KNewStuff

Skip menu "KNewStuff"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdelibs-4.10.3 API Reference

Skip menu "kdelibs-4.10.3 API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal