KBookmarks has a rather large number of dependencies. Direct dependencies are:
- KCoreAddons
- KCodecs
- KConfig
- KConfigWidgets
- KXmlGui
Getting rid of KXmlGui would help getting rid of a lot of indirect dependencies and cut a large branch of KIO's dependency tree.
KXmlGui is used in KBookmarkMenu and KonqBookmarkmenu for KActionCollection only.
Konqbookmarkmenu is only used in Konqueror where, judging by the name, it should live anyway.
KBookmarkMenu needs a complete rewrite.
Maybe an (internal) split into KBookmarksCore and KBookMarkWidgets could make sense