KSaneCore::DeviceInformation
#include <deviceinformation.h>
Public Member Functions | |
QString | model () const |
QString | name () const |
QString | type () const |
QString | vendor () const |
Protected Attributes | |
std::unique_ptr< KSaneCore::DeviceInformationPrivate > | d |
Detailed Description
A wrapper class providing access to the internal information of the scanner device provided by SANE.
Definition at line 26 of file deviceinformation.h.
Constructor & Destructor Documentation
◆ DeviceInformation()
|
explicit |
Definition at line 13 of file deviceinformation.cpp.
Member Function Documentation
◆ model()
QString KSaneCore::DeviceInformation::model | ( | ) | const |
This function returns the device vendor string of the scanner device.
- Returns
- the device model name
Definition at line 29 of file deviceinformation.cpp.
◆ name()
QString KSaneCore::DeviceInformation::name | ( | ) | const |
This function returns a unique device name for the scanner device.
- Returns
- the unique device name name
Definition at line 19 of file deviceinformation.cpp.
◆ type()
QString KSaneCore::DeviceInformation::type | ( | ) | const |
This function returns the device type (e.g., "flatbed scanner")
- Returns
- the device type
Definition at line 34 of file deviceinformation.cpp.
◆ vendor()
QString KSaneCore::DeviceInformation::vendor | ( | ) | const |
This function returns the device vendor string of the scanner device.
- Returns
- the device vendor string
Definition at line 24 of file deviceinformation.cpp.
Member Data Documentation
◆ d
|
protected |
Definition at line 50 of file deviceinformation.h.
The documentation for this class was generated from the following files:
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.