X-Git-Url: http://vcs.maemo.org/git/?a=blobdiff_plain;f=searchresultsdialog.h;h=880a0023baa2a24901c5419bfec5a90f511976dd;hb=566d091a5c6137e18507010608946740dde3a3f3;hp=b16183645e948921e2dd2e750755fc0a03c69a33;hpb=8eea7446dbcf2df23b7633db28d6e8e78bb856f3;p=dorian diff --git a/searchresultsdialog.h b/searchresultsdialog.h index b161836..880a002 100644 --- a/searchresultsdialog.h +++ b/searchresultsdialog.h @@ -7,9 +7,10 @@ #include "listwindow.h" #include "search.h" -class ListView; class QModelIndex; +class ProgressDialog; +/** Search result list. */ class SearchResultsDialog: public ListWindow { Q_OBJECT @@ -19,18 +20,18 @@ public: QWidget *parent = 0); protected slots: - void onDownload(); void onItemActivated(const QModelIndex &index); void onBeginDownload(int size); - void onEndDownload(); + void onEndDownload(int status, const Search::Result &result, + const QString &fileName); protected: QString downloadName() const; private: const QList results; - ListView *list; QStringList data; + ProgressDialog *progress; }; #endif // SEARCHRESULTSDIALOG_H