mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-23 18:32:49 +00:00
solid: remove unused Solid::Backends::UDev::UDevDevice::device() method
return the same as Solid::Backends::UDev::UDevDevice::devicePath() too Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
d519e61cb5
commit
2da2e7ddb6
3 changed files with 0 additions and 12 deletions
|
@ -661,11 +661,6 @@ QObject *UDevDevice::createDeviceInterface(const Solid::DeviceInterface::Type &t
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
QString UDevDevice::device() const
|
|
||||||
{
|
|
||||||
return devicePath();
|
|
||||||
}
|
|
||||||
|
|
||||||
QString UDevDevice::deviceProperty(const QByteArray &key) const
|
QString UDevDevice::deviceProperty(const QByteArray &key) const
|
||||||
{
|
{
|
||||||
const QString res = m_device.deviceProperty(key);
|
const QString res = m_device.deviceProperty(key);
|
||||||
|
|
|
@ -51,7 +51,6 @@ public:
|
||||||
virtual bool queryDeviceInterface(const Solid::DeviceInterface::Type &type) const;
|
virtual bool queryDeviceInterface(const Solid::DeviceInterface::Type &type) const;
|
||||||
virtual QObject *createDeviceInterface(const Solid::DeviceInterface::Type &type);
|
virtual QObject *createDeviceInterface(const Solid::DeviceInterface::Type &type);
|
||||||
|
|
||||||
QString device() const;
|
|
||||||
QString deviceProperty(const QByteArray &key) const;
|
QString deviceProperty(const QByteArray &key) const;
|
||||||
bool devicePropertyExists(const QByteArray &key) const;
|
bool devicePropertyExists(const QByteArray &key) const;
|
||||||
QString deviceName() const;
|
QString deviceName() const;
|
||||||
|
|
|
@ -112,8 +112,6 @@ namespace Solid
|
||||||
*/
|
*/
|
||||||
~Device();
|
~Device();
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Assigns a device to this device and returns a reference to it.
|
* Assigns a device to this device and returns a reference to it.
|
||||||
*
|
*
|
||||||
|
@ -130,7 +128,6 @@ namespace Solid
|
||||||
*/
|
*/
|
||||||
bool isValid() const;
|
bool isValid() const;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Retrieves the Universal Device Identifier (UDI).
|
* Retrieves the Universal Device Identifier (UDI).
|
||||||
*
|
*
|
||||||
|
@ -153,7 +150,6 @@ namespace Solid
|
||||||
*/
|
*/
|
||||||
QString parentUdi() const;
|
QString parentUdi() const;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Retrieves the parent of the Device.
|
* Retrieves the parent of the Device.
|
||||||
*
|
*
|
||||||
|
@ -162,8 +158,6 @@ namespace Solid
|
||||||
*/
|
*/
|
||||||
Device parent() const;
|
Device parent() const;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Retrieves the name of the device vendor.
|
* Retrieves the name of the device vendor.
|
||||||
*
|
*
|
||||||
|
|
Loading…
Add table
Reference in a new issue