Messagelib

groupheaderitem.cpp
1 /******************************************************************************
2  *
3  * SPDX-FileCopyrightText: 2008 Szymon Tomasz Stefanek <[email protected]>
4  *
5  * SPDX-License-Identifier: GPL-2.0-or-later
6  *
7  *******************************************************************************/
8 
9 #include "core/groupheaderitem.h"
10 
11 using namespace MessageList::Core;
12 
13 GroupHeaderItem::GroupHeaderItem(const QString &label)
14  : Item(GroupHeader)
15  , mLabel(label)
16 {
17 }
18 
19 GroupHeaderItem::~GroupHeaderItem() = default;
20 
21 const QString &GroupHeaderItem::label() const
22 {
23  return mLabel;
24 }
25 
26 void GroupHeaderItem::setLabel(const QString &label)
27 {
28  mLabel = label;
29 }
The implementation independent part of the MessageList library.
Definition: aggregation.h:21
A single item of the MessageList tree managed by MessageList::Model.
Definition: item.h:35
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Sun Dec 5 2021 23:04:53 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.