File indexing completed on 2024-05-12 05:13:29

0001 /*
0002    SPDX-FileCopyrightText: 2013-2024 Laurent Montel <montel@kde.org>
0003 
0004    SPDX-License-Identifier: GPL-2.0-or-later
0005 */
0006 #include "contacteditorwidget.h"
0007 #include "defaultcompletion.h"
0008 
0009 ContactEditorWidget::ContactEditorWidget(QWidget *parent)
0010     : GrantleeThemeEditor::EditorWidget(parent)
0011 {
0012     createCompleterList();
0013 }
0014 
0015 ContactEditorWidget::~ContactEditorWidget() = default;
0016 
0017 void ContactEditorWidget::createCompleterList(const QStringList &extraCompletion)
0018 {
0019     const QStringList listWord = QStringList() << DefaultCompletion::defaultCompetion() << DefaultCompletion::defaultOptions() << extraCompletion;
0020     GrantleeThemeEditor::EditorWidget::createCompleterList(listWord);
0021 }
0022 
0023 #include "moc_contacteditorwidget.cpp"