Review Request: Add isInUse() method to StorageDrive interface

Jacopo De Simoi wilderkde at
Wed Nov 10 14:57:02 GMT 2010

This is an automatically generated e-mail. To reply, visit:

(Updated 2010-11-10 14:57:02.366292)

Review request for kdelibs, Will Stephenson and Kevin Ottens.


Reverse logic, now we have a method isInUse, as suggested by wstephenson.

Summary (updated)

This patch adds a isInUse() method in the StorageDrive interface. 
The usecase for this are applications that need to know if it is possible to safely unplug a device by checking that the isInUse() property on the parent drive is false.

Diffs (updated)

  trunk/KDE/kdelibs/solid/solid/storagedrive.h 1195159 
  trunk/KDE/kdelibs/solid/solid/storagedrive.cpp 1195159 





-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the kde-core-devel mailing list