Corrected: urpo_id.pub in help file for public key file name
[urpo] / src / debugconsole.h
1 /**************************************************************************
2
3     URPO
4
5     Unix Remote Printing Operation
6     Copyright (c) Arto Hyvättinen 2010
7
8     This file is part of URPO.
9
10     URPO is free software: you can redistribute it and/or modify
11     it under the terms of the GNU General Public License as published by
12     the Free Software Foundation, either version 3 of the License, or
13     (at your option) any later version.
14
15     URPO is distributed in the hope that it will be useful,
16     but WITHOUT ANY WARRANTY; without even the implied warranty of
17     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18     GNU General Public License for more details.
19
20
21 **************************************************************************/
22
23 #ifndef DEBUGCONSOLE_H
24 #define DEBUGCONSOLE_H
25
26 #include <QTextBrowser>
27
28 /*! Show debug messages
29
30   @author Arto Hyvättinen
31   @date 2010-06-13
32   @version 0.1
33
34   Show debug messages in QTextBrowser.
35   Show everything received via debugMessage() slot.
36
37
38   */
39
40 class DebugConsole : public QTextBrowser
41 {
42     Q_OBJECT
43 public:
44     explicit DebugConsole(QWidget *parent = 0);
45
46 signals:
47
48 public slots:
49     void debugMessage(QString message);
50
51 };
52
53 #endif // DEBUGCONSOLE_H