Pimcommon

kactionmenuchangecase.h
1/*
2 SPDX-FileCopyrightText: 2015-2024 Laurent Montel <montel@kde.org>
3
4 SPDX-License-Identifier: GPL-2.0-or-later
5*/
6
7#pragma once
8
9#include "pimcommon_export.h"
10#include <KActionMenu>
11class QAction;
13namespace PimCommon
14{
15class KActionMenuChangeCasePrivate;
16/**
17 * @brief The KActionMenuChangeCase class
18 * @author Laurent Montel <montel@kde.org>
19 */
20class PIMCOMMON_EXPORT KActionMenuChangeCase : public KActionMenu
21{
22 Q_OBJECT
23public:
24 explicit KActionMenuChangeCase(QObject *parent = nullptr);
25 ~KActionMenuChangeCase() override;
26
27 [[nodiscard]] QAction *upperCaseAction() const;
28
29 [[nodiscard]] QAction *sentenceCaseAction() const;
30
31 [[nodiscard]] QAction *lowerCaseAction() const;
32
33 [[nodiscard]] QAction *reverseCaseAction() const;
34
35 void appendInActionCollection(KActionCollection *ac);
36
37Q_SIGNALS:
38 void upperCase();
39 void sentenceCase();
40 void lowerCase();
41 void reverseCase();
42
43private:
44 std::unique_ptr<KActionMenuChangeCasePrivate> const d;
45};
46}
The KActionMenuChangeCase class.
folderdialogacltab.h
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 22 2024 12:12:05 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.