~carlos-mazieri/ubuntu-filemanager-app/samba-actions-04

« back to all changes in this revision

Viewing changes to src/plugin/folderlistmodel/dirmodel.h

  • Committer: carlos-mazieri
  • Date: 2015-07-13 17:29:25 UTC
  • Revision ID: carlos.mazieri@gmail.com-20150713172925-sezvuzewvs9h9qr4
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 FileSystemAction::removed(QString)
   * Removed slots   DirModel::onItemAdded(QString) and DirModel::onItemRemoved(QString)

FileSystemAction::isThereDiskSpace() was removed and Location::isThereDiskSpace() is used.

Show diffs side-by-side

added added

removed removed

Lines of Context:
461
461
    void     clipboardChanged();
462
462
    void     enabledExternalFSWatcherChanged(bool);
463
463
 
464
 
private slots:
465
 
    void onItemRemoved(const QString&);
466
 
    void onItemRemoved(const DirItemInfo&);
467
 
    void onItemAdded(const QString&);
 
464
private slots:    
 
465
    void onItemRemoved(const DirItemInfo&);  
468
466
    void onItemAdded(const DirItemInfo&);
469
467
    void onItemChanged(const DirItemInfo&);
470
468