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 ec084bc7 authored by Laurent Montel's avatar Laurent Montel 😁

Add a completer here

parent 58f4f7d7
......@@ -23,11 +23,16 @@ using namespace KSieveUi;
IncludeFileLineEdit::IncludeFileLineEdit(QWidget *parent)
: QLineEdit(parent)
, mCompleter(nullptr)
{
}
IncludeFileLineEdit::~IncludeFileLineEdit()
{
}
void IncludeFileLineEdit::setStringList(const QStringList &lst)
{
//TODO
}
......@@ -22,7 +22,7 @@
#include <QLineEdit>
#include "ksieveui_private_export.h"
class QCompleter;
namespace KSieveUi {
class KSIEVEUI_TESTS_EXPORT IncludeFileLineEdit : public QLineEdit
{
......@@ -30,6 +30,12 @@ class KSIEVEUI_TESTS_EXPORT IncludeFileLineEdit : public QLineEdit
public:
explicit IncludeFileLineEdit(QWidget *parent = nullptr);
~IncludeFileLineEdit();
void setStringList(const QStringList &lst);
private:
void initialize();
QCompleter *mCompleter;
};
}
#endif // INCLUDEFILELINEEDIT_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