X-Git-Url: https://vaikene.ee/gitweb/pswgen11.html?a=blobdiff_plain;f=src%2Fapps%2FPswGen%2FGUI%2Fgui.h;h=f4abd248b0399d02480c454b5dc1422f5d1222fb;hb=de270ece1b764b19968e14420f538321f1c06b15;hp=d3c89d4abf0e54d0c7b609b3bf9f3b97fadd4b27;hpb=0957525838e501a4609a15b8d7a765da43362025;p=evaf
diff --git a/src/apps/PswGen/GUI/gui.h b/src/apps/PswGen/GUI/gui.h
index d3c89d4..f4abd24 100644
--- a/src/apps/PswGen/GUI/gui.h
+++ b/src/apps/PswGen/GUI/gui.h
@@ -3,7 +3,7 @@
* @brief GUI for the PswGen application
* @author Enar Vaikene
*
- * Copyright (c) 2011 Enar Vaikene
+ * Copyright (c) 2011-2012 Enar Vaikene
*
* This file is part of the eVaf C++ cross-platform application development framework.
*
@@ -20,6 +20,8 @@
#ifndef __PSWGEN_GUI_GUI_H
#define __PSWGEN_GUI_GUI_H
+#include "version.h"
+
#include
#include
@@ -28,6 +30,7 @@
class QLineEdit;
class QSpinBox;
class QPushButton;
+class QCheckBox;
namespace eVaf {
namespace PswGen {
@@ -44,6 +47,7 @@ class Module : public Plugins::iPlugin
{
Q_OBJECT
Q_INTERFACES(eVaf::Plugins::iPlugin)
+ Q_PLUGIN_METADATA(IID VER_MODULE_NAME_STR)
public:
@@ -84,9 +88,11 @@ private: // Members
eVaf::PswGen::iStorage * mStorage;
/// Widgets on the screen
- QLineEdit * wName;
QLineEdit * wMasterPassword;
+ QLineEdit * wName;
+ QLineEdit * wSuffix;
QSpinBox * wLength;
+ QCheckBox * wAlNum;
QLineEdit * wPassword;
QPushButton * wGenerate;
QPushButton * wCopy;