kdeconnect-kde/core/backends/pairinghandler.cpp
2020-08-17 09:48:10 +00:00

26 lines
486 B
C++

/**
* SPDX-FileCopyrightText: 2015 Albert Vaca Cintora <albertvaka@gmail.com>
*
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
*/
#include "pairinghandler.h"
PairingHandler::PairingHandler(DeviceLink* parent)
: QObject(parent)
, m_deviceLink(parent)
{
}
void PairingHandler::setDeviceLink(DeviceLink* dl)
{
setParent(dl);
m_deviceLink = dl;
}
DeviceLink* PairingHandler::deviceLink() const
{
return m_deviceLink;
}