File indexing completed on 2024-05-12 15:59:14
0001 /* This file is part of the KDE project 0002 * SPDX-FileCopyrightText: 2012 Arjen Hiemstra <ahiemstra@heimr.nl> 0003 * 0004 * SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 0007 #ifndef SKETCHINPUTCONTEXT_H 0008 #define SKETCHINPUTCONTEXT_H 0009 0010 #include <QInputContext> 0011 0012 #include "krita_sketch_export.h" 0013 0014 class KRITA_SKETCH_EXPORT SketchInputContext : public QInputContext 0015 { 0016 public: 0017 explicit SketchInputContext(QObject* parent = 0); 0018 virtual ~SketchInputContext(); 0019 0020 virtual bool isComposing() const; 0021 virtual void reset(); 0022 virtual QString language(); 0023 virtual QString identifierName(); 0024 virtual bool filterEvent(const QEvent* event); 0025 }; 0026 0027 #endif // SKETCHINPUTCONTEXT_H