From 2998d9d3d5dfc825904b53393e9ae12e7cd5b72b Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Tue, 21 Apr 2015 15:44:54 +0200 Subject: Moved Console to client. It's part of the demo application. --- common/console.h | 49 ------------------------------------------------- 1 file changed, 49 deletions(-) delete mode 100644 common/console.h (limited to 'common/console.h') diff --git a/common/console.h b/common/console.h deleted file mode 100644 index edfc8e5..0000000 --- a/common/console.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright (C) 2014 Aaron Seigo - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) version 3, or any - * later version accepted by the membership of KDE e.V. (or its - * successor approved by the membership of KDE e.V.), which shall - * act as a proxy defined in Section 6 of version 3 of the license. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library. If not, see . - */ - -#pragma once - -#include - -#include -#include - -class QTextBrowser; - -namespace Akonadi2 -{ - -class AKONADI2COMMON_EXPORT Console : public QWidget -{ - Q_OBJECT -public: - static Console *main(); - Console(const QString &title); - ~Console(); - - void log(const QString &message); - -private: - QTextBrowser *m_textDisplay; - QTime m_timestamper; - static Console *s_output; -}; - -} // namespace Akonadi2 -- cgit v1.2.3