Commit 9808bf4d authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

EmailValidator was moved in pimcommon directly

parent 81cee250
Pipeline #23827 failed with stage
in 18 minutes and 12 seconds
......@@ -66,7 +66,7 @@ find_package(KF5Holidays ${KF5_MIN_VERSION} CONFIG REQUIRED)
set(MAILCOMMON_LIB_VERSION "5.14.44")
set(GRAVATAR_LIB_VERSION "5.14.41")
set(PIMCOMMON_LIB_VERSION "5.14.46")
set(PIMCOMMON_LIB_VERSION "5.14.47")
set(GRANTLEETHEME_LIB_VERSION "5.14.40")
set(CALENDARSUPPORT_LIB_VERSION "5.14.40")
set(EVENTVIEW_LIB_VERSION "5.14.40")
......
......@@ -19,7 +19,7 @@
#include "confirmaddressemailentrydialogtest.h"
#include "../confirmaddressemailentrydialog.h"
#include <EmailValidator>
#include <PimCommon/EmailValidator>
#include <QDialogButtonBox>
#include <QLabel>
#include <QLineEdit>
......@@ -47,7 +47,7 @@ void ConfirmAddressEmailEntryDialogTest::shouldHaveDefaultValue()
QVERIFY(mLineEdit);
QVERIFY(mLineEdit->text().isEmpty());
QVERIFY(mLineEdit->validator());
QVERIFY(qobject_cast<const KPIM::EmailValidator *>(mLineEdit->validator()));
QVERIFY(qobject_cast<const PimCommon::EmailValidator *>(mLineEdit->validator()));
QDialogButtonBox *buttons = dlg.findChild<QDialogButtonBox *>(QStringLiteral("buttons"));
QVERIFY(buttons);
......
......@@ -23,7 +23,7 @@
#include <QLineEdit>
#include <QLabel>
#include <QVBoxLayout>
#include <Libkdepim/EmailValidator>
#include <PimCommon/EmailValidator>
ConfirmAddressEmailEntryDialog::ConfirmAddressEmailEntryDialog(QWidget *parent)
: QDialog(parent)
......@@ -38,7 +38,7 @@ ConfirmAddressEmailEntryDialog::ConfirmAddressEmailEntryDialog(QWidget *parent)
mLineEdit->setObjectName(QStringLiteral("lineedit"));
mainLayout->addWidget(mLineEdit);
KPIM::EmailValidator *emailValidator = new KPIM::EmailValidator(this);
PimCommon::EmailValidator *emailValidator = new PimCommon::EmailValidator(this);
mLineEdit->setValidator(emailValidator);
QDialogButtonBox *buttons = new QDialogButtonBox(QDialogButtonBox::Ok | QDialogButtonBox::Cancel, this);
......
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