Mark const return value; correct the comment about valid menu items for the hotkey
[kugel-rb.git] / rbutil / rbutilqt / systrace.h
blob4e6206a886be5cd34ea7515b668be192f58ed8ff
1 /***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
9 * Copyright (C) 2007 by Dominik Riebeling
10 * $Id$
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.
17 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
18 * KIND, either express or implied.
20 ****************************************************************************/
22 #ifndef SYSTRACE_H
23 #define SYSTRACE_H
25 #include <QtGui>
26 #include "ui_systracefrm.h"
28 class SysTrace : public QDialog
30 Q_OBJECT
31 public:
32 SysTrace(QWidget *parent);
33 static void debug(QtMsgType type, const char* msg);
34 static QString getTrace() {return debugbuffer;}
35 static void save(QString filename = "");
36 private:
37 Ui::SysTraceFrm ui;
38 static QString debugbuffer;
40 private slots:
41 void saveCurrentTrace(void);
42 void savePreviousTrace(void);
43 void refresh(void);
47 #endif