aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNils Achtergarde <[email protected]>2017-12-30 21:18:27 +0000
committerNils Achtergarde <[email protected]>2017-12-30 21:18:27 +0000
commit2ed6fc4d0a3b93982bb7300b1c28950811e4a4be (patch)
tree87f59e5c1e2570cea4f876a502040b85ccb1a35f
parentrecommit of 1db778e4481eeab3e65d157240fbe963a8113f49 (tabbed about dialog wit... (diff)
downloadgpg4usb-2ed6fc4d0a3b93982bb7300b1c28950811e4a4be.tar.gz
gpg4usb-2ed6fc4d0a3b93982bb7300b1c28950811e4a4be.zip
recommit of 305c0bbf683401af0f52f3a3d812ff0fa20a73a4 (minor commenting and cleanup)
-rw-r--r--aboutdialog.h15
-rw-r--r--keygendialog.h9
2 files changed, 21 insertions, 3 deletions
diff --git a/aboutdialog.h b/aboutdialog.h
index 865da96..295ee6f 100644
--- a/aboutdialog.h
+++ b/aboutdialog.h
@@ -22,7 +22,6 @@
#ifndef __ABOUTDIALOG_H__
#define __ABOUTDIALOG_H__
-#include <QHash>
#include <QWidget>
#include <QtGui>
@@ -34,6 +33,10 @@ class QLabel;
class QTabWidget;
QT_END_NAMESPACE
+/**
+ * @brief Class containing the main tab of about dialog
+ *
+ */
class InfoTab : public QWidget
{
Q_OBJECT
@@ -42,7 +45,11 @@ class InfoTab : public QWidget
InfoTab(QWidget *parent = 0);
};
- class TranslatorsTab : public QWidget
+/**
+ * @brief Class containing the translator tab of about dialog
+ *
+ */
+class TranslatorsTab : public QWidget
{
Q_OBJECT
@@ -50,6 +57,10 @@ class InfoTab : public QWidget
TranslatorsTab(QWidget *parent = 0);
};
+ /**
+ * @brief Class for handling the about dialog
+ *
+ */
class AboutDialog : public QDialog
{
Q_OBJECT
diff --git a/keygendialog.h b/keygendialog.h
index bc61314..b3f4183 100644
--- a/keygendialog.h
+++ b/keygendialog.h
@@ -37,7 +37,14 @@ class KeyGenDialog : public QDialog
{
Q_OBJECT
-public:
+ /**
+ * @details Constructor of this class
+ *
+ * @param ctx The current GpgME context
+ * @param key The key to show details of
+ * @param parent The parent of this widget
+ */
+ public:
KeyGenDialog(GpgME::GpgContext* ctx, QWidget *parent = 0);
private: