org.kde.koala
public class KRecentDocument extends Object implements QtSupport
UNKNOWN: Manage the "Recent Document Menu" entries displayed by applications such as Kicker and Konqueror.
| Constructor Summary | |
|---|---|
| protected | KRecentDocument(Class dummy) |
| KRecentDocument() | |
| Method Summary | |
|---|---|
| static void | add(KURL url)
Add a new item to the Recent Document menu. |
| static void | add(KURL url, String desktopEntryName)
Add a new item to the Recent Document menu, specifying the application to open it with.
|
| static void | add(String documentStr, boolean isURL)
Add a new item to the Recent Document menu. |
| static void | add(String documentStr) |
| static void | clear()
Clear the recent document menu of all entries. |
| void | dispose() Delete the wrapped C++ instance ahead of finalize() |
| protected void | finalize() Deletes the wrapped C++ instance |
| boolean | isDisposed() Has the wrapped C++ instance been deleted? |
| static int | maximumItems()
Returns the maximum amount of recent document entries allowed. |
| static String | recentDocumentDirectory()
Returns the path to the directory where recent document .desktop files
are stored. |
| static ArrayList | recentDocuments()
Return a list of absolute paths to recent document .desktop files,
sorted by date. |
Parameters: url The url to add.
UNKNOWN: Add a new item to the Recent Document menu.
Parameters: url The url to add. desktopEntryName The desktopEntryName of the service to use for opening this document.
UNKNOWN: Add a new item to the Recent Document menu, specifying the application to open it with.
Parameters: documentStr The full path to the document or URL to add. isURL Set to true if documentStr is an URL and not a local file path.
UNKNOWN:
UNKNOWN: Clear the recent document menu of all entries.
UNKNOWN: Returns the maximum amount of recent document entries allowed.
UNKNOWN: Returns the path to the directory where recent document .
UNKNOWN: