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);
29 QString downloadName() const;
32 const QList<Search::Result> results;
35 ProgressDialog *progress;
38 #endif // SEARCHRESULTSDIALOG_H