KTextAddons

emoticontonecombobox.h
1/*
2 SPDX-FileCopyrightText: 2025 Laurent Montel <montel@kde.org>
3
4 SPDX-License-Identifier: LGPL-2.0-or-later
5*/
6
7#pragma once
8#include "textemoticonswidgets_export.h"
9#include <QComboBox>
10#include <TextEmoticonsCore/EmojiModelManager>
11namespace TextEmoticonsWidgets
12{
13class TEXTEMOTICONSWIDGETS_EXPORT EmoticonToneComboBox : public QComboBox
14{
15 Q_OBJECT
16public:
17 explicit EmoticonToneComboBox(QWidget *parent = nullptr);
18 ~EmoticonToneComboBox() override;
19 [[nodiscard]] TextEmoticonsCore::EmojiModelManager::EmojiTone currentEmojiTone() const;
20 void setCurrentEmojiTone(TextEmoticonsCore::EmojiModelManager::EmojiTone tone);
21};
22}
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Feb 21 2025 11:46:43 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.