| 1 |
.. module:: xdg.RecentFiles |
| 2 |
|
| 3 |
Recently used files |
| 4 |
=================== |
| 5 |
|
| 6 |
`XDG recent file storage specification <http://standards.freedesktop.org/recent-file-spec/recent-file-spec-latest.html>`_ |
| 7 |
|
| 8 |
.. autoclass:: RecentFiles |
| 9 |
:members: parse, write, getFiles, addFile, deleteFile |
| 10 |
|
| 11 |
.. class:: RecentFile |
| 12 |
|
| 13 |
.. attribute:: URI |
| 14 |
|
| 15 |
The URI of the file; typically starts with ``file:///``. |
| 16 |
|
| 17 |
.. attribute:: MimeType |
| 18 |
|
| 19 |
A Mime type, such as 'text/plain'. |
| 20 |
|
| 21 |
.. attribute:: Timestamp |
| 22 |
|
| 23 |
Unix timestamp of when the file was added to the list. |
| 24 |
|
| 25 |
.. attribute:: Private |
| 26 |
|
| 27 |
Boolean indicating whether the entry is private, meaning that it will only |
| 28 |
be shown if it is in a selected group. |
| 29 |
|
| 30 |
.. attribute:: Groups |
| 31 |
|
| 32 |
A list of groups this entry belongs to. |