2015-07-05 14:23:53 +01:00
|
|
|
/**
|
2020-08-17 10:48:10 +01:00
|
|
|
* SPDX-FileCopyrightText: 2015 Albert Vaca Cintora <albertvaka@gmail.com>
|
2015-07-05 14:23:53 +01:00
|
|
|
*
|
2020-08-17 10:48:10 +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"
|
|
|
|
|
2022-09-10 22:23:52 +01:00
|
|
|
PairingHandler::PairingHandler(DeviceLink *parent)
|
2015-12-01 18:45:14 +00:00
|
|
|
: QObject(parent)
|
|
|
|
, m_deviceLink(parent)
|
2015-07-25 12:45:19 +01:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2022-09-10 22:23:52 +01:00
|
|
|
void PairingHandler::setDeviceLink(DeviceLink *dl)
|
2015-07-25 12:45:19 +01:00
|
|
|
{
|
2015-12-01 18:45:14 +00:00
|
|
|
setParent(dl);
|
2022-09-10 22:23:52 +01:00
|
|
|
m_deviceLink = dl;
|
2015-07-25 12:45:19 +01:00
|
|
|
}
|
|
|
|
|
2022-09-10 22:23:52 +01:00
|
|
|
DeviceLink *PairingHandler::deviceLink() const
|
2015-12-01 15:25:34 +00:00
|
|
|
{
|
|
|
|
return m_deviceLink;
|
|
|
|
}
|