2010-03-01 16:40:12 +01:00
|
|
|
#include "test_utils.h"
|
|
|
|
|
2010-03-03 20:14:14 +01:00
|
|
|
#include <QNetworkRequest>
|
2010-03-01 16:40:12 +01:00
|
|
|
#include <QString>
|
|
|
|
#include <QUrl>
|
|
|
|
|
|
|
|
std::ostream& operator<<(std::ostream& stream, const QString& str) {
|
|
|
|
stream << str.toStdString();
|
|
|
|
return stream;
|
|
|
|
}
|
|
|
|
|
|
|
|
std::ostream& operator <<(std::ostream& stream, const QUrl& url) {
|
|
|
|
stream << url.toString().toStdString();
|
|
|
|
return stream;
|
|
|
|
}
|
|
|
|
|
2010-03-03 20:14:14 +01:00
|
|
|
std::ostream& operator <<(std::ostream& stream, const QNetworkRequest& req) {
|
|
|
|
stream << req.url().toString().toStdString();
|
|
|
|
return stream;
|
|
|
|
}
|