Solid::Camera Class
This device interface is available on digital camera devices. More...
- Header:
#include <Solid/Camera> - CMake:
find_package(KF6 REQUIRED COMPONENTS Solid)
target_link_libraries(mytarget PRIVATE KF6::Solid) - Inherits: Solid::DeviceInterface
List of all members, including inherited members
Properties
Public Functions
- QVariant driverHandle(const QString &driver) const
- QStringList supportedDrivers(QString protocol = QString()) const
- QStringList supportedProtocols() const
Static Public Members
Detailed Description
A digital camera is a device used to transform images into data. Nowadays 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.
Property Documentation
[read-only] supportedDrivers : QStringList
Access functions:
QStringListsupportedDrivers(QStringprotocol = QString()) const
[read-only] supportedProtocols : QStringList
Access functions:
QStringListsupportedProtocols() const
Member Function Documentation
[static] Solid::DeviceInterface::Type Camera::deviceInterfaceType()
Returns the Solid::DeviceInterface::Type of the Camera device interface.
See also Solid::DeviceInterface::Type
QVariant Camera::driverHandle(const QString &driver) const
Returns 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)'.
QStringList Camera::supportedDrivers(QString protocol = QString()) const
Returns known installed device drivers that claim to handle this device using the requested protocol.
If protocol is omitted, returns a list of all drivers supporting the device.
Note: Getter function for property supportedDrivers.
QStringList Camera::supportedProtocols() const
Returns known protocols this device supports.
This list may be dependent on installed device driver libraries.
Note: Getter function for property supportedProtocols.