File indexing completed on 2024-12-29 04:54:51
0001 /* 0002 SPDX-FileCopyrightText: 2017-2024 Laurent Montel <montel@kde.org> 0003 0004 SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 0007 #pragma once 0008 0009 #include "ksieveui_private_export.h" 0010 #include "lineeditvalidator.h" 0011 class QCompleter; 0012 class QStringListModel; 0013 namespace KSieveUi 0014 { 0015 class KSIEVEUI_TESTS_EXPORT IncludeFileLineEdit : public LineEditValidator 0016 { 0017 Q_OBJECT 0018 public: 0019 explicit IncludeFileLineEdit(QWidget *parent = nullptr); 0020 ~IncludeFileLineEdit() override; 0021 0022 void setListOfIncludeFile(const QStringList &lst); 0023 0024 private: 0025 QCompleter *const mCompleter; 0026 QStringListModel *mStringListModel = nullptr; 0027 }; 0028 }