certmanager Library API Documentation

backendconfigwidget.h

00001 /*  -*- c++ -*-
00002     backendconfigwidget.h
00003 
00004     This file is part of libkleopatra, the KDE keymanagement library
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 __KLEO_UI_BACKENDCONFIGWIDGET_H__
00035 #define __KLEO_UI_BACKENDCONFIGWIDGET_H__
00036 
00037 #include <qwidget.h>
00038 
00039 namespace Kleo {
00040   class CryptoBackendFactory;
00041 }
00042 
00043 class QListViewItem;
00044 
00045 namespace Kleo {
00046 
00047   class BackendConfigWidget : public QWidget {
00048     Q_OBJECT
00049   public:
00050     BackendConfigWidget( CryptoBackendFactory * factory, QWidget * parent=0, const char * name=0, WFlags f=0 );
00051     ~BackendConfigWidget();
00052 
00053     void load();
00054     void save() const;
00055 
00056     void emitChanged( bool b ) { emit changed( b ); }
00057 
00058   signals:
00059     void changed( bool );
00060 
00061   private slots:
00062     void slotSelectionChanged( QListViewItem * );
00063     void slotRescanButtonClicked();
00064     void slotConfigureButtonClicked();
00065 
00066   private:
00067     class Private;
00068     Private * d;
00069   protected:
00070     virtual void virtual_hook( int, void* );
00071   };
00072 
00073 }
00074 
00075 #endif // __KLEO_UI_BACKENDCONFIGWIDGET_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