File indexing completed on 2024-05-26 05:56:21

0001 /*
0002     This file is part of the Okteta Kasten module, made within the KDE community.
0003 
0004     SPDX-FileCopyrightText: 2008 Friedrich W. H. Kossebau <kossebau@kde.org>
0005 
0006     SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
0007 */
0008 
0009 #ifndef KASTEN_DOCUMENTINFOTOOLVIEW_HPP
0010 #define KASTEN_DOCUMENTINFOTOOLVIEW_HPP
0011 
0012 // Kasten gui
0013 #include <Kasten/AbstractToolView>
0014 
0015 namespace Kasten {
0016 
0017 class DocumentInfoView;
0018 class DocumentInfoTool;
0019 
0020 class DocumentInfoToolView : public AbstractToolView
0021 {
0022     Q_OBJECT
0023 
0024 public:
0025     explicit DocumentInfoToolView(DocumentInfoTool* tool);
0026     ~DocumentInfoToolView() override;
0027 
0028 public: // AbstractToolView API
0029     QWidget* widget() const override;
0030     QString title() const override;
0031     AbstractTool* tool() const override;
0032 
0033 private:
0034     DocumentInfoView* mWidget;
0035 };
0036 
0037 }
0038 
0039 #endif