mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-03 14:45:12 -04:00
to show files sources count in form of friend source/ total source
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2324 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
d2bda9fff3
commit
a5b01d1de6
2 changed files with 39 additions and 7 deletions
|
@ -35,6 +35,8 @@
|
|||
#include "advsearch/advancedsearchdialog.h"
|
||||
#include "settings/rsharesettings.h"
|
||||
|
||||
#define FRIEND_SEARCH 1
|
||||
#define ANONYMOUS_SEARCH 2
|
||||
class SearchDialog : public MainPage
|
||||
{
|
||||
Q_OBJECT
|
||||
|
@ -95,7 +97,7 @@ private:
|
|||
/** render the results to the tree widget display */
|
||||
void initSearchResult(const std::string& txt,qulonglong searchId) ;
|
||||
void resultsToTree(std::string,qulonglong searchId, const std::list<DirDetails>&);
|
||||
void insertFile(const std::string& txt,qulonglong searchId, const FileDetail& file) ;
|
||||
void insertFile(const std::string& txt,qulonglong searchId, const FileDetail& file, int searchType = ANONYMOUS_SEARCH) ;
|
||||
void insertDirectory(const std::string &txt, qulonglong searchId, const DirDetails &dir, QTreeWidgetItem *item);
|
||||
void setIconAndType(QTreeWidgetItem *item, QString &ext);
|
||||
void downloadDirectory(const QTreeWidgetItem *item, const QString &base);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue