KNewStuff
itemsviewbasedelegate.cpp
Go to the documentation of this file.
31 ItemsViewBaseDelegate::ItemsViewBaseDelegate(QAbstractItemView *itemView, Engine* engine, QObject * parent)
Type type() const
QPersistentModelIndex focusedIndex() const
virtual QModelIndex index(int row, int column, const QModelIndex &parent) const =0
void slotLinkClicked(const QString &url)
Definition: itemsviewbasedelegate.cpp:59
QVariant data() const
static QString locate(const char *type, const QString &filename, const KComponentData &cData=KGlobal::mainComponent())
void contactAuthor(const EntryInternal &entry)
Try to contact the author of the entry by email or showing their homepage.
Definition: knewstuff3/core/engine.cpp:487
T value() const
virtual ~ItemsViewBaseDelegate()
Definition: itemsviewbasedelegate.cpp:45
static QDebug kDebug(bool cond, int area=KDE_DEFAULT_DEBUG_AREA)
int x() const
int y() const
bool isValid() const
bool eventFilter(QObject *watched, QEvent *event)
Definition: itemsviewbasedelegate.cpp:49
void signalShowDetails(const KNS3::EntryInternal &entry)
Definition: knewstuff3/entry.h:61
void slotInstallActionTriggered(QAction *action)
Definition: itemsviewbasedelegate.cpp:87
virtual bool eventFilter(QObject *watched, QEvent *event)
void install(KNS3::EntryInternal entry, int linkId=1)
Installs an entry's payload file.
Definition: knewstuff3/core/engine.cpp:390
ItemsViewBaseDelegate(QAbstractItemView *itemView, Engine *engine, QObject *parent=0)
Definition: itemsviewbasedelegate.cpp:31
QVariant data(int role) const
QAbstractItemView * m_itemView
Definition: itemsviewbasedelegate.h:72
void slotDetailsClicked()
Definition: itemsviewbasedelegate.cpp:98
QPixmap SmallIcon(const QString &name, int force_size, int state, const QStringList &overlays)
QPoint toPoint() const
QAbstractItemModel * model() const
void slotInstallClicked()
Definition: itemsviewbasedelegate.cpp:69
void uninstall(KNS3::EntryInternal entry)
Uninstalls an entry.
Definition: knewstuff3/core/engine.cpp:432
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:25:43 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:25:43 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.