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

tdeutils

  • tdeutils
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 <tdelibs_export.h>
27 
28 class TDEInstance;
29 class KPluginInfo;
30 class TQWidgetStack;
31 class TDEConfig;
32 class TDEConfigGroup;
33 
60 class TDEUTILS_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  TDEConfig * config = 0 );
105 
110  void addPlugins( const TDEInstance * instance,
111  const TQString & catname = TQString::null,
112  const TQString & category = TQString::null,
113  TDEConfig * config = 0 );
114 
140  void addPlugins( const TQValueList<KPluginInfo*> & plugininfos,
141  const TQString & catname = TQString::null,
142  const TQString & category = TQString::null,
143  TDEConfig * 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  TDEConfigGroup* cfgGroup );
212 
213  class KPluginSelectorPrivate;
214  KPluginSelectorPrivate * d;
215 };
216 #endif // KPLUGINSELECTOR_H
TDEConfig
KPluginInfo
Information about a plugin.
Definition: kplugininfo.h:42
TDEConfigGroup
KPluginSelectionWidget
TDEInstance
KPluginSelector
A widget to select what plugins to load and configure the plugins.
Definition: kpluginselector.h:60

tdeutils

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

tdeutils

Skip menu "tdeutils"
  • arts
  • dcop
  • dnssd
  • interfaces
  •   kspeech
  •     interface
  •     library
  •   tdetexteditor
  • kate
  • kded
  • kdoctools
  • kimgio
  • kjs
  • libtdemid
  • libtdescreensaver
  •     tdecore
  • tdeabc
  • tdecmshell
  • tdecore
  • tdefx
  • tdehtml
  • tdeinit
  • tdeio
  •   bookmarks
  •   httpfilter
  •   kpasswdserver
  •   kssl
  • tdeioslave
  •   http
  •   tdefile
  •   tdeio
  •   tdeioexec
  • tdemdi
  •   tdemdi
  • tdenewstuff
  • tdeparts
  • tdeprint
  • tderandr
  • tderesources
  • tdespell2
  • tdesu
  • tdeui
  • tdeunittest
  • tdeutils
  • tdewallet
Generated for tdeutils by doxygen 1.8.8
This website is maintained by Timothy Pearson.