3
0
mirror of https://github.com/Qortal/Brooklyn.git synced 2025-02-14 19:25:53 +00:00
Brooklyn/plasma/kcms/mouse/kcm/configplugin.h
Scare Crowe d2ebfd0519 QortalOS Titan 5.60.12
Screw the description like that inbred T3Q
2022-03-05 21:17:59 +05:00

47 lines
717 B
C++

/*
SPDX-FileCopyrightText: 2018 Roman Gilg <subdiff@gmail.com>
SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef CONFIGPLUGIN_H
#define CONFIGPLUGIN_H
#include <QWidget>
class ConfigContainer;
class InputBackend;
class ConfigPlugin : public QWidget
{
Q_OBJECT
public:
static ConfigPlugin *implementation(ConfigContainer *parent);
explicit ConfigPlugin(ConfigContainer *parent);
virtual ~ConfigPlugin()
{
}
virtual void load()
{
}
virtual void save()
{
}
virtual void defaults()
{
}
void hideEvent(QHideEvent *) override
{
}
protected:
ConfigContainer *m_parent;
InputBackend *m_backend;
};
#endif // CONFIGPLUGIN_H