kdeconnect-kde/core/backends/pairinghandler.cpp

25 lines
483 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"
PairingHandler::PairingHandler(DeviceLink *parent)
2015-12-01 18:45:14 +00:00
: QObject(parent)
, m_deviceLink(parent)
{
}
void PairingHandler::setDeviceLink(DeviceLink *dl)
{
2015-12-01 18:45:14 +00:00
setParent(dl);
m_deviceLink = dl;
}
DeviceLink *PairingHandler::deviceLink() const
2015-12-01 15:25:34 +00:00
{
return m_deviceLink;
}