Mercurial > dedupe
view TestFramework.cpp @ 113:27e628852401
Add some error checking.
| author | Tom Fredrik Blenning Klaussen <bfg@bfgconsult.no> |
|---|---|
| date | Tue, 03 May 2016 02:23:14 +0200 |
| parents | 8136057988bc |
| children |
line wrap: on
line source
#include <QtCore/QDateTime> std::ostream& operator<<(std::ostream& out, const QString& rhs) { return out << rhs.toStdString(); } std::ostream& operator<<(std::ostream& out, const QDateTime& rhs) { return out << rhs.toString(); } std::ostream& operator<<(std::ostream& out, const QByteArray& rhs) { QByteArray b64 = rhs.toBase64(); return out << b64.constData(); }
