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

tderesources

  • tderesources
kcmtderesources.cpp
1 /*
2  This file is part of libtderesources.
3 
4  Copyright (c) 2003 Tobias Koenig <tokoe@kde.org>
5 
6  This library is free software; you can redistribute it and/or
7  modify it under the terms of the GNU Library General Public
8  License as published by the Free Software Foundation; either
9  version 2 of the License, or (at your option) any later version.
10 
11  This library is distributed in the hope that it will be useful,
12  but WITHOUT ANY WARRANTY; without even the implied warranty of
13  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14  Library General Public License for more details.
15 
16  You should have received a copy of the GNU Library General Public License
17  along with this library; see the file COPYING.LIB. If not, write to
18  the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
19  Boston, MA 02110-1301, USA.
20 */
21 
22 #include <tqlayout.h>
23 
24 #include <tdeaboutdata.h>
25 #include <kgenericfactory.h>
26 #include <tdelocale.h>
27 
28 #include "configpage.h"
29 
30 #include "kcmtderesources.h"
31 
32 typedef KGenericFactory<KCMTDEResources, TQWidget> ResourcesFactory;
33 K_EXPORT_COMPONENT_FACTORY( kcm_tderesources, ResourcesFactory( "kcmtderesources" ) )
34 
35 KCMTDEResources::KCMTDEResources( TQWidget *parent, const char *name, const TQStringList& )
36  : TDECModule( ResourcesFactory::instance(), parent, name )
37 {
38  TQVBoxLayout *layout = new TQVBoxLayout( this );
39  mConfigPage = new KRES::ConfigPage( this );
40  layout->addWidget( mConfigPage );
41  connect( mConfigPage, TQT_SIGNAL( changed( bool ) ), TQT_SIGNAL( changed( bool ) ) );
42  setButtons( Help | Apply );
43  TDEAboutData *about =
44  new TDEAboutData( I18N_NOOP( "kcmtderesources" ),
45  I18N_NOOP( "TDE Resources configuration module" ),
46  0, 0, TDEAboutData::License_GPL,
47  I18N_NOOP( "(c) 2003 Tobias Koenig" ) );
48 
49  about->addAuthor( "Tobias Koenig", 0, "tokoe@kde.org" );
50  setAboutData(about);
51 }
52 
53 void KCMTDEResources::load()
54 {
55  mConfigPage->load();
56 }
57 
58 void KCMTDEResources::save()
59 {
60  mConfigPage->save();
61 }
62 
63 void KCMTDEResources::defaults()
64 {
65  mConfigPage->defaults();
66 }
67 
68 #include "kcmtderesources.moc"

tderesources

Skip menu "tderesources"
  • Main Page
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members

tderesources

Skip menu "tderesources"
  • 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 tderesources by doxygen 1.8.8
This website is maintained by Timothy Pearson.