mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-07 00:25:16 -04:00
Moved loadCertificate from main, StartDialog and GenCertDialog to Rshare.
Switched StartDialog from QMainWindow to QDialog. Updated english translation file. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5752 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
aadb408533
commit
afa3248429
11 changed files with 551 additions and 694 deletions
|
@ -19,51 +19,33 @@
|
|||
* Boston, MA 02110-1301, USA.
|
||||
****************************************************************/
|
||||
|
||||
|
||||
#ifndef _GENCERTDIALOG_H
|
||||
#define _GENCERTDIALOG_H
|
||||
|
||||
#include <retroshare/rstypes.h>
|
||||
|
||||
#include "ui_GenCertDialog.h"
|
||||
|
||||
|
||||
|
||||
class GenCertDialog : public QDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
/** Default constructor */
|
||||
GenCertDialog(bool onlyGenerateIdentity, QWidget *parent = 0, Qt::WFlags flags = 0);
|
||||
/** Default destructor */
|
||||
/** Default constructor */
|
||||
GenCertDialog(bool onlyGenerateIdentity, QWidget *parent = 0, Qt::WFlags flags = 0);
|
||||
|
||||
private slots:
|
||||
void genPerson();
|
||||
//void loadPerson();
|
||||
void selectFriend();
|
||||
void importIdentity();
|
||||
void exportIdentity();
|
||||
void checkChanged(int i);
|
||||
void newGPGKeyGenUiSetup();
|
||||
void newGPGKeyGenUiSetup();
|
||||
|
||||
private:
|
||||
void init();
|
||||
|
||||
void init() ;
|
||||
/** Qt Designer generated object */
|
||||
Ui::GenCertDialog ui;
|
||||
|
||||
/** Loads the saved connectidialog settings */
|
||||
// void loadSettings();
|
||||
void loadCertificates();
|
||||
|
||||
|
||||
QMovie *movie;
|
||||
|
||||
/** Qt Designer generated object */
|
||||
Ui::GenCertDialog ui;
|
||||
|
||||
bool genNewGPGKey;
|
||||
bool mOnlyGenerateIdentity;
|
||||
bool genNewGPGKey;
|
||||
bool mOnlyGenerateIdentity;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue