projects
/
dorian
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add tool bar on Symbian. Fix some orientation change bugs.
[dorian]
/
searchresultsdialog.h
diff --git
a/searchresultsdialog.h
b/searchresultsdialog.h
index
83917f3
..
880a002
100644
(file)
--- a/
searchresultsdialog.h
+++ b/
searchresultsdialog.h
@@
-7,9
+7,10
@@
#include "listwindow.h"
#include "search.h"
#include "listwindow.h"
#include "search.h"
-class ListView;
class QModelIndex;
class QModelIndex;
+class ProgressDialog;
+/** Search result list. */
class SearchResultsDialog: public ListWindow
{
Q_OBJECT
class SearchResultsDialog: public ListWindow
{
Q_OBJECT
@@
-19,13
+20,18
@@
public:
QWidget *parent = 0);
protected slots:
QWidget *parent = 0);
protected slots:
- void onDownload();
void onItemActivated(const QModelIndex &index);
void onItemActivated(const QModelIndex &index);
+ void onBeginDownload(int size);
+ void onEndDownload(int status, const Search::Result &result,
+ const QString &fileName);
protected:
protected:
+ QString downloadName() const;
+
+private:
const QList<Search::Result> results;
const QList<Search::Result> results;
- ListView *list;
QStringList data;
QStringList data;
+ ProgressDialog *progress;
};
#endif // SEARCHRESULTSDIALOG_H
};
#endif // SEARCHRESULTSDIALOG_H