Add comments and translations for xdxf downloading dialog
[mdictionary] / src / plugins / xdxf / XdxfDictDownloadProgressDialog.h
index 18be373..bce23c0 100644 (file)
 
 *******************************************************************************/
 
-//Created by Mateusz Półrola
+/*!
+  \file XdxfDictDownloadProgressDialog.h
+  \author Mateusz Półrola <mateusz.polrola@comarch.com>
+  */
 
 #ifndef XDXFDICTDOWNLOADPROGRESSDIALOG_H
 #define XDXFDICTDOWNLOADPROGRESSDIALOG_H
 #include <QDialog>
 #include <QtGui>
 
+/*!
+  Shows downloading progress bar. Currently it displays "busy bar".
+  User can cancel current download by pressing cancel button
+  */
 class XdxfDictDownloadProgressDialog : public QDialog {
     Q_OBJECT
 public:
     XdxfDictDownloadProgressDialog(QWidget *parent = 0);
 
 public Q_SLOTS:
+    //! Reimplemented to block rejecting on maemo. User must cancel.
     void reject();
+
+    //! Set text which will be displayed to user as info about current download
     void setText(QString);
 
 Q_SIGNALS:
@@ -45,7 +55,6 @@ private:
     QProgressBar* downloadProgressBar;
     QPushButton* cancelButton;
     QVBoxLayout* verticalLayout;
-    //! used to check the progress of dictionary downloading
 };
 
 #endif // XDXFDICTDOWNLOADPROGRESSDIALOG_H