X-Git-Url: http://vcs.maemo.org/git/?a=blobdiff_plain;f=searchresultsdialog.h;h=1ae3d477cb092e28c19aa661f8706dca2c48ec2e;hb=HEAD;hp=6abc9ad9be3e70520f6cdacd9ff7f7934fe5c25d;hpb=3f03a986cc55531bda0617e004dc7193c48c9c3f;p=dorian diff --git a/searchresultsdialog.h b/searchresultsdialog.h index 6abc9ad..1ae3d47 100644 --- a/searchresultsdialog.h +++ b/searchresultsdialog.h @@ -7,30 +7,29 @@ #include "listwindow.h" #include "search.h" -class ListView; class QModelIndex; class ProgressDialog; +/** Search result list. */ class SearchResultsDialog: public ListWindow { Q_OBJECT public: - explicit SearchResultsDialog(const QList searchResults, + explicit SearchResultsDialog(QList searchResults, 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; + QList results; QStringList data; ProgressDialog *progress; };