• 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
conf_encryption.cpp
Go to the documentation of this file.
1 /***************************************************************************
2  -------------------
3  begin : Mon Jul 8 2002
4  copyright : (C) 2002 by Jean-Baptiste Mardelle
5  email : bj@altern.org
6  ***************************************************************************/
7 
8 /***************************************************************************
9  * *
10  * This program is free software; you can redistribute it and/or modify *
11  * it under the terms of the GNU General Public License as published by *
12  * the Free Software Foundation; either version 2 of the License, or *
13  * (at your option) any later version. *
14  * *
15  ***************************************************************************/
16 
17 #include "conf_encryption.h"
18 
19 Encryption::Encryption( QWidget* parent )
20  : QWidget( parent ), Ui_Encryption()
21 {
22  setupUi( this );
23  connect(kcfg_EncryptFilesTo, SIGNAL(toggled(bool)), this,SLOT(encrypt_files_to_toggled(bool)));
24  connect(kcfg_AllowCustomEncryptionOptions, SIGNAL(toggled(bool)), this, SLOT(allow_custom_option_toggled(bool)));
25  connect(encrypt_to_always, SIGNAL(toggled(bool)), this, SLOT(encrypt_to_always_toggled(bool)));
26 }
27 
28 void Encryption::encrypt_to_always_toggled(bool isOn)
29 {
30  always_key->setEnabled(isOn);
31 }
32 
33 
34 void Encryption::encrypt_files_to_toggled(bool isOn)
35 {
36  file_key->setEnabled(isOn);
37 }
38 
39 
40 void Encryption::allow_custom_option_toggled(bool isOn)
41 {
42  kcfg_CustomEncryptionOptions->setEnabled(isOn);
43 }
44 
45 #include "conf_encryption.moc"
QWidget
QWidget::setupUi
void setupUi(QWidget *widget)
Encryption::allow_custom_option_toggled
virtual void allow_custom_option_toggled(bool)
Definition: conf_encryption.cpp:40
Encryption::encrypt_to_always_toggled
virtual void encrypt_to_always_toggled(bool)
Definition: conf_encryption.cpp:28
Encryption::Encryption
Encryption(QWidget *parent=0)
Definition: conf_encryption.cpp:19
conf_encryption.h
Ui_Encryption
QObject::connect
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
Encryption::encrypt_files_to_toggled
virtual void encrypt_files_to_toggled(bool)
Definition: conf_encryption.cpp:34
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