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

KNewStuff

  • sources
  • kde-4.12
  • kdelibs
  • 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 }
KNS3::Entry::version
QString version() const
Retrieve the version string of the object.
Definition: knewstuff3/entry.cpp:75
KNS3::Entry::license
QString license() const
Retrieve the license name of the object.
Definition: knewstuff3/entry.cpp:65
KNS3::Entry::status
Status status() const
Retrieves the entry's status.
Definition: knewstuff3/entry.cpp:80
KNS3::Entry::name
QString name() const
Retrieve the name of the data object.
Definition: knewstuff3/entry.cpp:55
KNS::Entry::Entry
Entry()
Constructor.
Definition: knewstuff2/core/entry.cpp:55
QString
KNS3::Entry::summary
QString summary() const
Retrieve a short description about the object.
Definition: knewstuff3/entry.cpp:70
KNS3::Entry::providerId
QString providerId() const
The Provider which is the source of the Entry.
Definition: knewstuff3/entry.cpp:50
KNS3::Entry
KNewStuff information about changed entries.
Definition: knewstuff3/entry.h:44
QStringList
KNS3::Entry::installedFiles
QStringList installedFiles() const
Retrieve the locally installed files.
Definition: knewstuff3/entry.cpp:85
KNS3::Entry::Status
Status
Status of the entry.
Definition: knewstuff3/entry.h:58
KNS3::Entry::operator=
Entry & operator=(const Entry &other)
Definition: knewstuff3/entry.cpp:35
entry.h
KNS3::Entry::category
QString category() const
Retrieve the category of the data object.
Definition: knewstuff3/entry.cpp:60
entry_p.h
KNS3::Entry::id
QString id() const
Id of this Entry.
Definition: knewstuff3/entry.cpp:45
KNS3::Entry::uninstalledFiles
QStringList uninstalledFiles() const
Retrieve the locally uninstalled files.
Definition: knewstuff3/entry.cpp:90
KNS3::Entry::~Entry
~Entry()
Definition: knewstuff3/entry.cpp:41
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:50:48 by doxygen 1.8.7 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 API Reference

Skip menu "kdelibs 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
  • kjsembed
  •   WTF
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Nepomuk-Core
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver

Search



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