view TestFramework.cpp @ 85:1f9e27a0bd7f

Allow for lazy calculation of checksums, ignore them, if only one file of given size.
author Tom Fredrik Blenning Klaussen <bfg@bfgconsult.no>
date Thu, 10 Oct 2013 15:55:30 +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();
}