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

KNewStuff

  • sources
  • kde-4.14
  • kdelibs
  • 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 
31 namespace KNS3
32 {
33 
44 class KNEWSTUFF_EXPORT Entry
45 {
46 public:
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 
141 private:
142  Entry();
143 
144  class Private;
145  QExplicitlySharedDataPointer<Private> d;
146 
147  friend class EntryInternal;
148 };
149 
150 }
151 
152 #endif
KNS3::Entry::Deleted
Definition: knewstuff3/entry.h:63
KNS3::Entry::Invalid
Definition: knewstuff3/entry.h:59
KNS3::EntryInternal
KNewStuff data entry container.
Definition: entryinternal.h:54
kurl.h
name
const char * name(StandardAction id)
KNS3::Entry::List
QList< Entry > List
Definition: knewstuff3/entry.h:47
KNS3::Entry::Installed
Definition: knewstuff3/entry.h:61
Status
Status
KNS3::Entry
KNewStuff information about changed entries.
Definition: knewstuff3/entry.h:44
QString
QList
KNS3::Entry::Downloadable
Definition: knewstuff3/entry.h:60
QStringList
KNS3::Entry::Status
Status
Status of the entry.
Definition: knewstuff3/entry.h:58
KNS3::Entry::Installing
Definition: knewstuff3/entry.h:64
knewstuff_export.h
version
unsigned int version()
QExplicitlySharedDataPointer< Private >
KNS3::Entry::Updateable
Definition: knewstuff3/entry.h:62
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:25:43 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
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • 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