1
0
mirror of https://invent.kde.org/system/dolphin synced 2024-07-07 20:07:34 +00:00
Commit Graph

10 Commits

Author SHA1 Message Date
Méven Car
cff402356e DolphinPlacesModel: remove usage of alternativeApplicationName
This is now not needed anymore since `PlacesItemModel::cleanupBookmarks` (now removed) from https://phabricator.kde.org/D9333 has run for on users systems.
2023-09-30 07:15:18 +00:00
Friedrich W. H. Kossebau
ed2d352c42 Add explicit moc includes to sources for moc-covered headers
* speeds up incremental builds as changes to a header will not always
  need the full mocs_compilation.cpp for all the target's headers rebuild,
  while having a moc file sourced into a source file only adds minor
  extra costs, due to small own code and the used headers usually
  already covered by the source file, being for the same class/struct
* seems to not slow down clean builds, due to empty mocs_compilation.cpp
  resulting in those quickly processed, while the minor extra cost of the
  sourced moc files does not outweigh that in summary.
  Measured times actually improved by some percent points.
  (ideally CMake would just skip empty mocs_compilation.cpp & its object
  file one day)
* enables compiler to see all methods of a class in same compilation unit
  to do some sanity checks
* potentially more inlining in general, due to more in the compilation unit
* allows to keep using more forward declarations in the header, as with the
  moc code being sourced into the cpp file there definitions can be ensured
  and often are already for the needs of the normal class methods
2023-07-05 07:59:18 +00:00
Serg Podtynnyi
38c34eeca3 Add clang-format and format code as in Frameworks 2023-02-05 12:45:38 +07:00
Laurent Montel
013ca76a31 REmove duplicate header between header/file 2022-05-04 20:54:55 +02:00
Kai Uwe Broulik
0c7f7c92ed [Places Panel] Support drag and drop from Ark
Accepts Ark's special dnd mime types so that archive contents can
be dragged onto a place to extract and/or (mount and) switch to the
hovered location.
2022-04-11 18:01:51 +02:00
Kai Uwe Broulik
0dac70d059 Hide "Places" section header when panels are unlocked
Avoids showing "Places" twice.
2022-02-05 22:18:28 +00:00
Kai Uwe Broulik
f645e6b4b2 Store model as a DolphinPlacesModel
Because that's what it is. It's a subclass anyway but saves us some
casts in the future.
2022-02-05 22:18:28 +00:00
Kai Uwe Broulik
0603e18cd4 Port back to KFilePlacesView
This removes the custom-view engine version of the places panel
and replaces it with the upstream `KFilePlacesView` from KIO.
2022-01-09 18:09:10 +01:00
Elvis Angelaccio
954e8c4790 Output of licensedigger + manual cleanup afterwards.
Unfortunately licensedigger does not strip the trailing * characters.
While at it, use a common style for all source files.
2020-08-25 17:07:38 +00:00
Kai Uwe Broulik
7cee23157f Introduce singleton for KFilePlacesModel
There are various places where Dolphin created a new KFilePlacesModel which would then query all storage devices and do other expensive work.

Differential Revision: https://phabricator.kde.org/D11283
2018-03-19 09:57:24 +01:00