mirror of
https://github.com/KDE/krfb
synced 2026-07-01 07:41:17 -07:00
30 lines
542 B
C++
30 lines
542 B
C++
/*
|
|
This file is part of the KDE project
|
|
|
|
SPDX-FileCopyrightText: 2018-2019 Jan Grulich <jgrulich@redhat.com>
|
|
|
|
SPDX-License-Identifier: GPL-2.0-or-later
|
|
*/
|
|
|
|
#include "xdpeventsplugin.h"
|
|
|
|
#include "xdpevents.h"
|
|
|
|
#include <KPluginFactory>
|
|
|
|
K_PLUGIN_CLASS(XdpEventsPlugin)
|
|
|
|
XdpEventsPlugin::XdpEventsPlugin(QObject *parent, const QVariantList &args)
|
|
: EventsPlugin(parent, args)
|
|
{
|
|
}
|
|
|
|
EventHandler *XdpEventsPlugin::eventHandler()
|
|
{
|
|
// works only under Wayland
|
|
return new XdpEventHandler();
|
|
}
|
|
|
|
#include "xdpeventsplugin.moc"
|
|
|