Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

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

Make it inherit from LineEditValidator

parent cf254367
......@@ -25,7 +25,7 @@
using namespace KSieveUi;
IncludeFileLineEdit::IncludeFileLineEdit(QWidget *parent)
: QLineEdit(parent)
: LineEditValidator(parent)
{
mCompleter = new QCompleter(this);
mCompleter->setObjectName(QStringLiteral("completer"));
......
......@@ -20,11 +20,11 @@
#ifndef INCLUDEFILELINEEDIT_H
#define INCLUDEFILELINEEDIT_H
#include <QLineEdit>
#include "lineeditvalidator.h"
#include "ksieveui_private_export.h"
class QCompleter;
namespace KSieveUi {
class KSIEVEUI_TESTS_EXPORT IncludeFileLineEdit : public QLineEdit
class KSIEVEUI_TESTS_EXPORT IncludeFileLineEdit : public LineEditValidator
{
Q_OBJECT
public:
......
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