KTextAddons

converttext.h
1/*
2 SPDX-FileCopyrightText: 2023-2024 Laurent Montel <montel.org>
3
4 SPDX-License-Identifier: LGPL-2.0-or-later
5*/
6
7#pragma once
8
9#include "textutils_export.h"
10#include <QStringView>
11#include <QTextCursor>
12
13namespace TextUtils
14{
15namespace ConvertText
16{
17[[nodiscard]] TEXTUTILS_EXPORT QString normalize(QStringView str);
18TEXTUTILS_EXPORT void upperCase(QTextCursor &cursor);
19TEXTUTILS_EXPORT void lowerCase(QTextCursor &cursor);
20TEXTUTILS_EXPORT void sentenceCase(QTextCursor &cursor);
21TEXTUTILS_EXPORT void reverseCase(QTextCursor &cursor);
22}
23}
QString normalize(QStringView str)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:29:59 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.