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
PIM
Akonadi Contacts
Commits
8c89b9f8
Commit
8c89b9f8
authored
Jun 17, 2021
by
Laurent Montel
😁
Browse files
Use K_PLUGIN_CLASS_WITH_JSON install in pim/kcm/kaddressbook too
parent
2ad01454
Pipeline
#66248
passed with stage
in 11 minutes and 17 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
kcm/CMakeLists.txt
View file @
8c89b9f8
...
...
@@ -13,14 +13,8 @@ kconfig_add_kcfg_files(kcm_akonadicontact_actions ${Akonadi-Contact_SOURCE_DIR}/
#kcoreaddons_desktop_to_json(kcm_akonadicontact_actions akonadicontact_actions.desktop DEFAULT_SERVICE_TYPE)
install
(
FILES akonadicontact_actions.desktop DESTINATION
${
KDE_INSTALL_KSERVICES5DIR
}
)
kcoreaddons_desktop_to_json
(
kcm_akonadicontact_actions akonadicontact_actions.desktop SERVICE_TYPES kcmodule.desktop
)
install
(
TARGETS kcm_akonadicontact_actions DESTINATION
${
KDE_INSTALL_PLUGINDIR
}
/pim/kcms/kaddressbook
)
target_link_libraries
(
kcm_akonadicontact_actions KF5::ConfigWidgets KF5::I18n KF5::Completion
)
install
(
TARGETS kcm_akonadicontact_actions DESTINATION
${
KDE_INSTALL_PLUGINDIR
}
)
########### install files ###############
install
(
FILES akonadicontact_actions.desktop DESTINATION
${
KDE_INSTALL_KSERVICES5DIR
}
)
kcm/akonadicontact_actions.desktop
View file @
8c89b9f8
...
...
@@ -3,7 +3,7 @@ Icon=configure
Type=Service
X-KDE-ServiceTypes=KCModule
X-KDE-Library=kcm_akonadicontact_actions
X-KDE-Library=
pim/kcms/kaddressbook/
kcm_akonadicontact_actions
X-KDE-ParentApp=kaddressbook
X-KDE-ParentComponents=kaddressbook,kontact_kaddressbookplugin
X-KDE-CfgDlgHierarchy=KAddressBook
...
...
kcm/kcmakonadicontactactions.cpp
View file @
8c89b9f8
...
...
@@ -18,7 +18,7 @@
Q_DECLARE_METATYPE
(
ContactActionsSettings
::
EnumDialPhoneNumberAction
)
K_PLUGIN_
FACTORY
(
KCMAkonadiContactActions
Factory
,
registerPlugin
<
KCMA
konadi
C
ontact
A
ctions
>
();
)
K_PLUGIN_
CLASS_WITH_JSON
(
KCMAkonadiContactActions
,
"a
konadi
c
ontact
_a
ctions
.json"
)
KCMAkonadiContactActions
::
KCMAkonadiContactActions
(
QWidget
*
parent
,
const
QVariantList
&
args
)
:
KCModule
(
parent
,
args
)
...
...
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