1 #ifndef SEARCHRESULTSDIALOG_H
2 #define SEARCHRESULTSDIALOG_H
7 #include "listwindow.h"
14 /** Search result list. */
15 class SearchResultsDialog: public ListWindow
20 explicit SearchResultsDialog(const QList<Search::Result> searchResults,
25 void onItemActivated(const QModelIndex &index);
26 void onBeginDownload(int size);
27 void onEndDownload(int status, const Search::Result &result,
28 const QString &fileName);
31 QString downloadName() const;
34 const QList<Search::Result> results;
37 ProgressDialog *progress;
40 #endif // SEARCHRESULTSDIALOG_H