https://bugs.kde.org/show_bug.cgi?id=157040

--- Comment #9 from Harald Sitter <sit...@kde.org> ---
Yes it'd work fine. The lambda is part of KIO's library in that scenario. You'd
essentially pass a glorified function pointer to KCoreAddons. KCA doesn't need
to know anything about it other than what address to call with what kind of
arguments. You can also think of the lambda as a class StatInterface that is
pure virtual within KCA and implemented in KIO and then passed as a pointer to
KCA. KCA knows how to deal with a StatInterface, the specifics of how that
StatInterface is implemented is of no importance.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to