mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-10-13 22:11:04 -04:00
Add Tools::readAllFromDevice().
Make KeePass2XmlReader::readCompressedBinary() use the new function.
This commit is contained in:
parent
f8f52419c8
commit
f89ffa10e6
3 changed files with 30 additions and 16 deletions
|
@ -21,10 +21,13 @@
|
|||
#include <QtCore/QObject>
|
||||
#include <QtCore/QString>
|
||||
|
||||
class QIODevice;
|
||||
|
||||
namespace Tools {
|
||||
|
||||
QString humanReadableFileSize(qint64 bytes);
|
||||
bool hasChild(const QObject* parent, const QObject* child);
|
||||
bool readAllFromDevice(QIODevice* device, QByteArray& data);
|
||||
|
||||
} // namespace Tools
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue