3
0
mirror of https://github.com/Qortal/Brooklyn.git synced 2025-02-22 07:05:54 +00:00
Brooklyn/plasma/kcms/touchpad/applet/touchpadengine.h
Scare Crowe d2ebfd0519 QortalOS Titan 5.60.12
Screw the description like that inbred T3Q
2022-03-05 21:17:59 +05:00

35 lines
724 B
C++

/*
SPDX-FileCopyrightText: 2013 Alexander Mezin <mezin.alexander@gmail.com>
SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef TOUCHPADENGINE_H
#define TOUCHPADENGINE_H
#include <Plasma/DataEngine>
class OrgKdeTouchpadInterface;
class TouchpadEngine : public Plasma::DataEngine
{
Q_OBJECT
public:
TouchpadEngine(QObject *parent, const QVariantList &args);
~TouchpadEngine();
Plasma::Service *serviceForSource(const QString &source) override;
private Q_SLOTS:
void workingTouchpadFoundChanged(bool);
void mousePluggedInChanged(bool);
void enabledChanged(bool);
private:
void init();
QString m_source;
OrgKdeTouchpadInterface *m_daemon;
};
#endif // TOUCHPADENGINE_H