/*
   SPDX-FileCopyrightText: 2019-2026 Laurent Montel <montel@kde.org>

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

#pragma once

#include "libruqola_private_export.h"
#include <QObject>
#include <QString>

class LIBRUQOLACORE_TESTS_EXPORT AutotranslateLanguage
{
public:
    AutotranslateLanguage();
    [[nodiscard]] QString language() const;
    void setLanguage(const QString &language);

    [[nodiscard]] QString displayLanguage() const;
    void setDisplayLanguage(const QString &displayLanguage);

private:
    QString mLanguage;
    QString mDisplayLanguage;
};
class QDebug;
LIBRUQOLACORE_EXPORT QDebug operator<<(QDebug d, const AutotranslateLanguage &t);
QT_DECL_METATYPE_EXTERN_TAGGED(AutotranslateLanguage, Ruqola_AutotranslateLanguage, LIBRUQOLACORE_EXPORT)
Q_DECLARE_TYPEINFO(AutotranslateLanguage, Q_RELOCATABLE_TYPE);
