3
0
mirror of https://github.com/Qortal/Brooklyn.git synced 2025-02-15 11:45:54 +00:00
Brooklyn/plasma/kcms/mouse/kcm/configplugin.h

47 lines
717 B
C
Raw Normal View History

/*
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