From 305c0bbf683401af0f52f3a3d812ff0fa20a73a4 Mon Sep 17 00:00:00 2001 From: nils Date: Tue, 24 Apr 2012 23:23:00 +0000 Subject: minor commenting and cleanup git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@903 34ebc366-c3a9-4b3c-9f84-69acf7962910 --- aboutdialog.h | 15 ++++++++++++--- keydetailsdialog.h | 7 +++++++ 2 files changed, 19 insertions(+), 3 deletions(-) diff --git a/aboutdialog.h b/aboutdialog.h index daa37d6..39ae2ba 100755 --- 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 @@ -41,7 +44,10 @@ class InfoTab : public QWidget public: InfoTab(QWidget *parent = 0); }; - +/** + * @brief Class containing the translator tab of about dialog + * + */ class TranslatorsTab : public QWidget { Q_OBJECT @@ -49,7 +55,10 @@ class InfoTab : public QWidget public: TranslatorsTab(QWidget *parent = 0); }; - + /** + * @brief Class for handling the about dialog + * + */ class AboutDialog : public QDialog { Q_OBJECT diff --git a/keydetailsdialog.h b/keydetailsdialog.h index 37edd43..1079801 100644 --- a/keydetailsdialog.h +++ b/keydetailsdialog.h @@ -42,6 +42,13 @@ class KeyDetailsDialog : 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 + */ KeyDetailsDialog(GpgME::GpgContext* ctx, gpgme_key_t key, QWidget *parent = 0); /** -- cgit v1.2.3