114
int addItem(const QString &filename, qlonglong size, const QString &peer, bool sending);
120
int addItem(const QString &filename, const QString &path, const QPixmap &fileicon, qlonglong size, const QString &peer, bool sending);
115
121
void setProgress(int id, int step, int total, qlonglong sent, int bytesPerSecond, bool updateAll=false);
116
122
void setError(int id, const QString &reason);