1 #ifndef SEARCHRESULTSDIALOG_H
2 #define SEARCHRESULTSDIALOG_H
7 #include "listwindow.h"
14 class SearchResultsDialog: public ListWindow
19 explicit SearchResultsDialog(const QList<Search::Result> searchResults,
24 void onItemActivated(const QModelIndex &index);
25 void onBeginDownload(int size);
26 void onEndDownload(int status, const Search::Result &result,
27 const QString &fileName);
30 QString downloadName() const;
33 const QList<Search::Result> results;
36 ProgressDialog *progress;
39 #endif // SEARCHRESULTSDIALOG_H