Improvements to make more complete Feed System Demo.

* Major Work on SubFileItem to display possible attachment/file states.
 * Added Download / Save buttons to SubFileItem.
 * Enabled Correct Name / Transfer state display in SubFileItem.
 * Disabled 'Local' Checks temporarily in SubFileItem.  (for demo)
 * Disabled 'Remote' Drops temporarily in GeneralMsgDialog. (for demo)
 * Added File Details to TransferFeed.
 * Add 'Online' List to PeersFeed.
 * extended Msg Attachments to handle local/remote, and check for attachment errors.
 * enabled Attachment removal.
 * Updated RS Interface files.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@637 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
drbob 2008-07-06 16:03:16 +00:00
parent 9629c6923c
commit 2ba752fbfb
13 changed files with 664 additions and 80 deletions

View file

@ -43,7 +43,8 @@ public:
/** Default Destructor */
void addAttachment(std::string path);
void addAttachment(std::string hash, std::string fname, uint64_t size);
void addAttachment(std::string hash, std::string fname, uint64_t size,
bool local, std::string srcId);
void addDestination(uint32_t type, std::string grpId, std::string inReplyTo);
void setMsgType(uint32_t type);
@ -53,6 +54,7 @@ virtual void dragEnterEvent(QDragEnterEvent *event);
virtual void dropEvent(QDropEvent *event);
private slots:
void checkAttachmentReady();
void updateGroupId();
void newDestination();
void cancelMsg();
@ -69,6 +71,8 @@ void sendMessage(uint32_t type, std::string grpId, std::string inReplyTo,
/* maps of files and destinations */
std::list<SubDestItem *> mDestinations;
std::list<SubFileItem *> mAttachments;
bool mCheckAttachment;
};