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

KNewStuff

  • KNS3
  • ItemsModel
Public Slots | Signals | Public Member Functions | List of all members
KNS3::ItemsModel Class Reference

#include <itemsmodel.h>

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

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
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