Summary: | extend kfiledialog: syntax to make it more useful for saving | ||
---|---|---|---|
Product: | [Unmaintained] kfile | Reporter: | Jonathan Marten <jjm> |
Component: | general | Assignee: | kdelibs bugs <kdelibs-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | wishlist | CC: | aacid |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
Patch to KFileWidget
Updated patch |
Description
Jonathan Marten
2009-03-05 16:29:06 UTC
Created attachment 31800 [details]
Patch to KFileWidget
Proposed patch. Tested against current trunk with both modified and unmodified applications.
Created attachment 31989 [details] Updated patch Patch updated in accordance with comments at http://lists.kde.org/?l=kde-core-devel&m=123655642309183&w=2 API documentation updated for KFileDialog and KFileWidget. Test cases added in kio/kfile/tests. Jonathan you don't seem to have commited the code yet, right? dfaure gave you a green light @aacid: Sorry, have been away on holiday. Will commit as soon as my copy of trunk is up-to-date... SVN commit 951469 by marten: Extend the file selector's "kfiledialog:" URL syntax to allow both a starting directory keyword and a suggested file name to be specified, in the form "kfiledialog:///keyword/filename" or "kfiledialog:///keyword/filename?global". Useful for saving, as otherwise there was no way to specify both using the static get Save*() functions. Updated API documentation for KFileDialog and KFileWidget to reflect this. Patch reviewed by aacid and David Faure. BUG:186230 M +70 -18 kfile/kfilewidget.cpp M +54 -16 kfile/kfilewidget.h M +1 -1 kio/kfile/kfiledialog.cpp M +62 -115 kio/kfile/kfiledialog.h M +11 -1 kio/kfile/tests/kfiledialogtest.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=951469 |