xca/widgets/ExportKey.h
Christian Hohnstaedt dbad217a9f improve file-dialog handling
- resize columns to fit to the longest entry
 - Ask once if an existing file shall be overwritten
2009-12-06 16:39:17 +01:00

29 lines
560 B
C++

/* vi: set sw=4 ts=4:
*
* Copyright (C) 2001 - 2007 Christian Hohnstaedt.
*
* All rights reserved.
*/
#ifndef __EXPORTKEY_H
#define __EXPORTKEY_H
#include "ui_ExportKey.h"
class ExportKey: public QDialog, public Ui::ExportKey
{
Q_OBJECT
private:
bool onlyPub;
public:
ExportKey(QWidget *parent, QString fname, bool onlypub);
public slots:
void on_fileBut_clicked();
void canEncrypt();
void on_exportFormat_activated(int);
void on_exportPrivate_stateChanged();
void on_exportPkcs8_stateChanged();
void on_okButton_clicked();
};
#endif