• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • kutils
 

kutils

  • kutils
kpluginselector.h
1 /* This file is part of the KDE project
2  Copyright (C) 2002-2003 Matthias Kretz <kretz@kde.org>
3 
4  This library is free software; you can redistribute it and/or
5  modify it under the terms of the GNU Library General Public
6  License version 2 as published by the Free Software Foundation.
7 
8  This library is distributed in the hope that it will be useful,
9  but WITHOUT ANY WARRANTY; without even the implied warranty of
10  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11  Library General Public License for more details.
12 
13  You should have received a copy of the GNU Library General Public License
14  along with this library; see the file COPYING.LIB. If not, write to
15  the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
16  Boston, MA 02110-1301, USA.
17 
18 */
19 
20 #ifndef KPLUGINSELECTOR_H
21 #define KPLUGINSELECTOR_H
22 
23 #include <tqwidget.h>
24 #include <tqstring.h>
25 
26 #include <kdelibs_export.h>
27 
28 class KInstance;
29 class KPluginInfo;
30 class TQWidgetStack;
31 class KConfig;
32 class KConfigGroup;
33 
60 class KUTILS_EXPORT KPluginSelector : public TQWidget
61 {
62  friend class KPluginSelectionWidget;
63 
64  Q_OBJECT
65  public:
69  KPluginSelector( TQWidget * parent, const char * name = 0 );
70  ~KPluginSelector();
71 
101  void addPlugins( const TQString & instanceName,
102  const TQString & catname = TQString::null,
103  const TQString & category = TQString::null,
104  KConfig * config = 0 );
105 
110  void addPlugins( const KInstance * instance,
111  const TQString & catname = TQString::null,
112  const TQString & category = TQString::null,
113  KConfig * config = 0 );
114 
140  void addPlugins( const TQValueList<KPluginInfo*> & plugininfos,
141  const TQString & catname = TQString::null,
142  const TQString & category = TQString::null,
143  KConfig * config = 0 );
144 
152  void setShowEmptyConfigPage( bool );
153 
161  void load();
162 
166  void save();
167 
171  void defaults();
172 
173  signals:
177  void changed( bool );
178 
184  void configCommitted( const TQCString & instanceName );
185 
186  private:
192  TQWidgetStack * widgetStack();
193 
199  void configPage( int id );
200 
204  void checkNeedForTabWidget();
205 
209  void addPluginsInternal( const TQValueList<KPluginInfo*> plugininfos,
210  const TQString & catname, const TQString & category,
211  KConfigGroup* cfgGroup );
212 
213  class KPluginSelectorPrivate;
214  KPluginSelectorPrivate * d;
215 };
216 
217 // vim: sw=4 sts=4 et tw=80
218 #endif // KPLUGINSELECTOR_H
KPluginInfo
Information about a plugin.
Definition: kplugininfo.h:42
KInstance
KConfigGroup
KConfig
KPluginSelectionWidget
KPluginSelector
A widget to select what plugins to load and configure the plugins.
Definition: kpluginselector.h:60

kutils

Skip menu "kutils"
  • Main Page
  • Modules
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members
  • Related Pages

kutils

Skip menu "kutils"
  • arts
  • dcop
  • dnssd
  • interfaces
  •     interface
  •     library
  •   kspeech
  •   ktexteditor
  • kabc
  • kate
  • kcmshell
  • kdecore
  • kded
  • kdefx
  • kdeprint
  • kdesu
  • kdeui
  • kdoctools
  • khtml
  • kimgio
  • kinit
  • kio
  •   bookmarks
  •   httpfilter
  •   kfile
  •   kio
  •   kioexec
  •   kpasswdserver
  •   kssl
  • kioslave
  •   http
  • kjs
  • kmdi
  •   kmdi
  • knewstuff
  • kparts
  • krandr
  • kresources
  • kspell2
  • kunittest
  • kutils
  • kwallet
  • libkmid
  • libkscreensaver
Generated for kutils by doxygen 1.8.11
This website is maintained by Timothy Pearson.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. |