KSaneCore::DeviceInformation

Search for usage in LXR

KSaneCore::DeviceInformation Class Reference

#include <deviceinformation.h>

Inherited by KSaneCore::InternalDeviceInformation.

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()

KSaneCore::DeviceInformation::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

std::unique_ptr<KSaneCore::DeviceInformationPrivate> KSaneCore::DeviceInformation::d
protected

Definition at line 50 of file deviceinformation.h.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:19:34 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.