• 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.h
Go to the documentation of this file.
1/*
2 Copyright (c) 2002 Cornelius Schumacher <schumacher@kde.org>
3 Copyright (c) 2003 - 2007 Josef Spillner <spillner@kde.org>
4 Copyright (c) 2009 Jeremy Whiting <jpwhiting@kde.org>
5 Copyright (C) 2009 Frederik Gladhorn <gladhorn@kde.org>
6
7 This library is free software; you can redistribute it and/or
8 modify it under the terms of the GNU Lesser General Public
9 License as published by the Free Software Foundation; either
10 version 2.1 of the License, or (at your option) any later version.
11
12 This library is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 Lesser General Public License for more details.
16
17 You should have received a copy of the GNU Lesser General Public
18 License along with this library. If not, see <http://www.gnu.org/licenses/>.
19*/
20
21#ifndef KNEWSTUFF3_KNEWSTUFFENTRY_H
22#define KNEWSTUFF3_KNEWSTUFFENTRY_H
23
24#include <QtCore/QStringList>
25#include <QtCore/QSharedDataPointer>
26#include <kurl.h>
27
28#include <knewstuff3/knewstuff_export.h>
29
30
31namespace KNS3
32{
33
44class KNEWSTUFF_EXPORT Entry
45{
46public:
47 typedef QList<Entry> List;
48
58 enum Status {
59 Invalid,
60 Downloadable,
61 Installed,
62 Updateable,
63 Deleted,
64 Installing,
65 Updating
66 };
67
68 ~Entry();
69 Entry(const Entry& other);
70 Entry& operator=(const Entry& other);
71
77 QString name() const;
78
84 QString category() const;
85
90 QStringList installedFiles() const;
91
96 QStringList uninstalledFiles() const;
97
103 Status status() const;
104
110 QString license() const;
111
117 QString summary() const;
118
124 QString version() const;
125
132 QString id() const;
133
139 QString providerId() const;
140
141private:
142 Entry();
143
144 class Private;
145 QExplicitlySharedDataPointer<Private> d;
146
147 friend class EntryInternal;
148};
149
150}
151
152#endif
KNS3::EntryInternal
KNewStuff data entry container.
Definition: entryinternal.h:55
KNS3::Entry
KNewStuff information about changed entries.
Definition: knewstuff3/entry.h:45
KNS3::Entry::List
QList< Entry > List
Definition: knewstuff3/entry.h:47
KNS3::Entry::Status
Status
Status of the entry.
Definition: knewstuff3/entry.h:58
KNS3::Entry::Installed
@ Installed
Definition: knewstuff3/entry.h:61
KNS3::Entry::Installing
@ Installing
Definition: knewstuff3/entry.h:64
KNS3::Entry::Deleted
@ Deleted
Definition: knewstuff3/entry.h:63
KNS3::Entry::Updateable
@ Updateable
Definition: knewstuff3/entry.h:62
KNS3::Entry::Downloadable
@ Downloadable
Definition: knewstuff3/entry.h:60
KNS3::Entry::Invalid
@ Invalid
Definition: knewstuff3/entry.h:59
QList
Status
Status
knewstuff_export.h
kurl.h
KNS3
Definition: atticaprovider.cpp:36
name
const char * name(StandardAction id)
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