WIP: Phonebook/Integration
I will develop a new plugin. So I copied the plugin 'findmyphone' as recommended, named it 'phonebook' and added the relevant code snippets and files. Compilation is ok. I will integrate this new plugin into the kdeconnect-app, adding an entry in the DevicePage.qml:
PluginItem { readonly property var phonebookIface: PhonebookDbusInterfaceFactory.create(root.currentDevice.id()) pluginName: "phonebook" name: i18nd("kdeconnect-app", "Edit Phonebook") onClick: () => phonebookIface.ring() device: root.currentDevice },
But no entry is shown on the right hand page of the kdeconnect-app. However if I change the pluginName to 'findmyphone' the entry is shown, but that's the wrong plugin. Can anybody tell me how to manage it AND how to call the plugin when clicked?