• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdeutils API Reference
  • KDE Home
  • Contact Us
 

kgpg

  • sources
  • kde-4.14
  • kdeutils
  • kgpg
selectsecretkey.h
Go to the documentation of this file.
1 /***************************************************************************
2  * *
3  * This program is free software; you can redistribute it and/or modify *
4  * it under the terms of the GNU General Public License as published by *
5  * the Free Software Foundation; either version 2 of the License, or *
6  * (at your option) any later version. *
7  * *
8  ***************************************************************************/
9 
10 #ifndef KGPGSELECTSECRETKEY_H
11 #define KGPGSELECTSECRETKEY_H
12 
13 #include <KDialog>
14 
15 class QCheckBox;
16 class QTableView;
17 
18 class KComboBox;
19 
20 class KGpgItemModel;
21 class SelectSecretKeyProxyModel;
22 
23 class KgpgSelectSecretKey : public KDialog
24 {
25  Q_OBJECT
26 
27 public:
37  KgpgSelectSecretKey(QWidget *parent, KGpgItemModel *model, const int countkey = 0, const bool allowLocal = true, const bool allowTerminal = true);
38  ~KgpgSelectSecretKey();
39 
40  QString getKeyID() const;
41  QString getKeyMail() const;
42  int getSignTrust() const;
43 
49  bool isLocalSign() const;
50 
56  bool isTerminalSign() const;
57 
58 private slots:
59  void slotOk();
60  void slotSelectionChanged();
61 
62 private:
63  QCheckBox *m_localsign;
64  QCheckBox *m_terminalsign;
65 
66  KComboBox *m_signtrust;
67  QTableView *m_keyslist;
68  SelectSecretKeyProxyModel *m_proxy;
69 };
70 
71 #endif // KGPGSELECTSECRETKEY_H
KGpgItemModel
Definition: kgpgitemmodel.h:44
QWidget
KgpgSelectSecretKey::getSignTrust
int getSignTrust() const
Definition: selectsecretkey.cpp:111
KgpgSelectSecretKey::isTerminalSign
bool isTerminalSign() const
Definition: selectsecretkey.cpp:123
KgpgSelectSecretKey::KgpgSelectSecretKey
KgpgSelectSecretKey(QWidget *parent, KGpgItemModel *model, const int countkey=0, const bool allowLocal=true, const bool allowTerminal=true)
Constructor.
Definition: selectsecretkey.cpp:27
KDialog
KgpgSelectSecretKey::getKeyID
QString getKeyID() const
Definition: selectsecretkey.cpp:97
QCheckBox
KgpgSelectSecretKey::~KgpgSelectSecretKey
~KgpgSelectSecretKey()
Definition: selectsecretkey.cpp:93
QString
QTableView
KgpgSelectSecretKey::isLocalSign
bool isLocalSign() const
Definition: selectsecretkey.cpp:118
SelectSecretKeyProxyModel
Definition: selectkeyproxymodel.h:60
KgpgSelectSecretKey::getKeyMail
QString getKeyMail() const
Definition: selectsecretkey.cpp:104
KgpgSelectSecretKey
Definition: selectsecretkey.h:23
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:42:08 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kgpg

Skip menu "kgpg"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdeutils API Reference

Skip menu "kdeutils API Reference"
  • ark
  • filelight
  • kcalc
  • kcharselect
  • kdf
  • kfloppy
  • kgpg
  • ktimer
  • kwallet
  • sweeper

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal