Add the playlist catalog option to the %cs manual text
[maemo-rb.git] / rbutil / rbutilqt / systrace.h
blobf15e33c14937771b8ba0f85690a74e3f2db5b4cb
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 static void flush(void);
38 Ui::SysTraceFrm ui;
39 static QString debugbuffer;
40 static QString lastmessage;
41 static unsigned int repeat;
43 private slots:
44 void saveCurrentTrace(void);
45 void savePreviousTrace(void);
46 void refresh(void);
50 #endif