]> vaikene.ee Git - evaf/blobdiff - src/apps/PswGen/GUI/gui.h
Warning fixes and copyright update.
[evaf] / src / apps / PswGen / GUI / gui.h
index 9102945cae1331a8488c116cccd62d277094e5ea..e672201a1652c2e149d10dd12815a37aecb1b82f 100644 (file)
@@ -3,7 +3,7 @@
  * @brief GUI for the PswGen application
  * @author Enar Vaikene
  *
- * Copyright (c) 2011 Enar Vaikene
+ * Copyright (c) 2011-2019 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 <Plugins/iPlugin>
 
 #include <QObject>
@@ -28,6 +30,7 @@
 class QLineEdit;
 class QSpinBox;
 class QPushButton;
+class QCheckBox;
 
 namespace eVaf {
 namespace PswGen {
@@ -43,6 +46,8 @@ namespace GUI {
 class Module : public Plugins::iPlugin
 {
     Q_OBJECT
+    Q_INTERFACES(eVaf::Plugins::iPlugin)
+    Q_PLUGIN_METADATA(IID VER_MODULE_NAME_STR)
 
 public:
 
@@ -83,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;