Obsolete Members for KSycoca

The following members of class KSycoca are deprecated. They are provided to keep old source code working. We strongly advise against using them in new code.

Static Public Members

(since 6.0, deprecated in 6.29) void setupTestMenu()

Member Function Documentation

[static, since 6.0, deprecated in 6.29] void KSycoca::setupTestMenu()

This function is deprecated since 6.29. We strongly advise against using it in new code.

Sets up a minimal applications.menu file in the appropriate location.

This is useful when writing unit tests that interact with KService.

You should call QStandardPaths::setTestModeEnabled(true) before calling this.

Unused

This function was introduced in 6.0.