File indexing completed on 2025-01-19 04:29:05
0001 /* 0002 SPDX-FileCopyrightText: 2014 Till Theato <root@ttill.de> 0003 0004 SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL 0005 0006 This file is part of Kdenlive. See www.kdenlive.org. 0007 */ 0008 0009 #pragma once 0010 0011 #include <QObject> 0012 0013 class JogShuttle; 0014 class JogShuttleAction; 0015 0016 /** 0017 * @class JogManager 0018 * @brief Turns JogShuttle support on/off according to KdenliveSettings and connects between JogShuttleAction and the actual actions. 0019 */ 0020 class JogManager : public QObject 0021 { 0022 Q_OBJECT 0023 0024 public: 0025 explicit JogManager(QObject *parent = nullptr); 0026 0027 private Q_SLOTS: 0028 void slotDoAction(const QString &actionName); 0029 void slotConfigurationChanged(); 0030 0031 private: 0032 JogShuttle *m_shuttle{nullptr}; 0033 JogShuttleAction *m_shuttleAction{nullptr}; 0034 };