X-Git-Url: http://vcs.maemo.org/git/?a=blobdiff_plain;f=searchresultsdialog.h;h=880a0023baa2a24901c5419bfec5a90f511976dd;hb=c474162a11b6851413b67df35765ce727b89c278;hp=6abc9ad9be3e70520f6cdacd9ff7f7934fe5c25d;hpb=3f03a986cc55531bda0617e004dc7193c48c9c3f;p=dorian diff --git a/searchresultsdialog.h b/searchresultsdialog.h index 6abc9ad..880a002 100644 --- a/searchresultsdialog.h +++ b/searchresultsdialog.h @@ -7,10 +7,10 @@ #include "listwindow.h" #include "search.h" -class ListView; class QModelIndex; class ProgressDialog; +/** Search result list. */ class SearchResultsDialog: public ListWindow { Q_OBJECT @@ -20,17 +20,16 @@ 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; };