Add confirmation after download on Symbian.
[dorian] / searchresultsdialog.h
index 83917f3..bf8a389 100644 (file)
@@ -9,6 +9,7 @@
 
 class ListView;
 class QModelIndex;
+class ProgressDialog;
 
 class SearchResultsDialog: public ListWindow
 {
@@ -21,11 +22,18 @@ public:
 protected slots:
     void onDownload();
     void onItemActivated(const QModelIndex &index);
+    void onBeginDownload(int size);
+    void onEndDownload(int status, const Search::Result &result,
+                       const QString &fileName);
 
 protected:
+    QString downloadName() const;
+
+private:
     const QList<Search::Result> results;
     ListView *list;
     QStringList data;
+    ProgressDialog *progress;
 };
 
 #endif // SEARCHRESULTSDIALOG_H