Setting version number to 0.9.2
[urpo] / src / debugconsole.cpp
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 #include "debugconsole.h"
24
25 DebugConsole::DebugConsole(QWidget *parent) :
26     QTextBrowser(parent)
27 {
28     // Set window
29     setWindowTitle("URPO Debug");
30     append( tr("This window shows information for resolving error situations\n"));
31 }
32
33 void DebugConsole::debugMessage(QString message)
34 {
35     // Show everything sent by this slot.
36     append( message );
37 }