2020-08-02 22:22:19 +00:00
|
|
|
/*
|
|
|
|
KWin - the KDE window manager
|
|
|
|
This file is part of the KDE project.
|
2017-10-06 19:22:50 +00:00
|
|
|
|
2020-08-02 22:22:19 +00:00
|
|
|
SPDX-FileCopyrightText: 2017 Martin Flöser <mgraesslin@kde.org>
|
2017-10-06 19:22:50 +00:00
|
|
|
|
2020-08-02 22:22:19 +00:00
|
|
|
SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
*/
|
2017-10-06 19:22:50 +00:00
|
|
|
#include "virtualkeyboard_dbus.h"
|
|
|
|
#include <QDBusConnection>
|
|
|
|
|
|
|
|
namespace KWin
|
|
|
|
{
|
|
|
|
|
|
|
|
VirtualKeyboardDBus::VirtualKeyboardDBus(QObject *parent)
|
|
|
|
: QObject(parent)
|
|
|
|
{
|
|
|
|
QDBusConnection::sessionBus().registerObject(QStringLiteral("/VirtualKeyboard"), this,
|
|
|
|
QDBusConnection::ExportAllInvokables |
|
|
|
|
QDBusConnection::ExportScriptableSignals |
|
|
|
|
QDBusConnection::ExportAllSlots);
|
|
|
|
}
|
|
|
|
|
|
|
|
VirtualKeyboardDBus::~VirtualKeyboardDBus() = default;
|
|
|
|
|
|
|
|
}
|