File indexing completed on 2024-04-28 05:52:37
0001 /* 0002 This file is part of the Okteta Gui library, made within the KDE community. 0003 0004 SPDX-FileCopyrightText: 2008-2009 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 OKTETA_MOUSEPASTER_HPP 0010 #define OKTETA_MOUSEPASTER_HPP 0011 0012 // lib 0013 #include "abstractmousecontroller.hpp" 0014 0015 namespace Okteta { 0016 0017 class MousePaster : public AbstractMouseController 0018 { 0019 public: 0020 MousePaster(AbstractByteArrayView* view, AbstractMouseController* parent); 0021 0022 ~MousePaster() override; 0023 0024 public: // AbstractMouseController API 0025 bool handleMousePressEvent(QMouseEvent* mouseEvent) override; 0026 bool handleMouseReleaseEvent(QMouseEvent* mouseEvent) override; 0027 0028 private: 0029 }; 0030 0031 } 0032 0033 #endif