view TestFramework.cpp @ 107:d434137e296d

Sort the prepared queries and add end and begin queries.
author Tom Fredrik Blenning Klaussen <bfg@bfgconsult.no>
date Tue, 18 Feb 2014 17:07:01 +0100
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();
}