/*
   SPDX-FileCopyrightText: 2020-2025 Laurent Montel <montel@kde.org>

   SPDX-License-Identifier: LGPL-2.0-or-later
*/

#include "showattachmentcombobox.h"
#include <KLocalizedString>
ShowAttachmentComboBox::ShowAttachmentComboBox(QWidget *parent)
    : QComboBox(parent)
{
    fillCombobox();
}

ShowAttachmentComboBox::~ShowAttachmentComboBox() = default;

void ShowAttachmentComboBox::fillCombobox()
{
    addItem(i18n("All"), QString());
    addItem(i18n("Videos"), QStringLiteral("video"));
    addItem(i18n("Images"), QStringLiteral("image"));
    addItem(i18n("Audios"), QStringLiteral("audio"));
    addItem(i18n("Texts"), QStringLiteral("text"));
    addItem(i18n("Files"), QStringLiteral("application"));
}

#include "moc_showattachmentcombobox.cpp"
