\r
public class NoteSortFilterProxyModel extends QSortFilterProxyModel {\r
private final Map<String,String> guids;\r
- private String dateFormat;\r
\r
public NoteSortFilterProxyModel(QObject parent) {\r
super(parent);\r
guids = new HashMap<String,String>();\r
- dateFormat = Global.getDateFormat() + " " + Global.getTimeFormat();\r
setDynamicSortFilter(true);\r
// logger = new ApplicationLogger("filter.log");\r
}\r
guids.put(guid, null);\r
}\r
public void filter() {\r
- dateFormat = Global.getDateFormat() + " " + Global.getTimeFormat();\r
invalidateFilter();\r
}\r
@Override\r