KRecentDocument: Remove old file based storage and improvements
Changes:
- Removes support for the KRecentDocument hidden directory and its logic
- Allows to limit the number of elements in the xbel file
- Enforces ignore IgnoreHidden
- Change the default max number of items in history to 300
The constraints are enforced at add time, meaning data added by other libraries (GTK) will not respect those. We still need a daemon to enforce this. This could be the activitymanagerd daemon, that already monitors the xbel file.
Edited by Méven Car