changed std::string into RsFileHash for all file hashes

git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-IdCleaning@7137 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2014-02-20 21:12:04 +00:00
parent 533216c9e3
commit acf34cd7ad
84 changed files with 698 additions and 718 deletions

View file

@ -25,6 +25,7 @@
#include <QPainter>
#include <QBitmap>
#include "RsAutoUpdatePage.h"
#include <retroshare/rstypes.h>
class FileChunksInfo ;
class FileInfo ;
@ -36,7 +37,7 @@ class FileTransferInfoWidget : public RsAutoUpdatePage
public:
FileTransferInfoWidget(QWidget * parent = 0, Qt::WindowFlags f = 0 );
void setFileHash(const std::string& hash) { _file_hash = hash ; }
void setFileHash(const RsFileHash& hash) { _file_hash = hash ; }
virtual void updateDisplay() ; // update from RsAutoUpdateWidget
protected:
@ -57,6 +58,6 @@ private:
QPixmap notDownloadPixmap;
QPixmap checkingPixmap;
std::string _file_hash ;
RsFileHash _file_hash ;
};