Solid
video.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #ifndef SOLID_VIDEO_H
00022 #define SOLID_VIDEO_H
00023
00024 #include <solid/solid_export.h>
00025
00026 #include <solid/deviceinterface.h>
00027
00028 #include <QtCore/QStringList>
00029 #include <QtCore/QVariant>
00030
00031 namespace Solid
00032 {
00033 class VideoPrivate;
00034 class Device;
00035
00043 class SOLID_EXPORT Video : public DeviceInterface
00044 {
00045 Q_OBJECT
00046 Q_DECLARE_PRIVATE(Video)
00047 Q_PROPERTY(QStringList supportedDrivers READ supportedDrivers)
00048 friend class Device;
00049
00050 private:
00059 explicit Video(QObject *backendObject);
00060
00061 public:
00065 virtual ~Video();
00066
00067
00074 static Type deviceInterfaceType() { return DeviceInterface::Video; }
00075
00082 QStringList supportedProtocols() const;
00083
00092 QStringList supportedDrivers(QString protocol = QString()) const;
00093
00102 QVariant driverHandle(const QString &driver) const;
00103 };
00104 }
00105
00106 #endif