projects
/
dorian
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add landscape splash image.
[dorian]
/
trace.h
diff --git
a/trace.h
b/trace.h
index
bd5acfc
..
870bd87
100644
(file)
--- a/
trace.h
+++ b/
trace.h
@@
-6,6
+6,7
@@
#include <QString>
#include <QTime>
#include <QEvent>
#include <QString>
#include <QTime>
#include <QEvent>
+#include <QFile>
#ifdef Q_OS_SYMBIAN
# ifdef __PRETTY_FUNCTION__
#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 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();
protected:
static QString prefix();
@@
-33,6
+36,7
@@
protected:
static int indent;
typedef struct {int type; const char *name;} EventName;
static EventName eventTab[];
static int indent;
typedef struct {int type; const char *name;} EventName;
static EventName eventTab[];
+ static QFile file;
};
#endif // TRACE_H
};
#endif // TRACE_H