Warning, file /utilities/okteta/gui/controller/abstractcontroller.hpp was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001 /* 0002 This file is part of the Okteta Gui library, made within the KDE community. 0003 0004 SPDX-FileCopyrightText: 2004, 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 OKTETA_ABSTRACTCONTROLLER_HPP 0010 #define OKTETA_ABSTRACTCONTROLLER_HPP 0011 0012 class QKeyEvent; 0013 0014 namespace Okteta { 0015 0016 class AbstractController 0017 { 0018 protected: 0019 explicit AbstractController(AbstractController* parent); 0020 0021 public: 0022 AbstractController(const AbstractController&) = delete; 0023 0024 virtual ~AbstractController(); 0025 0026 AbstractController& operator=(const AbstractController&) = delete; 0027 0028 public: // API to be implemented 0029 virtual bool handleKeyPress(QKeyEvent* keyEvent); 0030 0031 protected: 0032 AbstractController* mParent; 0033 }; 0034 0035 } 0036 0037 #endif