hakaishi / nobleNote

Program to make and manage notes
Other
30 stars 4 forks source link

create a common interface for history, trash and findfilemodel model classes #135

Closed nebomuk closed 11 years ago

nebomuk commented 12 years ago

since all three classes are based on QStandardItemModel but need additional methods usually found in QFileSystemModel such as remove, filePath, fileName etc. they should share a common interface.

Should the history directly work on the files? e.g. if a history entry is removed, should the corresponding file also removed?

hakaishi commented 12 years ago

I don't think that it is a good idea to be able to remove files from the history or trash. And I also don't think that it is a good idea to use the qlistviews for the trash, because there will be no preview. And how do you decide what files should be removed or restored? To remove or restore the notes via a context menu is a bit...

nebomuk commented 11 years ago

the trash ist already working well therefore won't be changed