Commit c9c6a7ec authored by Laurent Montel's avatar Laurent Montel 😁

Adapt to new api

parent 5470de14
......@@ -75,7 +75,7 @@ set(AKONADICALENDAR_LIB_VERSION "5.5.40")
set(CALENDAR_UTILS_VERSION "5.5.40")
set(KPIMTEXTEDIT_LIB_VERSION "5.5.40")
set(KIMAP_LIB_VERSION "5.5.40")
set(LIBKSIEVE_LIB_VERSION_LIB "5.5.44")
set(LIBKSIEVE_LIB_VERSION_LIB "5.5.45")
set(KMAILTRANSPORT_LIB_VERSION "5.5.40")
set(AKONADICONTACT_LIB_VERSION "5.5.40")
set(IMPORTWIZARD_LIB_VERSION "5.5.42")
......
......@@ -45,6 +45,7 @@ RegexpEditorLineEdit::RegexpEditorLineEdit(QWidget *parent, const QList<QVariant
mainLayout->setObjectName(QStringLiteral("mainlayout"));
mLineEdit = new QLineEdit(this);
connect(mLineEdit, &QLineEdit::textChanged, this, &RegexpEditorLineEdit::textChanged);
mLineEdit->setObjectName(QStringLiteral("lineedit"));
mainLayout->addWidget(mLineEdit);
......@@ -55,6 +56,8 @@ RegexpEditorLineEdit::RegexpEditorLineEdit(QWidget *parent, const QList<QVariant
mRegexEditorInstalled = !KServiceTypeTrader::self()->query(QStringLiteral("KRegExpEditor/KRegExpEditor")).isEmpty();
if (mRegexEditorInstalled) {
connect(mRegExpEditorButton, &QPushButton::clicked, this, &RegexpEditorLineEdit::slotOpenRegexpEditor);
} else {
qWarning() << "KRegExpEditor is not installed on system.";
}
//Hidden by default
mRegExpEditorButton->setVisible(false);
......
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