Mercurial > dedupe
view TestFramework.cpp @ 82:f507a7240bc9
Functionality for easy clearing of a query when throwing an exception.
| author | Tom Fredrik Blenning Klaussen <bfg@bfgconsult.no> |
|---|---|
| date | Thu, 10 Oct 2013 14:13:01 +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(); }
