mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-10-14 06:20:59 -04:00
Add hasChild function to check for a child in a QObject tree.
This commit is contained in:
parent
246bc0115e
commit
f8e2c95162
2 changed files with 15 additions and 0 deletions
|
@ -18,11 +18,13 @@
|
|||
#ifndef KEEPASSX_TOOLS_H
|
||||
#define KEEPASSX_TOOLS_H
|
||||
|
||||
#include <QtCore/QObject>
|
||||
#include <QtCore/QString>
|
||||
|
||||
namespace Tools {
|
||||
|
||||
QString humanReadableFileSize(qint64 bytes);
|
||||
bool hasChild(const QObject* parent, const QObject* child);
|
||||
|
||||
} // namespace Tools
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue