lp:~carlos-mazieri/ubuntu-filemanager-app/samba-actions-09
- Get this branch:
- bzr branch lp:~carlos-mazieri/ubuntu-filemanager-app/samba-actions-09
Branch merges
- Arto Jalkanen: Approve
- Ubuntu Phone Apps Jenkins Bot: Approve (continuous-integration)
-
Diff: 51 lines (+16/-6)1 file modifiedsrc/plugin/folderlistmodel/filesystemaction.cpp (+16/-6)
Branch information
Recent revisions
- 440. By Carlos Jose Mazieri
-
Actions are using LocationItemDir
Iterator instead of Qt QDirIterator object. - 439. By Carlos Jose Mazieri
-
Object LocationItemDir
Iterator is created by Location classes, it will replace Qt Object QDirIterator in Actions. - 438. By Carlos Jose Mazieri
-
Removed unnecessary checks, it is already done in FileSystemActio
n::canMoveItems () and FileSystemActio n::populateEntr y() - 437. By Carlos Jose Mazieri
-
Introduced Location on Actions, every Action will keep its "sourceLocation" and "targetLocation".
It will be possible to distinguish if an Action is performed in Local Disk only or if there is a remote Location involved.
Some DirItemInfo objects are created by respective Locations which items belong to.
- 434. By Carlos Jose Mazieri
-
FileSystemAction needs to interact with Locations, it now depends from LocationsFactory and Locations classes.
The following methods were removed because the Location where the Action was performed needs to create its DirIteminfo for its items:
* Removed signals FileSystemAction::added( QString) and FileSystemActio n::removed( QString)
* Removed slots DirModel::onItemAdded( QString) and DirModel: :onItemRemoved( QString) FileSystemActio
n::isThereDiskS pace() was removed and Location: :isThereDiskSpa ce() is used. - 433. By Carlos Jose Mazieri
-
Removed some QFileInfo dependency because it will not work for remote locations, using class Location instead.
- 432. By Carlos Jose Mazieri
-
Enumerator Locations moved from class LocationsFactory to class Location
Created Location::isThereDiskSpa ce() which by default returns true, all locations can reimplement this method.
Created Location::isRemote( ), Location: :isLocalDisk( ) and Location: :isTrashDisk( ) to handle more locations - 431. By Carlos Jose Mazieri
-
Clipboard now uses LocationURL class to know which URLs are supported by the file manager.
Added LocationURL::supportedURLs( ) LocationURL: :isSupportedUrl ()
When a new protocol is added into the file manager clipboard does not need to change anymore.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:ubuntu-filemanager-app