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

KNewStuff

  • KNS3
  • Entry
Classes | Public Types | Public Member Functions | List of all members
KNS3::Entry Class Reference

#include <entry.h>

Classes

class  Private
 

Public Types

typedef QList< Entry > List
 
enum  Status {
  Invalid, Downloadable, Installed, Updateable,
  Deleted, Installing, Updating
}
 

Public Member Functions

 Entry (const Entry &other)
 
 ~Entry ()
 
QString category () const
 
QString id () const
 
QStringList installedFiles () const
 
QString license () const
 
QString name () const
 
Entry & operator= (const Entry &other)
 
QString providerId () const
 
Status status () const
 
QString summary () const
 
QStringList uninstalledFiles () const
 
QString version () const
 

Detailed Description

KNewStuff information about changed entries.

This class provides information about the entries that have been installed while the new stuff dialog was shown. It is a minimal version that only gives applications what they need to know.

Since
4.4

Definition at line 44 of file knewstuff3/entry.h.

Member Typedef Documentation

typedef QList<Entry> KNS3::Entry::List

Definition at line 47 of file knewstuff3/entry.h.

Member Enumeration Documentation

enum KNS3::Entry::Status

Status of the entry.

An entry will be downloadable from the provider's site prior to the download. Once downloaded and installed, it will be either installed or updateable, implying an out-of-date installation. Finally, the entry can be deleted and hence show up as downloadable again. Entries not taking part in this cycle, for example those in upload, have an invalid status.

Enumerator
Invalid 
Downloadable 
Installed 
Updateable 
Deleted 
Installing 
Updating 

Definition at line 58 of file knewstuff3/entry.h.

Constructor & Destructor Documentation

Entry::~Entry ( )

Definition at line 41 of file knewstuff3/entry.cpp.

Entry::Entry ( const Entry &  other)

Definition at line 30 of file knewstuff3/entry.cpp.

Member Function Documentation

QString Entry::category ( ) const

Retrieve the category of the data object.

Returns
object category

Definition at line 60 of file knewstuff3/entry.cpp.

QString Entry::id ( ) const

Id of this Entry.

It is guaranteed to be unique for one provider. Id and ProviderId together identifiy this entry.

Returns
the id
Since
4.5

Definition at line 45 of file knewstuff3/entry.cpp.

QStringList KNS3::Entry::installedFiles ( ) const

Retrieve the locally installed files.

Returns
file names

Definition at line 85 of file knewstuff3/entry.cpp.

QString Entry::license ( ) const

Retrieve the license name of the object.

Returns
object license

Definition at line 65 of file knewstuff3/entry.cpp.

QString Entry::name ( ) const

Retrieve the name of the data object.

Returns
object name

Definition at line 55 of file knewstuff3/entry.cpp.

Entry & Entry::operator= ( const Entry &  other)

Definition at line 35 of file knewstuff3/entry.cpp.

QString Entry::providerId ( ) const

The Provider which is the source of the Entry.

Returns
the Id of the Provider
Since
4.5

Definition at line 50 of file knewstuff3/entry.cpp.

Entry::Status Entry::status ( ) const

Retrieves the entry's status.

Returns
Current status of the entry

Definition at line 80 of file knewstuff3/entry.cpp.

QString Entry::summary ( ) const

Retrieve a short description about the object.

Returns
object description

Definition at line 70 of file knewstuff3/entry.cpp.

QStringList KNS3::Entry::uninstalledFiles ( ) const

Retrieve the locally uninstalled files.

Returns
file names

Definition at line 90 of file knewstuff3/entry.cpp.

QString Entry::version ( ) const

Retrieve the version string of the object.

Returns
object version

Definition at line 75 of file knewstuff3/entry.cpp.


The documentation for this class was generated from the following files:
  • knewstuff3/entry.h
  • knewstuff3/entry.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:50:49 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