Solid
dvbinterface.cpp
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 #include "dvbinterface.h"
00021 #include "dvbinterface_p.h"
00022
00023 #include "soliddefs_p.h"
00024 #include <solid/ifaces/dvbinterface.h>
00025
00026 Solid::DvbInterface::DvbInterface(QObject *backendObject)
00027 : DeviceInterface(*new DvbInterfacePrivate(), backendObject)
00028 {
00029 }
00030
00031 Solid::DvbInterface::~DvbInterface()
00032 {
00033
00034 }
00035
00036 QString Solid::DvbInterface::device() const
00037 {
00038 Q_D(const DvbInterface);
00039 return_SOLID_CALL(Ifaces::DvbInterface *, d->backendObject(), QString(), device());
00040 }
00041
00042 int Solid::DvbInterface::deviceAdapter() const
00043 {
00044 Q_D(const DvbInterface);
00045 return_SOLID_CALL(Ifaces::DvbInterface *, d->backendObject(), -1, deviceAdapter());
00046 }
00047
00048 Solid::DvbInterface::DeviceType Solid::DvbInterface::deviceType() const
00049 {
00050 Q_D(const DvbInterface);
00051 return_SOLID_CALL(Ifaces::DvbInterface *, d->backendObject(), DvbUnknown, deviceType());
00052 }
00053
00054 int Solid::DvbInterface::deviceIndex() const
00055 {
00056 Q_D(const DvbInterface);
00057 return_SOLID_CALL(Ifaces::DvbInterface *, d->backendObject(), -1, deviceIndex());
00058 }
00059
00060 #include "dvbinterface.moc"