Commit 306cb1cf authored by Laurent Montel's avatar Laurent Montel 😁

Adapt to new api

parent 2df0f3e4
......@@ -42,7 +42,7 @@ set(KDEPIM_VERSION "${KDEPIM_VERSION_NUMBER}${KDEPIM_DEV_VERSION}")
set(AKONADI_MIMELIB_VERSION "5.5.40")
set(AKONADI_CONTACT_VERSION "5.5.40")
set(AKONADI_CONTACT_VERSION "5.5.42")
set(KCONTACTS_LIB_VERSION "5.5.40")
set(KCALENDARCORE_LIB_VERSION "5.5.40")
set(CALENDARUTILS_LIB_VERSION "5.5.40")
......
......@@ -37,7 +37,7 @@ IdentityEditVcardDialog::IdentityEditVcardDialog(const QString &fileName, QWidge
QVBoxLayout *topLayout = new QVBoxLayout(this);
setModal(true);
mContactEditor = new Akonadi::ContactEditor(Akonadi::ContactEditor::CreateMode, Akonadi::ContactEditor::VCardMode, this);
mContactEditor = new Akonadi::AkonadiContactEditor(Akonadi::AkonadiContactEditor::CreateMode, Akonadi::AkonadiContactEditor::VCardMode, this);
QDialogButtonBox *buttonBox = new QDialogButtonBox(QDialogButtonBox::Ok | QDialogButtonBox::Cancel, this);
QPushButton *okButton = buttonBox->button(QDialogButtonBox::Ok);
......
......@@ -21,7 +21,7 @@
#include <QDialog>
namespace Akonadi {
class ContactEditor;
class AkonadiContactEditor;
}
class IdentityEditVcardDialog : public QDialog
......@@ -50,7 +50,7 @@ private Q_SLOTS:
private:
void deleteCurrentVcard(bool deleteOnDisk);
QString mVcardFileName;
Akonadi::ContactEditor *mContactEditor;
Akonadi::AkonadiContactEditor *mContactEditor;
};
#endif // IDENTITYEDITVCARDDIALOG_H
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