KSaneCore

deviceinformation.cpp
1/*
2 * SPDX-FileCopyrightText: 2022 Alexander Stippich <a.stippich@gmx.net>
3 *
4 * SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
5 */
6
7#include "deviceinformation.h"
8#include "deviceinformation_p.h"
9
10namespace KSaneCore
11{
12
13DeviceInformation::DeviceInformation() : d(std::make_unique<DeviceInformationPrivate>())
14{
15}
16
17DeviceInformation::~DeviceInformation() = default;
18
19QString DeviceInformation::name() const
20{
21 return d->name;
22}
23
24QString DeviceInformation::vendor() const
25{
26 return d->vendor;
27}
28
29QString DeviceInformation::model() const
30{
31 return d->model;
32}
33
34QString DeviceInformation::type() const
35{
36 return d->type;
37}
38
39} // namespace KSaneCore
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 20 2024 11:57:02 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.