Incidenceeditor

incidencesecrecy.h
1/*
2 SPDX-FileCopyrightText: 2010 Bertjan Broeksema <broeksema@kde.org>
3 SPDX-FileCopyrightText: 2010 Klaralvdalens Datakonsult AB, a KDAB Group company <info@kdab.net>
4
5 SPDX-License-Identifier: LGPL-2.0-or-later
6*/
7
8#pragma once
9
10#include "incidenceeditor-ng.h"
11
12namespace Ui
13{
14class EventOrTodoDesktop;
15}
16
17namespace IncidenceEditorNG
18{
19class IncidenceSecrecy : public IncidenceEditor
20{
22public:
23 using IncidenceEditorNG::IncidenceEditor::load; // So we don't trigger -Woverloaded-virtual
24 using IncidenceEditorNG::IncidenceEditor::save; // So we don't trigger -Woverloaded-virtual
25
26 explicit IncidenceSecrecy(Ui::EventOrTodoDesktop *ui);
27
28 void load(const KCalendarCore::Incidence::Ptr &incidence) override;
29 void save(const KCalendarCore::Incidence::Ptr &incidence) override;
30 [[nodiscard]] bool isDirty() const override;
31
32private:
33 Ui::EventOrTodoDesktop *const mUi;
34};
35}
virtual void load(const KCalendarCore::Incidence::Ptr &incidence)=0
Load the values of.
QSharedPointer< IncidenceT > incidence() const
Convenience method to get a pointer for a specific const Incidence Type.
virtual void save(const KCalendarCore::Incidence::Ptr &incidence)=0
Store the current values of the editor into.
Q_OBJECTQ_OBJECT
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:17:23 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.