mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-23 10:22:48 +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
|
||||
{
|
||||
const QString res = m_device.deviceProperty(key);
|
||||
|
|
|
@ -51,7 +51,6 @@ public:
|
|||
virtual bool queryDeviceInterface(const Solid::DeviceInterface::Type &type) const;
|
||||
virtual QObject *createDeviceInterface(const Solid::DeviceInterface::Type &type);
|
||||
|
||||
QString device() const;
|
||||
QString deviceProperty(const QByteArray &key) const;
|
||||
bool devicePropertyExists(const QByteArray &key) const;
|
||||
QString deviceName() const;
|
||||
|
|
|
@ -112,8 +112,6 @@ namespace Solid
|
|||
*/
|
||||
~Device();
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Assigns a device to this device and returns a reference to it.
|
||||
*
|
||||
|
@ -130,7 +128,6 @@ namespace Solid
|
|||
*/
|
||||
bool isValid() const;
|
||||
|
||||
|
||||
/**
|
||||
* Retrieves the Universal Device Identifier (UDI).
|
||||
*
|
||||
|
@ -153,7 +150,6 @@ namespace Solid
|
|||
*/
|
||||
QString parentUdi() const;
|
||||
|
||||
|
||||
/**
|
||||
* Retrieves the parent of the Device.
|
||||
*
|
||||
|
@ -162,8 +158,6 @@ namespace Solid
|
|||
*/
|
||||
Device parent() const;
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Retrieves the name of the device vendor.
|
||||
*
|
||||
|
|
Loading…
Add table
Reference in a new issue