Added Copy and Send retroshare links for Search

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2109 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
defnax 2010-01-21 22:34:10 +00:00
parent 79d95fdc63
commit 633300c5cc
2 changed files with 70 additions and 5 deletions

View file

@ -60,7 +60,8 @@ private slots:
void broadcastonchannel();
void recommendtofriends();
void copysearchLink();
void searchRemove();
@ -82,12 +83,14 @@ private slots:
void selectSearchResults();
void clearKeyword();
void sendLinkTo();
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 resultsToTree(std::string,qulonglong searchId, const std::list<DirDetails>&);
void insertFile(const std::string& txt,qulonglong searchId, const FileDetail& file) ;
void insertDirectory(const std::string &txt, qulonglong searchId, const DirDetails &dir, QTreeWidgetItem *item);
void setIconAndType(QTreeWidgetItem *item, QString &ext);
@ -104,6 +107,8 @@ private:
/** Defines the actions for the context menu */
QAction* downloadAct;
QAction* copysearchlinkAct;
QAction* sendrslinkAct;
QAction* broadcastonchannelAct;
QAction* recommendtofriendsAct;