Partialy refactorized, fixed some bugs
[mdictionary] / trunk / src / base / gui / WordListWidget.h
index 877be76..cc6d72e 100644 (file)
 
 *******************************************************************************/
 //! \file WordListwidget.h
-//! \brief Implements word list widget
 //! \author Mateusz Półrola <mateusz.polrola@comarch.pl>
 
 #ifndef WORDLISTWIDGET_H
 #define WORDLISTWIDGET_H
 
-#include <QWidget>
 #include <QtGui>
 #include <QStringListModel>
 #include "../backbone/backbone.h"
-#include "SearchBarWidget.h"
 
 //! Displays list of words found in dictionaries
 /*!
@@ -89,6 +86,7 @@ private Q_SLOTS:
     //! Signal is emitted only when star was clicked.
     void wordChecked(QModelIndex index);
 
+    //! clears list
     void clear();
 
 private:
@@ -96,6 +94,7 @@ private:
     void addWord(QString word, int row);
 
     QStandardItemModel* model;
+
     //! Describes width of star checkbox in pixels
     int checkBoxWidth;