~ajalkane/ubuntu-filemanager-app/carlos-folderlistmodel-qml-fixes

Viewing all changes in revision 11.

  • Committer: carlos.mazieri at gmail
  • Date: 2013-04-20 18:07:39 UTC
  • Revision ID: carlos.mazieri@gmail.com-20130420180739-9z0bpzs5y2yw0qaw
added  Q_PROPERTY(int clipboardUrlsCounter READ getClipboardUrlsCounter NOTIFY clipboardChanged)

added interface with GNOME clipboard it may work with nautilus, it was tested against thunar file manager

Fixed removing directories with hidden files or link to folders, 
         added modelRemoveDirWithHiddenFilesAndLinks() test case in the regression tests.
         added compiler directive DEBUG_REMOVE, making this active every remove result will be displayed

Notes:
         * about signal progress(int curItem, int totalItems, int percent)
                 Action starts    when (currentItem and percent are 0)
                 Action finihes   when (percent == 100)

         added compiler directive SIMULATE_LONG_ACTION it adds a small delay of 100 milliseconds when processing a set of 5 files
         also , the value of 100 milliseconds can be change making SIMULATE_LONG_ACTION=value, Example:
         qmake "DEFINES += SIMULATE_LONG_ACTION" folderlistmodel.pro           adds a 100 milliseconds delay
         qmake "DEFINES += SIMULATE_LONG_ACTION=200" folderlistmodel.pro   adds a 200 milliseconds delay

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: