KWin
Loading...
Searching...
No Matches
trackmouse_config.h
Go to the documentation of this file.
1/*
2 KWin - the KDE window manager
3 This file is part of the KDE project.
4
5 SPDX-FileCopyrightText: 2007 Rivo Laks <rivolaks@hot.ee>
6 SPDX-FileCopyrightText: 2010 Jorge Mata <matamax123@gmail.com>
7
8 SPDX-License-Identifier: GPL-2.0-or-later
9*/
10
11#pragma once
12
13#include <kcmodule.h>
14
15#include "ui_trackmouse_config.h"
16
17class KActionCollection;
18
19namespace KWin
20{
21class TrackMouseEffectConfig : public KCModule
22{
23 Q_OBJECT
24public:
25 explicit TrackMouseEffectConfig(QObject *parent, const KPluginMetaData &data);
26 ~TrackMouseEffectConfig() override;
27
28public Q_SLOTS:
29 void save() override;
30 void load() override;
31 void defaults() override;
32private Q_SLOTS:
33 void shortcutChanged(const QKeySequence &seq);
34
35private:
36 Ui::TrackMouseEffectConfigForm m_ui;
37 KActionCollection *m_actionCollection;
38};
39
40} // namespace
TrackMouseEffectConfig(QObject *parent, const KPluginMetaData &data)