Added for Private Chat Attachments to display for each rs link with file size

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3346 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
defnax 2010-08-06 15:31:30 +00:00
parent 0abfbbb911
commit bbd3902bbe
3 changed files with 13 additions and 1 deletions

View file

@ -72,6 +72,8 @@ class RetroShareLink
/// returns the string <a href="retroshare://file|name|size|hash">retroshare://file|name|size|hash</a>
/// <a href="retroshare://person|name|hash">retroshare://person|name|hash</a>
QString toHtmlFull() const ;
QString toHtmlSize() const ;
QUrl toUrl() const ;
@ -125,6 +127,10 @@ class RSLinkClipboard
// produces a list of html links that displays the full links
//
static QString toHtmlFull();
// produces a list of html links that displays with the file name + filesize
//
static QString toHtmlSize();
// Returns true is no links are found to paste.
// Useful for menus.