File indexing completed on 2025-01-19 12:42:13
0001 /* 0002 * BluezQt - Asynchronous BlueZ wrapper library 0003 * 0004 * SPDX-FileCopyrightText: 2015 David Rosca <nowrep@gmail.com> 0005 * 0006 * SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL 0007 */ 0008 0009 #include "declarativeinput.h" 0010 0011 DeclarativeInput::DeclarativeInput(const BluezQt::InputPtr &input, QObject *parent) 0012 : QObject(parent) 0013 , m_input(input) 0014 { 0015 connect(m_input.data(), &BluezQt::Input::reconnectModeChanged, this, &DeclarativeInput::reconnectModeChanged); 0016 } 0017 0018 BluezQt::Input::ReconnectMode DeclarativeInput::reconnectMode() const 0019 { 0020 return m_input->reconnectMode(); 0021 } 0022 0023 #include "moc_declarativeinput.cpp"