2019-05-20 08:10:30 +02:00
|
|
|
/*
|
|
|
|
|
This file is part of the KDE project
|
|
|
|
|
|
2024-08-08 01:08:31 +02:00
|
|
|
SPDX-FileCopyrightText: 2018-2019 Jan Grulich <jgrulich@redhat.com>
|
|
|
|
|
|
|
|
|
|
SPDX-License-Identifier: GPL-2.0-or-later
|
2019-05-20 08:10:30 +02:00
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#include "xdpeventsplugin.h"
|
|
|
|
|
|
|
|
|
|
#include "xdpevents.h"
|
|
|
|
|
|
|
|
|
|
#include <KPluginFactory>
|
|
|
|
|
|
2022-04-18 21:21:21 +02:00
|
|
|
K_PLUGIN_CLASS(XdpEventsPlugin)
|
2019-05-20 08:10:30 +02:00
|
|
|
|
|
|
|
|
XdpEventsPlugin::XdpEventsPlugin(QObject *parent, const QVariantList &args)
|
|
|
|
|
: EventsPlugin(parent, args)
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
EventHandler *XdpEventsPlugin::eventHandler()
|
|
|
|
|
{
|
|
|
|
|
// works only under Wayland
|
|
|
|
|
return new XdpEventHandler();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#include "xdpeventsplugin.moc"
|
|
|
|
|
|