diff options
author | Aaron Seigo <aseigo@kde.org> | 2014-11-20 16:28:31 +0100 |
---|---|---|
committer | Aaron Seigo <aseigo@kde.org> | 2014-11-20 16:28:31 +0100 |
commit | ed20c3082d4fd5e90703e4d6c37093dcecb5cfd1 (patch) | |
tree | c4ad96fde99c38ee66c0ba7d0f8231bc5326b3d6 /common/console.h | |
download | sink-ed20c3082d4fd5e90703e4d6c37093dcecb5cfd1.tar.gz sink-ed20c3082d4fd5e90703e4d6c37093dcecb5cfd1.zip |
sketch in the client/resource model
Diffstat (limited to 'common/console.h')
-rw-r--r-- | common/console.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/common/console.h b/common/console.h new file mode 100644 index 0000000..d504fb1 --- /dev/null +++ b/common/console.h | |||
@@ -0,0 +1,20 @@ | |||
1 | #pragma once | ||
2 | |||
3 | #include <QWidget> | ||
4 | |||
5 | class QTextBrowser; | ||
6 | |||
7 | class Console : public QWidget | ||
8 | { | ||
9 | Q_OBJECT | ||
10 | public: | ||
11 | static Console *main(); | ||
12 | Console(const QString &title); | ||
13 | ~Console(); | ||
14 | |||
15 | void log(const QString &message); | ||
16 | |||
17 | private: | ||
18 | QTextBrowser *m_textDisplay; | ||
19 | static Console *s_output; | ||
20 | }; \ No newline at end of file | ||