Commit 595d30db authored by Laurent Montel's avatar Laurent Montel 😁

It doesn't depend against akonadi

parent c87d1f3f
......@@ -5,6 +5,6 @@ add_definitions(-DTRANSLATION_DOMAIN=\"cryptopageplugin\")
set(cryptopageplugin_SRCS cryptopageplugin.cpp )
add_library(cryptopageplugin MODULE ${cryptopageplugin_SRCS})
target_link_libraries(cryptopageplugin KF5::Contacts KF5::AkonadiContact KF5::Libkleo KF5::IconThemes KF5::I18n KF5::Completion Gpgmepp)
target_link_libraries(cryptopageplugin KF5::Contacts KF5::ContactEditor KF5::Libkleo KF5::IconThemes KF5::I18n KF5::Completion Gpgmepp)
install(TARGETS cryptopageplugin DESTINATION ${KDE_INSTALL_LIBDIR}/akonadi/contact/editorpageplugins/)
install(TARGETS cryptopageplugin DESTINATION ${KDE_INSTALL_LIBDIR}/contacteditor/editorpageplugins/)
......@@ -43,8 +43,6 @@
#include "Libkleo/KeyRequester"
#include "Libkleo/Enum"
using namespace Akonadi;
CryptoPagePlugin::CryptoPagePlugin()
: mReadOnly(false)
{
......
......@@ -24,7 +24,7 @@
#ifndef CRYPTOPAGEPLUGIN_H
#define CRYPTOPAGEPLUGIN_H
#include <Akonadi/Contact/ContactEditorPagePlugin>
#include <ContactEditor/ContactEditorPagePlugin>
namespace Kleo {
class KeyRequester;
......@@ -33,12 +33,10 @@ class KeyRequester;
class KComboBox;
class QCheckBox;
using namespace Akonadi;
class CryptoPagePlugin : public Akonadi::ContactEditorPagePlugin
class CryptoPagePlugin : public ContactEditor::ContactEditorPagePlugin
{
Q_OBJECT
Q_INTERFACES(Akonadi::ContactEditorPagePlugin)
Q_INTERFACES(ContactEditor::ContactEditorPagePlugin)
Q_PLUGIN_METADATA(IID "org.kde.kaddressbook.CryptoPagePlugin")
public:
CryptoPagePlugin();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment