Pimcommon

configureactivitieswidget.h
1/*
2 SPDX-FileCopyrightText: 2024 Laurent Montel <montel.org>
3
4 SPDX-License-Identifier: LGPL-2.0-or-later
5*/
6
7#pragma once
8#include "activitiesbasemanager.h"
9#include "pimcommonactivities_export.h"
10#include <QWidget>
11class QListView;
12class QCheckBox;
13namespace PimCommonActivities
14{
15class PIMCOMMONACTIVITIES_EXPORT ConfigureActivitiesWidget : public QWidget
16{
17 Q_OBJECT
18public:
19 explicit ConfigureActivitiesWidget(QWidget *parent = nullptr);
20 ~ConfigureActivitiesWidget() override;
21
22 [[nodiscard]] ActivitiesBaseManager::ActivitySettings activitiesSettings() const;
23 void setActivitiesSettings(const ActivitiesBaseManager::ActivitySettings &activitySettings);
24
25private:
26 QListView *const mListView;
27 QCheckBox *const mEnableActivitiesSupport;
28};
29}
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:14:35 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.