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

KNewStuff

entry.cpp

Go to the documentation of this file.
00001 /*
00002     Copyright (C) 2009 Frederik Gladhorn <gladhorn@kde.org>
00003 
00004     This library is free software; you can redistribute it and/or
00005     modify it under the terms of the GNU Lesser General Public
00006     License as published by the Free Software Foundation; either
00007     version 2.1 of the License, or (at your option) any later version.
00008 
00009     This library is distributed in the hope that it will be useful,
00010     but WITHOUT ANY WARRANTY; without even the implied warranty of
00011     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00012     Lesser General Public License for more details.
00013 
00014     You should have received a copy of the GNU Lesser General Public
00015     License along with this library.  If not, see <http://www.gnu.org/licenses/>.
00016 */
00017 
00018 #include "entry.h"
00019 
00020 #include <QtCore/QStringList>
00021 #include <knewstuff3/entry_p.h>
00022 
00023 using namespace KNS3;
00024 
00025 Entry::Entry()
00026     : d(new Private)
00027 {
00028 }
00029 
00030 Entry::Entry(const Entry& other)
00031     : d(other.d)
00032 {
00033 }
00034 
00035 Entry& Entry::operator=(const Entry& other)
00036 {
00037     d = other.d;
00038     return *this;
00039 }
00040 
00041 Entry::~Entry()
00042 {
00043 }
00044 
00045 QString Entry::id() const
00046 {
00047     return d->e.uniqueId();
00048 }
00049 
00050 QString Entry::providerId() const
00051 {
00052     return d->e.providerId();
00053 }
00054 
00055 QString Entry::name() const
00056 {
00057     return d->e.name();
00058 }
00059 
00060 QString Entry::category() const
00061 {
00062     return d->e.category();
00063 }
00064 
00065 QString Entry::license() const
00066 {
00067     return d->e.license();
00068 }
00069 
00070 QString Entry::summary() const
00071 {
00072     return d->e.summary();
00073 }
00074 
00075 QString Entry::version() const
00076 {
00077     return d->e.version();
00078 }
00079 
00080 Entry::Status Entry::status() const
00081 {
00082     return static_cast<Entry::Status>(d->e.status());
00083 }
00084 
00085 QStringList KNS3::Entry::installedFiles() const
00086 {
00087     return d->e.installedFiles();
00088 }
00089 
00090 QStringList KNS3::Entry::uninstalledFiles() const
00091 {
00092     return d->e.uninstalledFiles();
00093 }

KNewStuff

Skip menu "KNewStuff"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • 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
Generated for kdelibs by doxygen 1.7.3
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal