certmanager Library API Documentation

appearanceconfigwidget.h

00001 /*
00002     appearanceconfigwidget.h
00003 
00004     This file is part of kleopatra, the KDE key manager
00005     Copyright (c) 2002,2004 Klarälvdalens Datakonsult AB
00006     Copyright (c) 2002,2003 Marc Mutz <mutz@kde.org>
00007 
00008     Libkleopatra is free software; you can redistribute it and/or
00009     modify it under the terms of the GNU General Public License as
00010     published by the Free Software Foundation; either version 2 of the
00011     License, or (at your option) any later version.
00012 
00013     Libkleopatra is distributed in the hope that it will be useful,
00014     but WITHOUT ANY WARRANTY; without even the implied warranty of
00015     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00016     General Public License for more details.
00017 
00018     You should have received a copy of the GNU General Public License
00019     along with this program; if not, write to the Free Software
00020     Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00021 
00022     In addition, as a special exception, the copyright holders give
00023     permission to link the code of this program with any edition of
00024     the Qt library by Trolltech AS, Norway (or with modified versions
00025     of Qt that use the same license as Qt), and distribute linked
00026     combinations including the two.  You must obey the GNU General
00027     Public License in all respects for all of the code used other than
00028     Qt.  If you modify this file, you may extend this exception to
00029     your version of the file, but you are not obligated to do so.  If
00030     you do not wish to do so, delete this exception statement from
00031     your version.
00032  */
00033 
00034 #ifndef APPEARANCECONFIGWIDGET_H
00035 #define APPEARANCECONFIGWIDGET_H
00036 
00037 #include "appearanceconfigwidgetbase.h"
00038 #include <qstringlist.h>
00039 class KConfig;
00040 
00041 namespace Kleo {
00042 
00043   class AppearanceConfigWidget : public AppearanceConfigWidgetBase {
00044     Q_OBJECT
00045 
00046   public:
00047     AppearanceConfigWidget(
00048       QWidget * parent=0, const char * name=0, WFlags f=0 );
00049     ~AppearanceConfigWidget();
00050 
00051     void load();
00052     void save();
00053 
00054   public slots:
00055     void defaults();
00056 
00057   signals:
00058     void changed();
00059 
00060   protected slots:
00061     // reimplemented from the base class
00062     virtual void slotDefaultClicked();
00063     virtual void slotSelectionChanged( QListViewItem * );
00064     virtual void slotForegroundClicked();
00065     virtual void slotBackgroundClicked();
00066     virtual void slotFontClicked();
00067     virtual void slotItalicClicked();
00068     virtual void slotBoldClicked();
00069     virtual void slotStrikeoutClicked();
00070   };
00071 }
00072 
00073 #endif // APPEARANCECONFIGWIDGET_H
KDE Logo
This file is part of the documentation for certmanager Library Version 3.3.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Wed Mar 23 22:39:31 2005 by doxygen 1.3.9.1 written by Dimitri van Heesch, © 1997-2003