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

kgpg

conf_encryption.cpp

Go to the documentation of this file.
00001 /***************************************************************************
00002                              -------------------
00003     begin                : Mon Jul 8 2002
00004     copyright          : (C) 2002 by Jean-Baptiste Mardelle
00005     email                : bj@altern.org
00006  ***************************************************************************/
00007 
00008 /***************************************************************************
00009  *                                                                         *
00010  *   This program is free software; you can redistribute it and/or modify  *
00011  *   it under the terms of the GNU General Public License as published by  *
00012  *   the Free Software Foundation; either version 2 of the License, or     *
00013  *   (at your option) any later version.                                   *
00014  *                                                                         *
00015  ***************************************************************************/
00016 
00017 #include "conf_encryption.h"
00018 
00019 Encryption::Encryption( QWidget* parent )
00020     : QWidget( parent ), Ui_Encryption()
00021 {
00022     setupUi( this );
00023     connect(kcfg_EncryptFilesTo, SIGNAL(toggled(bool)), this,SLOT(encrypt_files_to_toggled(bool)));
00024     connect(kcfg_AllowCustomEncryptionOptions, SIGNAL(toggled(bool)), this, SLOT(allow_custom_option_toggled(bool)));
00025     connect(encrypt_to_always, SIGNAL(toggled(bool)), this, SLOT(encrypt_to_always_toggled(bool))); 
00026 }
00027 
00028 void Encryption::encrypt_to_always_toggled(bool isOn)
00029 {
00030     always_key->setEnabled(isOn);
00031 }
00032 
00033 
00034 void Encryption::encrypt_files_to_toggled(bool isOn)
00035 {
00036     file_key->setEnabled(isOn);
00037 }
00038 
00039 
00040 void Encryption::allow_custom_option_toggled(bool isOn)
00041 {
00042     kcfg_CustomEncryptionOptions->setEnabled(isOn);
00043 }
00044 #include "conf_encryption.moc"

kgpg

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

kdeutils

Skip menu "kdeutils"
  • ark
  • kcalc
  • kcharselect
  • kdelirc
  • kdessh
  • kdf
  • kfloppy
  • kgpg
  • kjots
  • klaptopdaemon
  • kmilo
  • ksim
  • ktimer
  • kwallet
  • superkaramba
Generated for kdeutils by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal