Warning, file /plasma/khotkeys/kcm_hotkeys/helper_widgets/edit_gesture_dialog.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001 #ifndef EDIT_GESTURE_DIALOG_H 0002 #define EDIT_GESTURE_DIALOG_H 0003 /* SPDX-FileCopyrightText: 2009 Michael Jansen <kde@michael-jansen.biz> 0004 0005 SPDX-License-Identifier: LGPL-2.0-or-later 0006 */ 0007 0008 #include "helper_widgets/gesture_recorder.h" 0009 #include "triggers/gestures.h" 0010 0011 #include <QDialog> 0012 0013 /** 0014 * @author Michael Jansen <kde@michael-jansen.biz> 0015 */ 0016 /** 0017 * This dialog is what pops up after clicking the edit button. It contains 0018 * a GestureRecorder to enable the input of a new gesture. 0019 */ 0020 class EditGestureDialog : public QDialog 0021 { 0022 Q_OBJECT 0023 0024 public: 0025 /** 0026 * Default constructor 0027 */ 0028 EditGestureDialog(const KHotKeys::StrokePoints &pointData, QWidget *parent = nullptr); 0029 0030 /** 0031 * Destructor 0032 */ 0033 ~EditGestureDialog() override; 0034 0035 KHotKeys::StrokePoints pointData() const; 0036 0037 private Q_SLOTS: 0038 0039 void recorded(const KHotKeys::StrokePoints &data); 0040 0041 private: 0042 GestureRecorder _recorder; 0043 KHotKeys::StrokePoints _pointData; 0044 }; 0045 0046 #endif /* #ifndef EDIT_GESTURE_DIALOG_H */