1/*
2 * BluezQt - Asynchronous BlueZ wrapper library
3 *
4 * SPDX-FileCopyrightText: 2015 David Rosca <nowrep@gmail.com>
5 *
6 * SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
7 */
8
9#include "declarativeinput.h"
10
11DeclarativeInput::DeclarativeInput(const BluezQt::InputPtr &input, QObject *parent)
12 : QObject(parent)
13 , m_input(input)
14{
15 connect(sender: m_input.data(), signal: &BluezQt::Input::reconnectModeChanged, context: this, slot: &DeclarativeInput::reconnectModeChanged);
16}
17
18BluezQt::Input::ReconnectMode DeclarativeInput::reconnectMode() const
19{
20 return m_input->reconnectMode();
21}
22
23#include "moc_declarativeinput.cpp"
24

source code of bluez-qt/src/imports/declarativeinput.cpp