1 /* 2 This file is part of the Kasten Framework, made within the KDE community. 3 4 SPDX-FileCopyrightText: 2010 Friedrich W. H. Kossebau <kossebau@kde.org> 5 6 SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL 7 */ 8 9 #ifndef KASTEN_TERMINALTOOLVIEW_HPP 10 #define KASTEN_TERMINALTOOLVIEW_HPP 11 12 // Kasten gui 13 #include <Kasten/AbstractToolView> 14 15 namespace Kasten { 16 17 class TerminalView; 18 class TerminalTool; 19 20 class TerminalToolView : public AbstractToolView 21 { 22 Q_OBJECT 23 24 public: 25 explicit TerminalToolView(TerminalTool* tool); 26 ~TerminalToolView() override; 27 28 public: // AbstractToolView API 29 QWidget* widget() const override; 30 QString title() const override; 31 AbstractTool* tool() const override; 32 33 private: 34 TerminalView* mWidget; 35 }; 36 37 } 38 39 #endif 40