• Skip to content
  • Skip to link menu
  • KDE API Reference
  • kdelibs-4.14.38 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
23using namespace KNS3;
24
25Entry::Entry()
26 : d(new Private)
27{
28}
29
30Entry::Entry(const Entry& other)
31 : d(other.d)
32{
33}
34
35Entry& Entry::operator=(const Entry& other)
36{
37 d = other.d;
38 return *this;
39}
40
41Entry::~Entry()
42{
43}
44
45QString Entry::id() const
46{
47 return d->e.uniqueId();
48}
49
50QString Entry::providerId() const
51{
52 return d->e.providerId();
53}
54
55QString Entry::name() const
56{
57 return d->e.name();
58}
59
60QString Entry::category() const
61{
62 return d->e.category();
63}
64
65QString Entry::license() const
66{
67 return d->e.license();
68}
69
70QString Entry::summary() const
71{
72 return d->e.summary();
73}
74
75QString Entry::version() const
76{
77 return d->e.version();
78}
79
80Entry::Status Entry::status() const
81{
82 return static_cast<Entry::Status>(d->e.status());
83}
84
85QStringList KNS3::Entry::installedFiles() const
86{
87 return d->e.installedFiles();
88}
89
90QStringList KNS3::Entry::uninstalledFiles() const
91{
92 return d->e.uninstalledFiles();
93}
KNS3::Entry
KNewStuff information about changed entries.
Definition: knewstuff3/entry.h:45
KNS3::Entry::providerId
QString providerId() const
The Provider which is the source of the Entry.
Definition: knewstuff3/entry.cpp:50
KNS3::Entry::uninstalledFiles
QStringList uninstalledFiles() const
Retrieve the locally uninstalled files.
Definition: knewstuff3/entry.cpp:90
KNS3::Entry::Status
Status
Status of the entry.
Definition: knewstuff3/entry.h:58
KNS3::Entry::category
QString category() const
Retrieve the category of the data object.
Definition: knewstuff3/entry.cpp:60
KNS3::Entry::name
QString name() const
Retrieve the name of the data object.
Definition: knewstuff3/entry.cpp:55
KNS3::Entry::summary
QString summary() const
Retrieve a short description about the object.
Definition: knewstuff3/entry.cpp:70
KNS3::Entry::version
QString version() const
Retrieve the version string of the object.
Definition: knewstuff3/entry.cpp:75
KNS3::Entry::installedFiles
QStringList installedFiles() const
Retrieve the locally installed files.
Definition: knewstuff3/entry.cpp:85
KNS3::Entry::~Entry
~Entry()
Definition: knewstuff3/entry.cpp:41
KNS3::Entry::operator=
Entry & operator=(const Entry &other)
Definition: knewstuff3/entry.cpp:35
KNS3::Entry::id
QString id() const
Id of this Entry.
Definition: knewstuff3/entry.cpp:45
KNS3::Entry::status
Status status() const
Retrieves the entry's status.
Definition: knewstuff3/entry.cpp:80
KNS3::Entry::license
QString license() const
Retrieve the license name of the object.
Definition: knewstuff3/entry.cpp:65
entry_p.h
entry.h
KNS3
Definition: atticaprovider.cpp:36
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 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.14.38 API Reference

Skip menu "kdelibs-4.14.38 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