KNewStuff
#include <itemsmodel.h>
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
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.
|
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::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.
|
slot |
Definition at line 55 of file knewstuff3/ui/itemsmodel.cpp.
|
slot |
Definition at line 93 of file knewstuff3/ui/itemsmodel.cpp.
|
slot |
Definition at line 106 of file knewstuff3/ui/itemsmodel.cpp.
The documentation for this class was generated from the following files:
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.