Added downloads of xdxf dicts
[mdictionary] / src / plugins / xdxf / XdxfDictDownloadProgressDialog.h
index 69e6439..05c10e6 100644 (file)
 class XdxfDictDownloadProgressDialog : public QDialog {
     Q_OBJECT
 public:
-    XdxfDictDownloadProgressDialog(QWidget *parent = 0);
+    XdxfDictDownloadProgressDialog(QString title, QWidget *parent = 0);
 
 public Q_SLOTS:
     void reject();
-    void updateDownloadProgress(int, int);
 
 Q_SIGNALS:
     //! signal emitted when user cancels downloading of a dictionary
@@ -42,12 +41,10 @@ Q_SIGNALS:
 
 private:
     QLabel* downloadLabel;
-    QLabel* downloadTimeLabel;
     QProgressBar* downloadProgressBar;
     QPushButton* cancelButton;
     QVBoxLayout* verticalLayout;
     //! used to check the progress of dictionary downloading
-    QTime time;
 };
 
 #endif // XDXFDICTDOWNLOADPROGRESSDIALOG_H