This is a copy of KIO::suggestName. It doesn't use anything from KIO in its implementation and this patch enables to use it without pulling in all the baggage that comes with KIO
Details
Details
- Reviewers
dfaure - Commits
- R244:03b9bdee4f52: Add function to suggest a unique filename
Port the one use in KDE Connect to it
Diff Detail
Diff Detail
- Repository
- R244 KCoreAddons
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Comment Actions
Please "move" (copy) the autotest as well, see kio/autotests/globaltest.cpp
Typo in the commit log: s/it's/its/
autotests/kfileutilstest.cpp | ||
---|---|---|
3 | Liar :-) I wrote the first version of this test method. | |
src/lib/io/kfileutils.cpp | ||
3 | ditto | |
65 | You can remove this TODO. By moving this code to KCoreAddons we are finally closing the lid on this TODO. |