isExecutableFile is a useful function independent of KRun. Move it here so it can be used without pulling in all of KRun
Details
Details
Diff Detail
Diff Detail
- Repository
- R244 KCoreAddons
- Branch
- exefile
- Lint
No Linters Available - Unit
No Unit Test Coverage - Build Status
Buildable 14350 Build 14368: arc lint + arc unit
Comment Actions
I started to write a KIO::OpenUrlJob, as a core-only version of KRun. I think this method actually belongs there, because it means "can be executed by KRun" (or soon OpenUrlJob).
In isolation I don't think this method is useful. I looked at all users of this method on lxr.kde.org and they all check this in connection with KRun.
With this in mind, is there still a good reason to move it to kfileutils?
src/lib/io/kfileutils.h | ||
---|---|---|
48 | Please remove the docu starting from this line to the end (i.e. 48-52), it describes KDE3 mimetype desktop files... |