X-Git-Url: http://vcs.maemo.org/git/?a=blobdiff_plain;f=trace.h;h=870bd87ce03a2d9f7db322e19e30744ed84dc4c0;hb=9f73b19627aba7a802daa22df7b7683fd47ec809;hp=bd5acfcdfca1983bdf0684f5a0a5be287da1aa7f;hpb=9c05884a77fb00596e9579fd4eacdff848383710;p=dorian diff --git a/trace.h b/trace.h index bd5acfc..870bd87 100644 --- a/trace.h +++ b/trace.h @@ -6,6 +6,7 @@ #include #include #include +#include #ifdef Q_OS_SYMBIAN # ifdef __PRETTY_FUNCTION__ @@ -26,6 +27,8 @@ public: static QString event(QEvent::Type t); static void messageHandler(QtMsgType type, const char *msg); static QtMsgType level; + static void setFileName(const QString &fileName); + static QString fileName(); protected: static QString prefix(); @@ -33,6 +36,7 @@ protected: static int indent; typedef struct {int type; const char *name;} EventName; static EventName eventTab[]; + static QFile file; }; #endif // TRACE_H