Commit eee4ee04 authored by David Jarvie's avatar David Jarvie
Browse files

Add setName() method

parent 07ddfc09
......@@ -2,7 +2,7 @@
* kaevent.cpp - represents KAlarm calendar events
* This file is part of kalarmcal library, which provides access to KAlarm
* calendar data.
* SPDX-FileCopyrightText: 2001-2020 David Jarvie <djarvie@kde.org>
* SPDX-FileCopyrightText: 2001-2021 David Jarvie <djarvie@kde.org>
*
* SPDX-License-Identifier: LGPL-2.0-or-later
*/
......@@ -1836,6 +1836,11 @@ Akonadi::Item::Id KAEvent::akonadiItemId() const
return d->mAkonadiItemId;
}
void KAEvent::setName(const QString& newName)
{
d->mName = newName;
}
QString KAEvent::name() const
{
return d->mName;
......
......@@ -604,6 +604,9 @@ public:
*/
Akonadi::Item::Id akonadiItemId() const;
/** Set the alarm's name. */
void setName(const QString& newName);
/** Return the alarm's name. */
QString name() const;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment