OSDN Git Service

kgpg: remove traces of akonadi support
authorIvailo Monev <xakepa10@gmail.com>
Fri, 22 Apr 2016 14:26:33 +0000 (14:26 +0000)
committerIvailo Monev <xakepa10@gmail.com>
Fri, 22 Apr 2016 14:27:45 +0000 (14:27 +0000)
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
kgpg/CMakeLists.txt
kgpg/keysmanager.cpp
kgpg/keysmanager.h

index b4254f6..6b972ff 100644 (file)
@@ -154,7 +154,6 @@ target_link_libraries(kgpg
        ${KDE4_KUTILS_LIBS}
        ${KDE4_KPIMUTILS_LIBRARY}
        ${KDE4_SOLID_LIBS}
-       ${KDEPIMLIBS_AKONADI_CONTACT_LIBS}
 )
 
 install(TARGETS kgpg  ${INSTALL_TARGETS_DEFAULT_ARGS} )
index ff949ac..797ddbf 100644 (file)
@@ -202,10 +202,6 @@ KeysManager::KeysManager(QWidget *parent)
        m_sendEmail->setIcon(KIcon(QLatin1String("mail-send")));
        m_sendEmail->setText(i18n("Send Ema&il"));
 
-       QAction *newContact = actionCollection()->addAction(QLatin1String("add_kab"), this, SLOT(addToKAB()));
-       newContact->setIcon(KIcon( QLatin1String( "contact-new" )));
-       newContact->setText(i18n("&Create New Contact in Address Book"));
-
        createGroup = actionCollection()->addAction(QLatin1String("create_group"), this, SLOT(createNewGroup()));
        createGroup->setIcon(Images::group());
 
index 0224aab..cbaa3f8 100644 (file)
@@ -193,12 +193,6 @@ private slots:
     void slotSendEmail();
     void slotedit();
 
-    /**
-     * @brief add or change the addressbook entry
-     * @param job the search job
-     *
-     * This handles the result of the search started in addToKAB().
-     */
     void editGroup();
     void createNewGroup();
     void deleteGroup();