Added new widget for hashing files.

Added new common class FilesDefs to handle informations of file types like icons and names.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4713 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
thunder2 2011-12-07 13:08:12 +00:00
parent c9fc77f2d1
commit 0ee35b55f4
35 changed files with 932 additions and 1031 deletions

View file

@ -31,7 +31,6 @@ class QComboBox;
class QFontComboBox;
class QTextEdit;
class QTextCharFormat;
class AttachFileItem;
class RSTreeWidgetItemCompareRole;
class MessageComposer : public QMainWindow
@ -80,9 +79,6 @@ protected:
void closeEvent (QCloseEvent * event);
bool eventFilter(QObject *obj, QEvent *ev);
virtual void dragEnterEvent(QDragEnterEvent *event);
virtual void dropEvent(QDropEvent *event);
private slots:
/* toggle Contacts DockWidget */
void contextMenu(QPoint);
@ -119,11 +115,10 @@ private slots:
void clipboardDataChanged();
void fileHashingFinished(AttachFileItem* file);
void fileHashingStarted();
void fileHashingFinished(QList<HashedFile> hashedFiles);
void attachFile();
void addAttachment(std::string);
void checkAttachmentReady();
void fontSizeIncrease();
void fontSizeDecrease();
@ -216,11 +211,6 @@ private:
std::list<uint32_t> m_tagIds;
QList<QLabel*> tagLabels;
/* maps of files */
std::list<AttachFileItem *> mAttachments;
bool mCheckAttachment;
RSTreeWidgetItemCompareRole *m_compareRole;
QCompleter *m_completer;