kwin/effects/resize/resize_config.h
2020-08-07 19:57:56 +00:00

43 lines
789 B
C++

/*
KWin - the KDE window manager
This file is part of the KDE project.
SPDX-FileCopyrightText: 2010 Martin Gräßlin <mgraesslin@kde.org>
SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef KWIN_RESIZE_CONFIG_H
#define KWIN_RESIZE_CONFIG_H
#include <kcmodule.h>
#include "ui_resize_config.h"
namespace KWin
{
class ResizeEffectConfigForm : public QWidget, public Ui::ResizeEffectConfigForm
{
Q_OBJECT
public:
explicit ResizeEffectConfigForm(QWidget* parent = nullptr);
};
class ResizeEffectConfig : public KCModule
{
Q_OBJECT
public:
explicit ResizeEffectConfig(QWidget* parent = nullptr, const QVariantList& args = QVariantList());
public Q_SLOTS:
void save() override;
private:
ResizeEffectConfigForm* m_ui;
};
} // namespace
#endif