diff options
author | Arttu Tarkiainen <arttu.tarkiainen@qt.io> | 2021-11-12 10:06:42 +0200 |
---|---|---|
committer | Arttu Tarkiainen <arttu.tarkiainen@qt.io> | 2021-11-12 10:06:42 +0200 |
commit | 8feea98f9c51efa4effa37e86d02ffcc44961709 (patch) | |
tree | 8eeaf8035cd77ba15efca2431a1599848d1d150b /src/libs/installer/libarchivewrapper_p.h | |
parent | 3ad787d0dd580a8cfb37f4e56b55f1889e24727b (diff) | |
parent | e0b1a21917d052919bfda6f49980a6a7afd3998b (diff) |
Merge remote-tracking branch 'origin/4.2'
Change-Id: Ib519ee5a92064a033f20609c95515dec45932cac
Diffstat (limited to 'src/libs/installer/libarchivewrapper_p.h')
-rw-r--r-- | src/libs/installer/libarchivewrapper_p.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libs/installer/libarchivewrapper_p.h b/src/libs/installer/libarchivewrapper_p.h index ea8409da0..4277cd4f9 100644 --- a/src/libs/installer/libarchivewrapper_p.h +++ b/src/libs/installer/libarchivewrapper_p.h @@ -66,6 +66,7 @@ Q_SIGNALS: void currentEntryChanged(const QString &filename); void completedChanged(const quint64 completed, const quint64 total); void dataBlockRequested(); + void seekRequested(qint64 offset, int whence); void remoteWorkerFinished(); public Q_SLOTS: @@ -74,16 +75,17 @@ public Q_SLOTS: private Q_SLOTS: void processSignals(); void onDataBlockRequested(); + void onSeekRequested(qint64 offset, int whence); private: void init(); void addDataBlock(const QByteArray &buffer); void setClientDataAtEnd(); + void setClientFilePosition(qint64 pos); ExtractWorker::Status workerStatus() const; private: - QTimer m_timer; mutable QReadWriteLock m_lock; LibArchiveArchive m_archive; |