Pimcommon
9#include "pimcommonactivities_export.h"
15namespace PimCommonActivities
17class PIMCOMMONACTIVITIES_EXPORT ActivitiesBaseManager :
public QObject
21 struct ActivitySettings {
22 QStringList activities;
24 [[nodiscard]]
bool contains(
const QString &str)
const;
26 void changeActivities(
bool added,
const QString ¤tActivity);
29 explicit ActivitiesBaseManager(QObject *parent =
nullptr);
30 ~ActivitiesBaseManager()
override;
31 [[nodiscard]]
virtual bool enabled()
const = 0;
33 [[nodiscard]]
bool isInCurrentActivity(
const QStringList &lst)
const;
35 [[nodiscard]] QString currentActivity()
const;
37 void activitiesChanged();
40 KActivities::Consumer *
const mActivitiesConsumer;
43PIMCOMMONACTIVITIES_EXPORT
QDebug operator<<(
QDebug d,
const PimCommonActivities::ActivitiesBaseManager::ActivitySettings &t);
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:47:24 by
doxygen 1.13.2 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.