Incidenceeditor

incidencecompletionpriority.h
1/*
2 SPDX-FileCopyrightText: 2010 Klaralvdalens Datakonsult AB, a KDAB Group company <info@kdab.net>
3 SPDX-FileContributor: Kevin Krammer <krake@kdab.com>
4
5 SPDX-License-Identifier: LGPL-2.0-or-later
6*/
7
8#pragma once
9
10#include "incidenceeditor-ng.h"
11
12#include <memory>
13
14namespace Ui
15{
16class EventOrTodoDesktop;
17}
18
19namespace IncidenceEditorNG
20{
21class IncidenceCompletionPriorityPrivate;
22
23class IncidenceCompletionPriority : public IncidenceEditor
24{
26public:
27 using IncidenceEditorNG::IncidenceEditor::load; // So we don't trigger -Woverloaded-virtual
28 using IncidenceEditorNG::IncidenceEditor::save; // So we don't trigger -Woverloaded-virtual
29
30 explicit IncidenceCompletionPriority(Ui::EventOrTodoDesktop *ui);
31 ~IncidenceCompletionPriority() override;
32
33 void load(const KCalendarCore::Incidence::Ptr &incidence) override;
34 void save(const KCalendarCore::Incidence::Ptr &incidence) override;
35 bool isDirty() const override;
36
37private:
38 friend class IncidenceCompletionPriorityPrivate;
39 std::unique_ptr<IncidenceCompletionPriorityPrivate> const d;
40};
41}
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 Sat Dec 21 2024 16:58:15 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.