Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Network
Konqueror
Commits
2a24aab3
Verified
Commit
2a24aab3
authored
Oct 10, 2021
by
Alexander Lohnau
💬
Browse files
bookmarks kcms: Install in namespace and embed json metadata
parent
e682379e
Changes
2
Hide whitespace changes
Inline
Side-by-side
settings/bookmarks/CMakeLists.txt
View file @
2a24aab3
...
...
@@ -9,13 +9,6 @@ set(kcm_bookmarks_PART_SRCS
ki18n_wrap_ui
(
kcm_bookmarks_PART_SRCS
bookmarks.ui
)
add_library
(
kcm_bookmarks
MODULE
${
kcm_bookmarks_PART_SRCS
}
)
kcoreaddons_add_plugin
(
kcm_bookmarks
SOURCES
${
kcm_bookmarks_PART_SRCS
}
INSTALL_NAMESPACE konqueror_kcms
)
kcoreaddons_desktop_to_json
(
kcm_bookmarks bookmarks.desktop
)
target_link_libraries
(
kcm_bookmarks KF5::KCMUtils KF5::KIOCore KF5::I18n KF5::GuiAddons
)
install
(
TARGETS kcm_bookmarks DESTINATION
${
KDE_INSTALL_PLUGINDIR
}
)
########### install files ###############
install
(
FILES bookmarks.desktop DESTINATION
${
KDE_INSTALL_KSERVICES5DIR
}
)
settings/bookmarks/bookmarks.cpp
View file @
2a24aab3
...
...
@@ -18,7 +18,7 @@
#include <KConfigGroup>
#include <kimagecache.h>
K_PLUGIN_
FACTORY
(
KioConfigFactory
,
registerPlugin
<
BookmarksConfigModule
>
();
)
K_PLUGIN_
CLASS_WITH_JSON
(
BookmarksConfigModule
,
"bookmarks.json"
)
BookmarksConfigModule
::
BookmarksConfigModule
(
QWidget
*
parent
,
const
QVariantList
&
)
:
KCModule
(
parent
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment