1 /* 2 This file is part of the Kasten Framework, made within the KDE community. 3 4 SPDX-FileCopyrightText: 2008 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_VERSIONVIEWTOOLVIEW_HPP 10 #define KASTEN_VERSIONVIEWTOOLVIEW_HPP 11 12 // Kasten gui 13 #include <Kasten/AbstractToolView> 14 15 namespace Kasten { 16 17 class VersionView; 18 class VersionViewTool; 19 20 class VersionViewToolView : public AbstractToolView 21 { 22 Q_OBJECT 23 24 public: 25 explicit VersionViewToolView(VersionViewTool* tool); 26 ~VersionViewToolView() 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 VersionView* mWidget; 35 }; 36 37 } 38 39 #endif 40