view TestFramework.cpp @ 24:d0502678429c

Multiplex between different stringtypes.
author Tom Fredrik Blenning Klaussen <bfg@blenning.no>
date Wed, 05 Sep 2012 21:56:45 +0200
parents 2833b7f8884a
children f711ddb56ae7
line wrap: on
line source

#include <QtCore/QString>
#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();
}