Incidenceeditor

freebusyurldialog.h
1/*
2 SPDX-FileCopyrightText: 2004 Cornelius Schumacher <schumacher@kde.org>
3
4 SPDX-License-Identifier: GPL-2.0-or-later WITH Qt-Commercial-exception-1.0
5*/
6#pragma once
7
8#include "attendeedata.h"
9
10#include <QDialog>
11
12class KLineEdit;
13
14namespace IncidenceEditorNG
15{
16class FreeBusyUrlWidget;
17
18class FreeBusyUrlDialog : public QDialog
19{
21public:
22 explicit FreeBusyUrlDialog(const AttendeeData::Ptr &, QWidget *parent = nullptr);
23
24public Q_SLOTS:
25 void slotOk();
26
27private:
28 FreeBusyUrlWidget *mWidget = nullptr;
29};
30
31class FreeBusyUrlWidget : public QWidget
32{
34public:
35 explicit FreeBusyUrlWidget(const AttendeeData::Ptr &, QWidget *parent = nullptr);
36 ~FreeBusyUrlWidget() override;
37
38 void loadConfig();
39 void saveConfig();
40
41private:
42 KLineEdit *const mUrlEdit;
43 AttendeeData::Ptr mAttendee;
44};
45}
Q_OBJECTQ_OBJECT
Q_SLOTSQ_SLOTS
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:19:37 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.