From 2ed6fc4d0a3b93982bb7300b1c28950811e4a4be Mon Sep 17 00:00:00 2001 From: Nils Achtergarde Date: Sat, 30 Dec 2017 22:18:27 +0100 Subject: recommit of 305c0bbf683401af0f52f3a3d812ff0fa20a73a4 (minor commenting and cleanup) --- aboutdialog.h | 15 +++++++++++++-- keygendialog.h | 9 ++++++++- 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 #include #include @@ -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: -- cgit v1.2.3