summaryrefslogtreecommitdiffstats
path: root/src/fbgui/qlog4cxx.h
blob: d2f73a482961faf6af1fd7de8d055feb28ef9ea9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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_ */