KTextAddons

texttospeechlanguagecombobox.h
1/*
2 SPDX-FileCopyrightText: 2015-2024 Laurent Montel <montel@kde.org>
3
4 SPDX-License-Identifier: LGPL-2.0-or-later
5*/
6
7#pragma once
8#include "textedittexttospeech_private_export.h"
9#include <QComboBox>
10#include <QLocale>
11namespace TextEditTextToSpeech
12{
13class TEXTEDITTEXTTOSPEECH_TESTS_EXPORT TextToSpeechLanguageComboBox : public QComboBox
14{
15 Q_OBJECT
16public:
17 explicit TextToSpeechLanguageComboBox(QWidget *parent = nullptr);
18 ~TextToSpeechLanguageComboBox() override;
19 void selectLocaleName(const QString &localeName);
20 void updateAvailableLocales(const QVector<QLocale> &locales, const QLocale &current);
21};
22}
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 29 2024 11:47:37 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.