Revision 704381b...

Go back to digest for 6th February 2011

Features in Utilities

Mario Bensi committed changes in [zanshin] /:

Implement the dnd on projects

Now we can dnd the projects in the same collection or between two differents collections.

- Add onRowsAboutToBeMoved in TodoProxyModelBase and forward call to onSourceRemoveRows.
- Add onRowsMoved in TodoProxyModelBase and forward call to onSourceInsertRows.
- Add moveChildTodo to create the nodes for the children of moved
project in the destination and remove the old nodes.

File Changes

Modified 5 files
  •   src/todohelpers.cpp
  •   src/todoproxymodelbase.cpp
  •   src/todoproxymodelbase.h
  •   src/todotreemodel.cpp
  •   src/todotreemodel.h
5 files changed in total