Messagelib

groupheaderitem.cpp
1/******************************************************************************
2 *
3 * SPDX-FileCopyrightText: 2008 Szymon Tomasz Stefanek <pragma@kvirc.net>
4 *
5 * SPDX-License-Identifier: GPL-2.0-or-later
6 *
7 *******************************************************************************/
8
9#include "core/groupheaderitem.h"
10
11using namespace MessageList::Core;
12
13GroupHeaderItem::GroupHeaderItem(const QString &label)
14 : Item(GroupHeader)
15 , mLabel(label)
16{
17}
18
19GroupHeaderItem::~GroupHeaderItem() = default;
20
21const QString &GroupHeaderItem::label() const
22{
23 return mLabel;
24}
25
26void GroupHeaderItem::setLabel(const QString &label)
27{
28 mLabel = label;
29}
QString label(StandardShortcut id)
The implementation independent part of the MessageList library.
Definition aggregation.h:22
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 29 2024 11:50:54 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.