• 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
kgpgfirstassistant.h
Go to the documentation of this file.
1 /* Copyright 2008 Rolf Eike Beer <kde@opensource.sf-tec.de>
2  *
3  * This program is free software; you can redistribute it and/or
4  * modify it under the terms of the GNU General Public License as
5  * published by the Free Software Foundation; either version 2 of
6  * the License or (at your option) version 3 or any later version
7  * accepted by the membership of KDE e.V. (or its successor approved
8  * by the membership of KDE e.V.), which shall act as a proxy
9  * defined in Section 14 of version 3 of the license.
10  *
11  * This program 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
14  * GNU 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, see <http://www.gnu.org/licenses/>.
18  */
19 #ifndef KGPGFIRSTASSISTANT_H
20 #define KGPGFIRSTASSISTANT_H
21 
22 #include <KAssistantDialog>
23 
24 class QCheckBox;
25 class QLabel;
26 class KPageWidgetItem;
27 class KUrlRequester;
28 class KComboBox;
29 
30 class KGpgFirstAssistant : public KAssistantDialog
31 {
32  Q_OBJECT
33 
34 private:
35  KPageWidgetItem *page_welcome;
36  KPageWidgetItem *page_binary;
37  KPageWidgetItem *page_config;
38  KPageWidgetItem *page_defaultkey;
39  KPageWidgetItem *page_done;
40 
41  QLabel *defaultkeylabel;
42  QLabel *txtGpgVersion;
43  QLabel *text_optionsfound;
44  QLabel *versionLabel;
45  QLabel *binlabel;
46 
47  QCheckBox *generateCB;
48  QCheckBox *autostartCB;
49 
50  KComboBox *CBdefault;
51 
52  KUrlRequester *binURL;
53  KUrlRequester *pathURL;
54 
55  QString m_gpgVersion;
56  QString m_confPath;
57 
58  void findConfigPath();
59 
60 public:
64  explicit KGpgFirstAssistant(QWidget *parent = 0);
65 
70  bool runKeyGenerate() const;
75  QString getConfigPath() const;
80  QString getDefaultKey() const;
85  bool getAutoStart() const;
86 
87 public Q_SLOTS:
91  virtual void next();
92 
93 private Q_SLOTS:
94  void slotBinaryChanged(const QString &binary);
95 };
96 
97 #endif
QWidget
KGpgFirstAssistant::getAutoStart
bool getAutoStart() const
check if KGpg autostart should be activated
Definition: kgpgfirstassistant.cpp:349
KGpgFirstAssistant::getDefaultKey
QString getDefaultKey() const
get fingerprint of default key
Definition: kgpgfirstassistant.cpp:339
KAssistantDialog
QCheckBox
KGpgFirstAssistant
Definition: kgpgfirstassistant.h:30
QString
KGpgFirstAssistant::getConfigPath
QString getConfigPath() const
get user selected GnuPG home directory
Definition: kgpgfirstassistant.cpp:333
KGpgFirstAssistant::runKeyGenerate
bool runKeyGenerate() const
check if key generation dialog should be started
Definition: kgpgfirstassistant.cpp:327
KGpgFirstAssistant::next
virtual void next()
called when "next" button is pressed
Definition: kgpgfirstassistant.cpp:295
QLabel
KGpgFirstAssistant::KGpgFirstAssistant
KGpgFirstAssistant(QWidget *parent=0)
constructor of KGpgFirstAssistant
Definition: kgpgfirstassistant.cpp:41
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