Search for usage in LXR

Solid::Ifaces::Camera Class Referenceabstract

#include <camera.h>

Inheritance diagram for Solid::Ifaces::Camera:

Public Member Functions

 ~Camera () override
virtual QVariant driverHandle (const QString &driver) const =0
virtual QStringList supportedDrivers (QString protocol=QString()) const =0
virtual QStringList supportedProtocols () const =0
- Public Member Functions inherited from Solid::Ifaces::DeviceInterface
virtual ~DeviceInterface ()

Detailed Description

This device interface is available on digital camera devices.

A digital camera is a device used to transform images into data. Nowaday most digital cameras are multifunctional and able to take photographs, video or sound. On the system side they are a particular type of device holding data, the access method can be different from the typical storage device, hence why it's a separate device interface.

Definition at line 28 of file ifaces/camera.h.

Constructor & Destructor Documentation

◆ ~Camera()

Solid::Ifaces::Camera::~Camera ( )

Destroys a Camera object.

Definition at line 9 of file ifaces/camera.cpp.

Member Function Documentation

◆ driverHandle()

virtual QVariant Solid::Ifaces::Camera::driverHandle ( const QString & driver) const
pure virtual

Retrieves a driver specific string allowing to access the device.

For example for the "gphoto" driver it will return a list of the form '("usb", vendor_id, product_id)'.

the driver specific data

◆ supportedDrivers()

virtual QStringList Solid::Ifaces::Camera::supportedDrivers ( QString protocol = QString()) const
pure virtual

Retrieves known installed device drivers that claim to handle this device using the requested protocol.

protocolThe protocol to get drivers for.
a list of known device drivers that can handle this device

◆ supportedProtocols()

virtual QStringList Solid::Ifaces::Camera::supportedProtocols ( ) const
pure virtual

Retrieves known protocols this device can speak.

This list may be dependent on installed device driver libraries.

a list of known protocols this device can speak

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 Fri May 17 2024 11:53:48 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.