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

tdeutils

dialog.h

00001 /*  This file is part of the KDE project
00002     Copyright (C) 2003 Matthias Kretz <kretz@kde.org>
00003 
00004     This library is free software; you can redistribute it and/or
00005     modify it under the terms of the GNU Library General Public
00006     License version 2 as published by the Free Software Foundation.
00007 
00008     This library is distributed in the hope that it will be useful,
00009     but WITHOUT ANY WARRANTY; without even the implied warranty of
00010     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00011     Library General Public License for more details.
00012 
00013     You should have received a copy of the GNU Library General Public License
00014     along with this library; see the file COPYING.LIB.  If not, write to
00015     the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
00016     Boston, MA 02110-1301, USA.
00017 
00018 */
00019 
00020 #ifndef KSETTINGS_DIALOG_H
00021 #define KSETTINGS_DIALOG_H
00022 
00023 #include <tqobject.h>
00024 #include <kservice.h>
00025 
00026 template<class T> class TQValueList;
00027 class KPluginInfo;
00028 class KCMultiDialog;
00029 class TDECModuleInfo;
00030 
00031 namespace KSettings
00032 {
00033 
00073 class TDEUTILS_EXPORT Dialog : public TQObject
00074 {
00075     friend class PageNode;
00076     Q_OBJECT
00077     public:
00083         enum ContentInListView
00084         {
00088             Static,
00093             Configurable
00094         };
00095 
00105         Dialog( TQWidget * parent = 0, const char * name = 0 );
00106 
00118         Dialog( ContentInListView content = Static, TQWidget * parent = 0,
00119                 const char * name = 0 );
00120 
00134         Dialog( const TQStringList & components, TQWidget * parent = 0,
00135                 const char * name = 0 );
00136 
00152         Dialog( const TQStringList & components, ContentInListView
00153                 content, TQWidget * parent = 0, const char * name = 0 );
00154 
00155         ~Dialog();
00156 
00161         void addPluginInfos( const TQValueList<KPluginInfo*> & plugininfos );
00162 
00163         KCMultiDialog * dialog();
00164 
00165     public slots:
00170         void show();
00171 
00172     signals:
00180         void pluginSelectionChanged();
00181 
00182     protected slots:
00183         void configureTree();
00184         void updateTreeList();
00185 
00186     private:
00191         bool isPluginForKCMEnabled( TDECModuleInfo * ) const;
00192 
00193         TQValueList<KService::Ptr> instanceServices() const;
00194         TQValueList<KService::Ptr> parentComponentsServices(
00195                 const TQStringList & ) const;
00200         void parseGroupFile( const TQString & );
00201 
00207         TQStringList parentModuleNames( TDECModuleInfo * );
00208 
00215         void createDialogFromServices();
00216 
00217         class DialogPrivate;
00218         DialogPrivate * d;
00219 };
00220 
00221 }
00222 
00223 // vim: sw=4 sts=4 et
00224 #endif // KSETTINGS_DIALOG_H

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
  • tdeabc
  • tdecmshell
  • tdecore
  • tdefx
  • tdehtml
  • tdeinit
  • tdeio
  •   bookmarks
  •   httpfilter
  •   kpasswdserver
  •   kssl
  •   tdefile
  •   tdeio
  •   tdeioexec
  • tdeioslave
  •   http
  • tdemdi
  •   tdemdi
  • tdenewstuff
  • tdeparts
  • tdeprint
  • tderandr
  • tderesources
  • tdespell2
  • tdesu
  • tdeui
  • tdeunittest
  • tdeutils
  • tdewallet
Generated for tdeutils by doxygen 1.7.1
This website is maintained by Timothy Pearson.