diff options
Diffstat (limited to 'rbutil/rbutilqt/systrace.h')
-rw-r--r-- | rbutil/rbutilqt/systrace.h | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/rbutil/rbutilqt/systrace.h b/rbutil/rbutilqt/systrace.h new file mode 100644 index 0000000000..a8253ce9e6 --- /dev/null +++ b/rbutil/rbutilqt/systrace.h | |||
@@ -0,0 +1,47 @@ | |||
1 | /*************************************************************************** | ||
2 | * __________ __ ___. | ||
3 | * Open \______ \ ____ ____ | | _\_ |__ _______ ___ | ||
4 | * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / | ||
5 | * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < | ||
6 | * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ | ||
7 | * \/ \/ \/ \/ \/ | ||
8 | * | ||
9 | * Copyright (C) 2007 by Dominik Riebeling | ||
10 | * $Id$ | ||
11 | * | ||
12 | * This program is free software; you can redistribute it and/or | ||
13 | * modify it under the terms of the GNU General Public License | ||
14 | * as published by the Free Software Foundation; either version 2 | ||
15 | * of the License, or (at your option) any later version. | ||
16 | * | ||
17 | * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY | ||
18 | * KIND, either express or implied. | ||
19 | * | ||
20 | ****************************************************************************/ | ||
21 | |||
22 | #ifndef SYSTRACE_H | ||
23 | #define SYSTRACE_H | ||
24 | |||
25 | #include <QtGui> | ||
26 | #include "ui_systracefrm.h" | ||
27 | |||
28 | class SysTrace : public QDialog | ||
29 | { | ||
30 | Q_OBJECT | ||
31 | public: | ||
32 | SysTrace(QWidget *parent); | ||
33 | static void debug(QtMsgType type, const char* msg); | ||
34 | |||
35 | static QString getTrace() {return debugbuffer;} | ||
36 | private: | ||
37 | Ui::SysTraceFrm ui; | ||
38 | static QString debugbuffer; | ||
39 | |||
40 | private slots: | ||
41 | void save(void); | ||
42 | void refresh(void); | ||
43 | |||
44 | }; | ||
45 | |||
46 | #endif | ||
47 | |||