mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-13 08:35:45 -04:00
Regroup Upload Items by file in TransfersDialog.
This commit is contained in:
parent
f9102e5964
commit
3b4e84c6d4
6 changed files with 382 additions and 333 deletions
|
@ -95,7 +95,7 @@ private slots:
|
|||
/** removes finished Downloads**/
|
||||
void clearcompleted();
|
||||
|
||||
void copyLink();
|
||||
void dlCopyLink();
|
||||
void pasteLink();
|
||||
void renameFile();
|
||||
void setDestinationDirectory();
|
||||
|
@ -109,9 +109,9 @@ private slots:
|
|||
|
||||
void pauseFileTransfer();
|
||||
void resumeFileTransfer();
|
||||
void openFolderTransfer();
|
||||
void openTransfer();
|
||||
void previewTransfer();
|
||||
void dlOpenFolder();
|
||||
void dlOpenFile();
|
||||
void dlPreviewFile();
|
||||
|
||||
void ulOpenFolder();
|
||||
void ulCopyLink();
|
||||
|
@ -235,7 +235,7 @@ private:
|
|||
bool m_bProcessSettings;
|
||||
void processSettings(bool bLoad);
|
||||
|
||||
void getSelectedItems(std::set<RsFileHash> *ids, std::set<int> *rows);
|
||||
void getDLSelectedItems(std::set<RsFileHash> *ids, std::set<int> *rows);
|
||||
void getULSelectedItems(std::set<RsFileHash> *ids, std::set<int> *rows);
|
||||
bool controlTransferFile(uint32_t flags);
|
||||
void changePriority(int priority);
|
||||
|
@ -255,12 +255,11 @@ private:
|
|||
Ui::TransfersDialog ui;
|
||||
|
||||
public slots:
|
||||
// these two functions add entries to the transfers dialog, and return the row id of the entry modified/added
|
||||
//
|
||||
int addItem(int row, const FileInfo &fileInfo);
|
||||
int addPeerToItem(QStandardItem *dlItem, const QString& name, const QString& coreID, double dlspeed, uint32_t status, const FileProgressInfo& peerInfo);
|
||||
|
||||
int addUploadItem(const QString& symbol, const QString& name, const QString& coreID, qlonglong size, const FileProgressInfo& pinfo, double dlspeed, const QString& sources,const QString& source_id, const QString& status, qlonglong completed, qlonglong remaining);
|
||||
// these four functions add entries to the transfers dialog, and return the row id of the entry modified/added
|
||||
int addDLItem(int row, const FileInfo &fileInfo);
|
||||
int addPeerToDLItem(QStandardItem *dlItem, const QString& name, const QString& coreID, double dlspeed, uint32_t status, const FileProgressInfo& peerInfo);
|
||||
int addULItem(int row, const FileInfo &fileInfo);
|
||||
int addPeerToULItem(QStandardItem *ulItem, const RsPeerId& peer_ID, const QString &coreID, qlonglong completed, double ulspeed, const FileProgressInfo& peerInfo);
|
||||
|
||||
void showFileDetails() ;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue