You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
650 B
24 lines
650 B
/* |
|
SPDX-FileCopyrightText: 2019 Kevin Ottens <kevin.ottens@enioka.com> |
|
|
|
SPDX-License-Identifier: LGPL-2.0-or-later |
|
*/ |
|
|
|
#pragma once |
|
|
|
#include "translationssettingsbase.h" |
|
|
|
class TranslationsSettings : public TranslationsSettingsBase |
|
{ |
|
Q_OBJECT |
|
Q_PROPERTY(QStringList configuredLanguages READ configuredLanguages WRITE setConfiguredLanguages NOTIFY configuredLanguagesChanged) |
|
public: |
|
TranslationsSettings(QObject *parent = nullptr); |
|
~TranslationsSettings() override; |
|
|
|
QStringList configuredLanguages() const; |
|
void setConfiguredLanguages(const QStringList &langs); |
|
|
|
Q_SIGNALS: |
|
void configuredLanguagesChanged(); |
|
};
|
|
|