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

KNewStuff

  • KNS3
  • ItemsModel
Public Slots | Signals | Public Member Functions

KNS3::ItemsModel Class Reference

#include <itemsmodel.h>

Inheritance diagram for KNS3::ItemsModel:
Inheritance graph
[legend]

List of all members.

Public Slots

void clearEntries ()
void slotEntriesLoaded (KNS3::EntryInternal::List entries)
void slotEntryChanged (const KNS3::EntryInternal &entry)
void slotEntryPreviewLoaded (const KNS3::EntryInternal &entry, KNS3::EntryInternal::PreviewType type)

Signals

void jobStarted (KJob *, const QString &label)

Public Member Functions

 ItemsModel (Engine *engine, QObject *parent=0)
 ~ItemsModel ()
void addEntry (const EntryInternal &entry)
QVariant data (const QModelIndex &index, int role=Qt::DisplayRole) const
bool hasPreviewImages () const
bool hasWebService () const
void removeEntry (const EntryInternal &entry)
int rowCount (const QModelIndex &parent=QModelIndex()) const

Detailed Description

Definition at line 33 of file knewstuff3/ui/itemsmodel.h.


Constructor & Destructor Documentation

KNS3::ItemsModel::ItemsModel ( Engine *  engine,
QObject *  parent = 0 
) [explicit]

Definition at line 30 of file knewstuff3/ui/itemsmodel.cpp.

KNS3::ItemsModel::~ItemsModel ( )

Definition at line 37 of file knewstuff3/ui/itemsmodel.cpp.


Member Function Documentation

void KNS3::ItemsModel::addEntry ( const EntryInternal &  entry)

Definition at line 62 of file knewstuff3/ui/itemsmodel.cpp.

void KNS3::ItemsModel::clearEntries ( ) [slot]

Definition at line 100 of file knewstuff3/ui/itemsmodel.cpp.

QVariant KNS3::ItemsModel::data ( const QModelIndex &  index,
int  role = Qt::DisplayRole 
) const

Definition at line 46 of file knewstuff3/ui/itemsmodel.cpp.

bool KNS3::ItemsModel::hasPreviewImages ( ) const

Definition at line 142 of file knewstuff3/ui/itemsmodel.cpp.

bool KNS3::ItemsModel::hasWebService ( ) const
void KNS3::ItemsModel::jobStarted ( KJob *  ,
const QString &  label 
) [signal]
void KNS3::ItemsModel::removeEntry ( const EntryInternal &  entry)

Definition at line 82 of file knewstuff3/ui/itemsmodel.cpp.

int KNS3::ItemsModel::rowCount ( const QModelIndex &  parent = QModelIndex()) const

Definition at line 41 of file knewstuff3/ui/itemsmodel.cpp.

void KNS3::ItemsModel::slotEntriesLoaded ( KNS3::EntryInternal::List  entries) [slot]

Definition at line 55 of file knewstuff3/ui/itemsmodel.cpp.

void KNS3::ItemsModel::slotEntryChanged ( const KNS3::EntryInternal &  entry) [slot]

Definition at line 93 of file knewstuff3/ui/itemsmodel.cpp.

void KNS3::ItemsModel::slotEntryPreviewLoaded ( const KNS3::EntryInternal &  entry,
KNS3::EntryInternal::PreviewType  type 
) [slot]

Definition at line 106 of file knewstuff3/ui/itemsmodel.cpp.


The documentation for this class was generated from the following files:
  • knewstuff3/ui/itemsmodel.h
  • knewstuff3/ui/itemsmodel.cpp

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