certmanager/lib

cryptoconfigdialog.h
1 /*
2  cryptoconfigdialog.h
3 
4  This file is part of kgpgcertmanager
5  Copyright (c) 2004 Klarälvdalens Datakonsult AB
6 
7  Libkleopatra is free software; you can redistribute it and/or
8  modify it under the terms of the GNU General Public License,
9  version 2, as published by the Free Software Foundation.
10 
11  Libkleopatra 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  General Public License for more details.
15 
16  You should have received a copy of the GNU General Public License
17  along with this program; if not, write to the Free Software
18  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
19 
20  In addition, as a special exception, the copyright holders give
21  permission to link the code of this program with any edition of
22  the TQt library by Trolltech AS, Norway (or with modified versions
23  of TQt that use the same license as TQt), and distribute linked
24  combinations including the two. You must obey the GNU General
25  Public License in all respects for all of the code used other than
26  TQt. If you modify this file, you may extend this exception to
27  your version of the file, but you are not obligated to do so. If
28  you do not wish to do so, delete this exception statement from
29  your version.
30 */
31 
32 #ifndef CRYPTOCONFIGDIALOG_H
33 #define CRYPTOCONFIGDIALOG_H
34 
35 #include <kdialogbase.h>
36 #include <kdemacros.h>
37 
38 namespace Kleo {
39 
40  class CryptoConfig;
41  class CryptoConfigModule;
42 
46  class TDE_EXPORT CryptoConfigDialog : public KDialogBase
47  {
48  TQ_OBJECT
49 
50  public:
51  CryptoConfigDialog( Kleo::CryptoConfig* config, TQWidget *parent = 0, const char* name = 0 );
52 
53  protected:
54  virtual void slotOk();
55  virtual void slotCancel();
56  virtual void slotDefault();
57  virtual void slotApply();
58  virtual void slotUser1(); // reset
59 
60  public slots:
61  void slotChanged();
62 
63  private:
64  CryptoConfigModule* mMainWidget;
65  };
66 
67 }
68 
69 #endif /* CRYPTOCONFIGDIALOG_H */
70 
Simple KDialogBase wrapper around CryptoConfigModule.
Crypto Config Module widget, dynamically generated from CryptoConfig It's a simple TQWidget so that i...
Main interface to crypto configuration.
Definition: cryptoconfig.h:334