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