45 lines
903 B
C++
45 lines
903 B
C++
/*
|
|
KWin - the KDE window manager
|
|
This file is part of the KDE project.
|
|
|
|
SPDX-FileCopyrightText: 2012 Filip Wieladek <wattos@gmail.com>
|
|
|
|
SPDX-License-Identifier: GPL-2.0-or-later
|
|
*/
|
|
|
|
#ifndef KWIN_MOUSECLICK_CONFIG_H
|
|
#define KWIN_MOUSECLICK_CONFIG_H
|
|
|
|
#include <kcmodule.h>
|
|
|
|
#include "ui_mouseclick_config.h"
|
|
|
|
class KActionCollection;
|
|
|
|
namespace KWin
|
|
{
|
|
|
|
class MouseClickEffectConfigForm : public QWidget, public Ui::MouseClickEffectConfigForm
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
explicit MouseClickEffectConfigForm(QWidget* parent);
|
|
};
|
|
|
|
class MouseClickEffectConfig : public KCModule
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
explicit MouseClickEffectConfig(QWidget* parent = nullptr, const QVariantList& args = QVariantList());
|
|
~MouseClickEffectConfig() override;
|
|
|
|
void save() override;
|
|
|
|
private:
|
|
MouseClickEffectConfigForm* m_ui;
|
|
KActionCollection* m_actionCollection;
|
|
};
|
|
|
|
} // namespace
|
|
|
|
#endif
|