File indexing completed on 2024-05-19 04:44:47

0001 /*
0002  * SPDX-FileCopyrightText: 2022 Alexander Stippich <a.stippich@gmx.net>
0003  *
0004  * SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
0005  */
0006 
0007 #include "deviceinformation.h"
0008 #include "deviceinformation_p.h"
0009 
0010 namespace KSaneCore
0011 {
0012 
0013 DeviceInformation::DeviceInformation() : d(std::make_unique<DeviceInformationPrivate>())
0014 {
0015 }
0016 
0017 DeviceInformation::~DeviceInformation() = default;
0018 
0019 QString DeviceInformation::name() const
0020 {
0021     return d->name;
0022 }
0023 
0024 QString DeviceInformation::vendor() const
0025 {
0026     return d->vendor;
0027 }
0028 
0029 QString DeviceInformation::model() const
0030 {
0031     return d->model;
0032 }
0033 
0034 QString DeviceInformation::type() const
0035 {
0036     return d->type;
0037 }
0038 
0039 } // namespace KSaneCore