11 # ifdef __PRETTY_FUNCTION__
12 # define TRACE Trace _(__PRETTY_FUNCTION__)
14 # define TRACE Trace _(__FUNCTION__)
17 # define TRACE Trace _(Q_FUNC_INFO)
24 Trace(const QString &s);
26 static QString event(QEvent::Type t);
27 static void messageHandler(QtMsgType type, const char *msg);
28 static QtMsgType level;
31 static QString prefix();
34 typedef struct {int type; const char *name;} EventName;
35 static EventName eventTab[];