fix small bug(wildcard), and change some comments
[mdictionary] / src / plugins / xdxf / XdxfDictDownloadProgressDialog.cpp
index 9d730bf..c969f03 100644 (file)
     Copyright 2010 Comarch S.A.
 
 *******************************************************************************/
-
 /*!
-  \file XdxfDictDownloadProgressDialog.cpp
-  \author Mateusz Półrola <mateusz.polrola@comarch.com>
-  */
+    \file XdxfDictDownloadProgressDialog.cpp
+    \author Mateusz Półrola <mateusz.polrola@comarch.com>
+*/
 
 #include "XdxfDictDownloadProgressDialog.h"
 
@@ -41,7 +40,6 @@ XdxfDictDownloadProgressDialog::XdxfDictDownloadProgressDialog(QWidget*parent):
     connect(cancelButton, SIGNAL(clicked()),
             this, SIGNAL(cancelDownloading()));
 
-
     #ifndef Q_WS_MAEMO_5
             downloadLabel = new QLabel(this);
             verticalLayout->addWidget(downloadLabel, 0, Qt::AlignCenter);
@@ -49,7 +47,6 @@ XdxfDictDownloadProgressDialog::XdxfDictDownloadProgressDialog(QWidget*parent):
 
     verticalLayout->addWidget(downloadProgressBar);
     verticalLayout->addWidget(cancelButton);
-
     setModal(true);
 
     #ifndef Q_WS_MAEMO_5
@@ -57,11 +54,13 @@ XdxfDictDownloadProgressDialog::XdxfDictDownloadProgressDialog(QWidget*parent):
     #endif
 }
 
+
 void XdxfDictDownloadProgressDialog::show() {
     downloadProgressBar->setMaximum(0);
     QDialog::show();
 }
 
+
 void XdxfDictDownloadProgressDialog::setText(QString text) {
     setWindowTitle(text);
     #ifndef Q_WS_MAEMO_5
@@ -69,6 +68,7 @@ void XdxfDictDownloadProgressDialog::setText(QString text) {
     #endif
 }
 
+
 void XdxfDictDownloadProgressDialog::updateProgress(float progress) {
     if(downloadProgressBar->maximum() == 0) {
         downloadProgressBar->setMaximum(100);
@@ -76,6 +76,7 @@ void XdxfDictDownloadProgressDialog::updateProgress(float progress) {
     downloadProgressBar->setValue(progress*100);
 }
 
+
 void XdxfDictDownloadProgressDialog::reject() {
     #ifndef Q_WS_MAEMO_5
         Q_EMIT cancelDownloading();