kdeconnect-kde/core/backends/pairinghandler.cpp

27 lines
486 B
C++
Raw Normal View History

2015-07-05 14:23:53 +01:00
/**
* SPDX-FileCopyrightText: 2015 Albert Vaca Cintora <albertvaka@gmail.com>
2015-07-05 14:23:53 +01:00
*
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
2015-07-05 14:23:53 +01:00
*/
#include "pairinghandler.h"
2015-12-01 18:45:14 +00:00
PairingHandler::PairingHandler(DeviceLink* parent)
: QObject(parent)
, m_deviceLink(parent)
{
2015-11-30 18:36:01 +00:00
}
void PairingHandler::setDeviceLink(DeviceLink* dl)
{
2015-12-01 18:45:14 +00:00
setParent(dl);
2015-07-27 16:28:58 +01:00
m_deviceLink = dl;
}
2015-12-01 15:25:34 +00:00
DeviceLink* PairingHandler::deviceLink() const
{
return m_deviceLink;
}