Incidenceeditor

korganizereditorconfig.h
1/*
2 SPDX-FileCopyrightText: 2010 Kevin Ottens <ervin@kde.org>
3
4 SPDX-License-Identifier: GPL-2.0-or-later
5*/
6
7#pragma once
8
9#include "editorconfig.h"
10
11#include <KCalendarCore/IncidenceBase>
12
13namespace IncidenceEditorNG
14{
15/**
16 * @brief The KOrganizerEditorConfig class
17 */
18class INCIDENCEEDITOR_EXPORT KOrganizerEditorConfig : public IncidenceEditorNG::EditorConfig
19{
20public:
21 KOrganizerEditorConfig();
22 ~KOrganizerEditorConfig() override;
23
24 KConfigSkeleton *config() const override;
25 [[nodiscard]] QString fullName() const override;
26 [[nodiscard]] QString email() const override;
27 [[nodiscard]] bool thatIsMe(const QString &email) const override;
28 [[nodiscard]] QStringList allEmails() const override;
29 [[nodiscard]] QList<Organizer> allOrganizers() const override;
30 [[nodiscard]] bool showTimeZoneSelectorInIncidenceEditor() const override;
31 [[nodiscard]] QDateTime defaultDuration() const override;
32 [[nodiscard]] QDateTime startTime() const override;
33 [[nodiscard]] bool defaultAudioFileReminders() const override;
34 [[nodiscard]] QUrl audioFilePath() const override;
35 [[nodiscard]] int reminderTime() const override;
36 [[nodiscard]] int reminderTimeUnits() const override;
37 [[nodiscard]] bool defaultTodoReminders() const override;
38 [[nodiscard]] bool defaultEventReminders() const override;
39 [[nodiscard]] QStringList &templates(KCalendarCore::IncidenceBase::IncidenceType type) override;
40};
41} // IncidenceEditors
Configuration details.
QList< Organizer > allOrganizers() const override
Returns all email addresses together with the full username for the user.
QString fullName() const override
Return the own full name.
QStringList allEmails() const override
Returns all email addresses for the user.
bool thatIsMe(const QString &email) const override
Return true if the given email belongs to the user.
QString email() const override
Return the own mail address.
bool showTimeZoneSelectorInIncidenceEditor() const override
Show timezone selectors in the event and todo editor dialog.
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 31 2025 12:05:24 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.