summaryrefslogtreecommitdiffstats
path: root/src/fbgui/qlog4cxx.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/fbgui/qlog4cxx.h')
-rw-r--r--src/fbgui/qlog4cxx.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/fbgui/qlog4cxx.h b/src/fbgui/qlog4cxx.h
new file mode 100644
index 0000000..d2f73a4
--- /dev/null
+++ b/src/fbgui/qlog4cxx.h
@@ -0,0 +1,25 @@
+/*
+ * qlog4cxx.h
+ *
+ * Created on: Dec 3, 2011
+ * Author: ssc
+ */
+
+#ifndef QLOG4CXX_H_
+#define QLOG4CXX_H_
+
+namespace std
+{
+ inline ostream& operator<<(ostream& os, const QString& a)
+ {
+ return os << a.toStdString();
+ }
+
+ inline ostream& operator<<(ostream& os, const QByteArray& a)
+ {
+ return os << a.constData();
+ }
+
+}
+
+#endif /* QLOG4CXX_H_ */