kgpg
keyexport.cpp
Go to the documentation of this file.00001 /*************************************************************************** 00002 keyexport.cpp - description 00003 ------------------- 00004 begin : Thu Jul 4 2002 00005 copyright : (C) 2002 by Jean-Baptiste Mardelle 00006 email : bj@altern.org 00007 ***************************************************************************/ 00008 00009 /*************************************************************************** 00010 * * 00011 * This program is free software; you can redistribute it and/or modify * 00012 * it under the terms of the GNU General Public License as published by * 00013 * the Free Software Foundation; either version 2 of the License, or * 00014 * (at your option) any later version. * 00015 * * 00016 ***************************************************************************/ 00017 00018 00019 #include "keyexport.h" 00020 00021 KeyExport::KeyExport(QWidget* parent, const QStringList *keyservers) 00022 : QWidget(parent), Ui_KeyExport() 00023 { 00024 setupUi(this); 00025 connect(checkFile, SIGNAL(toggled(bool)), this,SLOT(checkFile_toggled(bool))); 00026 00027 if (keyservers != NULL) 00028 destServer->addItems(*keyservers); 00029 } 00030 00031 void KeyExport::checkFile_toggled(bool isOn) 00032 { 00033 newFilename->setEnabled(isOn); 00034 } 00035 00036 #include "keyexport.moc"
KDE 4.2 API Reference