File indexing completed on 2024-11-10 04:57:11

0001 /*
0002     KWin - the KDE window manager
0003     This file is part of the KDE project.
0004 
0005     SPDX-FileCopyrightText: 2007 Rivo Laks <rivolaks@hot.ee>
0006     SPDX-FileCopyrightText: 2010 Jorge Mata <matamax123@gmail.com>
0007 
0008     SPDX-License-Identifier: GPL-2.0-or-later
0009 */
0010 
0011 #pragma once
0012 
0013 #include <kcmodule.h>
0014 
0015 #include "ui_trackmouse_config.h"
0016 
0017 class KActionCollection;
0018 
0019 namespace KWin
0020 {
0021 class TrackMouseEffectConfig : public KCModule
0022 {
0023     Q_OBJECT
0024 public:
0025     explicit TrackMouseEffectConfig(QObject *parent, const KPluginMetaData &data);
0026     ~TrackMouseEffectConfig() override;
0027 
0028 public Q_SLOTS:
0029     void save() override;
0030     void load() override;
0031     void defaults() override;
0032 private Q_SLOTS:
0033     void shortcutChanged(const QKeySequence &seq);
0034 
0035 private:
0036     Ui::TrackMouseEffectConfigForm m_ui;
0037     KActionCollection *m_actionCollection;
0038 };
0039 
0040 } // namespace