compile with QT < 4.7 (RHEL6 an clones)

This commit is contained in:
Andreas Piesk 2012-05-09 20:29:21 +02:00 committed by Florian Geyer
parent 93a868a571
commit 7568582b05
9 changed files with 33 additions and 15 deletions

View file

@ -20,6 +20,7 @@
#include <QtCore/QObject>
#include <QtCore/QString>
#include <QtCore/QDateTime>
class QIODevice;
@ -28,6 +29,7 @@ namespace Tools {
QString humanReadableFileSize(qint64 bytes);
bool hasChild(const QObject* parent, const QObject* child);
bool readAllFromDevice(QIODevice* device, QByteArray& data);
QDateTime currentDateTimeUtc();
} // namespace Tools