doxygen comments
[aspt.git] / clubtab.cc
index 8418ee9..887076e 100644 (file)
@@ -6,15 +6,26 @@ http://creativecommons.org/licenses/by-nc-nd/2.5/legalcode
 
 #include "clubtab.h"
 
+/**
+ * Club Tab constructor.
+ */
 ClubTab::ClubTab(QWidget *parent) : QWidget(parent) {
        init();
 }
 
+/**
+ * Club Tab destructor.
+ */
 ClubTab::~ClubTab() {
        delete label;
        delete mainLayout;
 }
 
+/**
+ * \brief Club Tab initializer.
+ *
+ * Set text into Club Tab.
+ */
 void ClubTab::init() {
        mainLayout = new QVBoxLayout;
        QString text;
@@ -59,10 +70,20 @@ void ClubTab::init() {
        setLayout(mainLayout);
 }
 
+/**
+ * \brief Slot assigned to data change action.
+ * 
+ * Rebuild UI with new data.
+ */
 void ClubTab::dataChanged() {
        rebuildUI();
 }
 
+/**
+ * \brief Redraw UI with new data.
+ *
+ * Destroy old widget and initialize new one..
+ */
 void ClubTab::rebuildUI() {
        label->clear();
        delete mainLayout;