Commit graph

8 commits

Author SHA1 Message Date
Ivailo Monev
7394efdc83 kfile: KFilePlacesItem optimizations
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-06-12 22:02:10 +03:00
Ivailo Monev
a05e71695c kfile: drop support for reading bookmarks from user-places.xbel
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-06-08 14:32:21 +03:00
Ivailo Monev
9e554f60fa generic: add new signal to solid device manager
its use case is shown in KFilePlacesModel, basically when a CD-ROM is
ejected it will be removed from the items in the model and when disc is
inserted item for it will be added to the model. Dolphin and Plasma require
changes of their own for this behaviour to be consistent across
applications

naming the method after OpticalDisc::availableContent(), have in mind it
should work when a disc is erased and written to for example or when a
device is formatted and no longer has filesystem which has not been tested
but in theory should work. may need additional checks for encrypted device
but that can be done in the future

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-06-10 02:15:42 +03:00
Ivailo Monev
842de7a83f generic: handle optical drive/disc as block devices
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-06-09 12:43:00 +03:00
Ivailo Monev
82fc15f54b generic: use CMake moc instead of automoc4 by default
for compatibilty reasons automoc4 support is not removed but it
shall be in the future. automoc4 has not been maintained for a
while (last commit is from 2011) and the stable release is from
2009.

CMake version >= 2.8.6 provides the functionality for mocking so
I see no reason to not make use of it.
2015-02-27 07:40:26 +00:00
Ivailo Monev
3f0dd268de remove win and mac cruft 2014-11-27 18:22:42 +00:00
Ivailo Monev
b99fa1400b more windows code remove 2014-11-19 15:19:19 +00:00
Ivailo Monev
814163a8dc initial import 2014-11-13 01:04:59 +02:00