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

KUtils

  • sources
  • kde-4.12
  • kdelibs
  • kutils
kpluginselector.h
Go to the documentation of this file.
1 
21 #ifndef KPLUGINSELECTOR_H
22 #define KPLUGINSELECTOR_H
23 
24 #include <QtGui/QWidget>
25 
26 #include <QtCore/QList>
27 
28 #include <kcmutils_export.h>
29 #include <ksharedconfig.h>
30 
31 class KComponentData;
32 class KPluginInfo;
33 
34 
58 class KCMUTILS_EXPORT KPluginSelector
59  : public QWidget
60 {
61  Q_OBJECT
62 
63 public:
64  enum PluginLoadMethod {
65  ReadConfigFile = 0,
66  IgnoreConfigFile
67  };
68 
72  KPluginSelector(QWidget *parent = 0);
73 
77  ~KPluginSelector();
78 
109  void addPlugins(const QString &componentName,
110  const QString &categoryName = QString(),
111  const QString &categoryKey = QString(),
112  KSharedConfig::Ptr config = KSharedConfig::Ptr());
113 
118  void addPlugins(const KComponentData &instance,
119  const QString &categoryName = QString(),
120  const QString &categoryKey = QString(),
121  const KSharedConfig::Ptr &config = KSharedConfig::Ptr());
122 
164  void addPlugins(const QList<KPluginInfo> &pluginInfoList,
165  PluginLoadMethod pluginLoadMethod = ReadConfigFile,
166  const QString &categoryName = QString(),
167  const QString &categoryKey = QString(),
168  const KSharedConfig::Ptr &config = KSharedConfig::Ptr());
169 
174  void load();
175 
179  void save();
180 
185  void defaults();
186 
192  bool isDefault() const;
193 
211  void updatePluginsState();
212 
213 Q_SIGNALS:
217  void changed(bool hasChanged);
218 
224  void configCommitted(const QByteArray &componentName);
225 
226 private:
227  class Private;
228  Private * const d;
229 };
230 
231 #endif
KSharedPtr< KSharedConfig >
KPluginInfo
QWidget
QString
ksharedconfig.h
KPluginSelector::PluginLoadMethod
PluginLoadMethod
Definition: kpluginselector.h:64
kcmutils_export.h
defaults
KGuiItem defaults()
save
KAction * save(const QObject *recvr, const char *slot, QObject *parent)
KComponentData
KPluginSelector
A widget to select what plugins to load and configure the plugins.
Definition: kpluginselector.h:58
QList< KPluginInfo >
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:50:34 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KUtils

Skip menu "KUtils"
  • 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