KNewStuff

categorymetadata.h
1// SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
2// SPDX-FileCopyrightText: 2024 Harald Sitter <sitter@kde.org>
3
4#pragma once
5
6#include <QString>
7
8#include "knewstuffcore_export.h"
9
10namespace KNSCore
11{
12
13class CategoryMetadataPrivate;
14
15/**
16 * Describes a category
17 * @since 6.9
18 */
19class KNEWSTUFFCORE_EXPORT CategoryMetadata
20{
21public:
22 [[nodiscard]] QString id() const;
23 [[nodiscard]] QString name() const;
24 [[nodiscard]] QString displayName() const;
25
26private:
27 friend class AtticaProvider;
28 friend class ProviderBubbleWrap;
29 CategoryMetadata(CategoryMetadataPrivate *dptr);
30 std::shared_ptr<CategoryMetadataPrivate> d;
31};
32
33} // namespace KNSCore
Describes a category.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:20:03 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.