Libksieve

includefilelineedit.h
1 /*
2  SPDX-FileCopyrightText: 2017-2021 Laurent Montel <[email protected]>
3 
4  SPDX-License-Identifier: GPL-2.0-or-later
5 */
6 
7 #pragma once
8 
9 #include "ksieveui_private_export.h"
10 #include "lineeditvalidator.h"
11 class QCompleter;
12 class QStringListModel;
13 namespace KSieveUi
14 {
15 class KSIEVEUI_TESTS_EXPORT IncludeFileLineEdit : public LineEditValidator
16 {
17  Q_OBJECT
18 public:
19  explicit IncludeFileLineEdit(QWidget *parent = nullptr);
20  ~IncludeFileLineEdit() override;
21 
22  void setListOfIncludeFile(const QStringList &lst);
23 
24 private:
25  QCompleter *const mCompleter;
26  QStringListModel *mStringListModel = nullptr;
27 };
28 }
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Fri Apr 16 2021 23:09:33 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.