KUtils
kpluginselector_p.h
Go to the documentation of this file.
151 void addPlugins(const QList<KPluginInfo> &pluginList, const QString &categoryName, const QString &categoryKey, const KConfigGroup &cfgGroup, PluginLoadMethod pluginLoadMethod = ReadConfigFile, bool manuallyAdded = false);
154 virtual QModelIndex index(int row, int column = 0, const QModelIndex &parent = QModelIndex()) const;
191 void paint(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const;
QList< KService::Ptr > pluginServices(const QModelIndex &index) const
Definition: kpluginselector.cpp:452
void addPlugins(const QList< KPluginInfo > &pluginList, const QString &categoryName, const QString &categoryKey, const KConfigGroup &cfgGroup, PluginLoadMethod pluginLoadMethod=ReadConfigFile, bool manuallyAdded=false)
Definition: kpluginselector.cpp:411
Definition: kpluginselector_p.h:44
void configCommitted(const QByteArray &componentName)
PluginDelegate(KPluginSelector::Private *pluginSelector_d, QObject *parent=0)
Definition: kpluginselector.cpp:569
QString entryPath() const
This widget will inform the user about changes that happened automatically due to plugin dependencies...
Definition: kpluginselector_p.h:111
PluginDelegate * pluginDelegate
Definition: kpluginselector_p.h:82
int dependantLayoutValue(int value, int width, int totalWidth) const
Definition: kpluginselector.cpp:99
int width() const
virtual int rowCount(const QModelIndex &parent=QModelIndex()) const
Definition: kpluginselector.cpp:530
bool operator==(const PluginEntry &pe) const
Definition: kpluginselector_p.h:98
ProxyModel(KPluginSelector::Private *pluginSelector_d, QObject *parent=0)
Definition: kpluginselector.cpp:539
KPluginSelector::PluginLoadMethod pluginLoadMethod
Definition: kpluginselector_p.h:95
~PluginDelegate()
Definition: kpluginselector.cpp:578
DependenciesWidget * dependenciesWidget
Definition: kpluginselector_p.h:83
void changed(bool hasChanged)
~PluginModel()
Definition: kpluginselector.cpp:407
PluginModel(KPluginSelector::Private *pluginSelector_d, QObject *parent=0)
Definition: kpluginselector.cpp:401
Definition: kpluginselector_p.h:87
QSize sizeHint(const QStyleOptionViewItem &option, const QModelIndex &index) const
Definition: kpluginselector.cpp:644
virtual QModelIndex index(int row, int column=0, const QModelIndex &parent=QModelIndex()) const
Definition: kpluginselector.cpp:457
QList< PluginEntry > pluginEntryList
Definition: kpluginselector_p.h:160
virtual void updateItemWidgets(const QList< QWidget * > widgets, const QStyleOptionViewItem &option, const QPersistentModelIndex &index) const
Definition: kpluginselector.cpp:699
virtual bool setData(const QModelIndex &index, const QVariant &value, int role=Qt::EditRole)
Definition: kpluginselector.cpp:510
virtual QList< QWidget * > createItemWidgets() const
Definition: kpluginselector.cpp:666
virtual QVariant data(const QModelIndex &index, int role=Qt::DisplayRole) const
Definition: kpluginselector.cpp:465
virtual bool filterAcceptsRow(int sourceRow, const QModelIndex &sourceParent) const
Definition: kpluginselector.cpp:550
QObject * parent() const
void updateDependencies(PluginEntry *pluginEntry, bool added)
Definition: kpluginselector.cpp:64
KCategoryDrawer * categoryDrawer
Definition: kpluginselector_p.h:79
virtual bool subSortLessThan(const QModelIndex &left, const QModelIndex &right) const
Definition: kpluginselector.cpp:564
void paint(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const
Definition: kpluginselector.cpp:584
A widget to select what plugins to load and configure the plugins.
Definition: kpluginselector.h:58
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:25:27 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:27 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.