NotificationManager::Settings

Search for usage in LXR

NotificationManager::Settings Class Reference

#include <settings.h>

Inheritance diagram for NotificationManager::Settings:

Public Types

enum  NotificationBehavior { ShowPopups = 1 << 1 , ShowPopupsInDoNotDisturbMode = 1 << 2 , ShowInHistory = 1 << 3 , ShowBadges = 1 << 4 }
 
typedef QFlags< NotificationBehavior > NotificationBehaviors
 
enum  PopupPosition {
  CloseToWidget = 0 , TopLeft , TopCenter , TopRight ,
  BottomLeft , BottomCenter , BottomRight
}
 

Properties

QStringList badgeBlacklistedApplications
 
bool badgesInTaskManager
 
QML_ELEMENTbool criticalPopupsInDoNotDisturbMode
 
bool dirty
 
QStringList doNotDisturbPopupWhitelistedApplications
 
QStringList doNotDisturbPopupWhitelistedServices
 
bool fullscreenFocused
 
QStringList historyBlacklistedApplications
 
QStringList historyBlacklistedServices
 
bool inhibitNotificationsWhenFullscreen
 
bool inhibitNotificationsWhenScreenSharing
 
bool inhibitNotificationsWhenScreensMirrored
 
bool jobsInNotifications
 
QStringList knownApplications
 
bool live
 
bool lowPriorityHistory
 
bool lowPriorityPopups
 
QStringList notificationInhibitionApplications
 
QStringList notificationInhibitionReasons
 
bool notificationsInhibitedByApplication
 
QDateTime notificationsInhibitedUntil
 
bool notificationSoundsInhibited
 
bool permanentJobPopups
 
QStringList popupBlacklistedApplications
 
QStringList popupBlacklistedServices
 
PopupPosition popupPosition
 
int popupTimeout
 
bool screensMirrored
 
- Properties inherited from QObject
 objectName
 

Signals

void dirtyChanged ()
 
void fullscreenFocusedChanged ()
 
void knownApplicationsChanged ()
 
void liveChanged ()
 
void notificationInhibitionApplicationsChanged ()
 
void notificationsInhibitedByApplicationChanged (bool notificationsInhibitedByApplication)
 
void screensMirroredChanged ()
 
void settingsChanged ()
 

Public Member Functions

 Settings (const KSharedConfig::Ptr &config, QObject *parent=nullptr)
 
 Settings (QObject *parent=nullptr)
 
Q_INVOKABLE NotificationBehaviors applicationBehavior (const QString &desktopEntry) const
 
QStringList badgeBlacklistedApplications () const
 
bool badgesInTaskManager () const
 
bool criticalPopupsInDoNotDisturbMode () const
 
Q_INVOKABLE void defaults ()
 
bool dirty () const
 
QStringList doNotDisturbPopupWhitelistedApplications () const
 
QStringList doNotDisturbPopupWhitelistedServices () const
 
Q_INVOKABLE void forgetKnownApplication (const QString &desktopEntry)
 
bool fullscreenFocused () const
 
QStringList historyBlacklistedApplications () const
 
QStringList historyBlacklistedServices () const
 
bool inhibitNotificationsWhenFullscreen () const
 
bool inhibitNotificationsWhenScreenSharing () const
 
bool inhibitNotificationsWhenScreensMirrored () const
 
bool jobsInNotifications () const
 
QStringList knownApplications () const
 
bool live () const
 
Q_INVOKABLE void load ()
 
bool lowPriorityHistory () const
 
bool lowPriorityPopups () const
 
QStringList notificationInhibitionApplications () const
 
QStringList notificationInhibitionReasons () const
 
bool notificationsInhibitedByApplication () const
 
QDateTime notificationsInhibitedUntil () const
 
bool notificationSoundsInhibited () const
 
bool permanentJobPopups () const
 
QStringList popupBlacklistedApplications () const
 
QStringList popupBlacklistedServices () const
 
PopupPosition popupPosition () const
 
int popupTimeout () const
 
Q_INVOKABLE void registerKnownApplication (const QString &desktopEntry)
 
void resetNotificationsInhibitedUntil ()
 
void resetPopupTimeout ()
 
Q_INVOKABLE void revokeApplicationInhibitions ()
 
Q_INVOKABLE void save ()
 
bool screensMirrored () const
 
Q_INVOKABLE NotificationBehaviors serviceBehavior (const QString &desktopEntry) const
 
Q_INVOKABLE void setApplicationBehavior (const QString &desktopEntry, NotificationBehaviors behaviors)
 
void setBadgesInTaskManager (bool enable)
 
void setCriticalPopupsInDoNotDisturbMode (bool enable)
 
void setFullscreenFocused (bool focused)
 
void setInhibitNotificationsWhenFullscreen (bool inhibit)
 
void setInhibitNotificationsWhenScreenSharing (bool inhibit)
 
void setInhibitNotificationsWhenScreensMirrored (bool mirrored)
 
void setJobsInNotifications (bool enable)
 
void setLive (bool live)
 
void setLowPriorityHistory (bool enable)
 
void setLowPriorityPopups (bool enable)
 
void setNotificationsInhibitedUntil (const QDateTime &time)
 
void setNotificationSoundsInhibited (bool inhibited)
 
void setPermanentJobPopups (bool enable)
 
void setPopupPosition (PopupPosition popupPosition)
 
void setPopupTimeout (int popupTimeout)
 
void setScreensMirrored (bool enable)
 
Q_INVOKABLE void setServiceBehavior (const QString &desktopEntry, NotificationBehaviors behaviors)
 
- Public Member Functions inherited from QObject
 QObject (QObject *parent)
 
QBindable< QStringbindableObjectName ()
 
bool blockSignals (bool block)
 
const QObjectListchildren () const const
 
QMetaObject::Connection connect (const QObject *sender, const char *signal, const char *method, Qt::ConnectionType type) const const
 
void deleteLater ()
 
void destroyed (QObject *obj)
 
bool disconnect (const char *signal, const QObject *receiver, const char *method) const const
 
bool disconnect (const QObject *receiver, const char *method) const const
 
void dumpObjectInfo () const const
 
void dumpObjectTree () const const
 
QList< QByteArraydynamicPropertyNames () const const
 
virtual bool event (QEvent *e)
 
virtual bool eventFilter (QObject *watched, QEvent *event)
 
findChild (const QString &name, Qt::FindChildOptions options) const const
 
QList< T > findChildren (const QRegularExpression &re, Qt::FindChildOptions options) const const
 
QList< T > findChildren (const QString &name, Qt::FindChildOptions options) const const
 
QList< T > findChildren (Qt::FindChildOptions options) const const
 
bool inherits (const char *className) const const
 
void installEventFilter (QObject *filterObj)
 
bool isQuickItemType () const const
 
bool isWidgetType () const const
 
bool isWindowType () const const
 
void killTimer (int id)
 
virtual const QMetaObjectmetaObject () const const
 
void moveToThread (QThread *targetThread)
 
QString objectName () const const
 
void objectNameChanged (const QString &objectName)
 
QObjectparent () const const
 
QVariant property (const char *name) const const
 
 Q_CLASSINFO (Name, Value)
 
 Q_EMIT Q_EMIT
 
 Q_ENUM (...)
 
 Q_ENUM_NS (...)
 
 Q_ENUMS (...)
 
 Q_FLAG (...)
 
 Q_FLAG_NS (...)
 
 Q_FLAGS (...)
 
 Q_GADGET Q_GADGET
 
 Q_GADGET_EXPORT (EXPORT_MACRO)
 
 Q_INTERFACES (...)
 
 Q_INVOKABLE Q_INVOKABLE
 
 Q_MOC_INCLUDE Q_MOC_INCLUDE
 
 Q_NAMESPACE Q_NAMESPACE
 
 Q_NAMESPACE_EXPORT (EXPORT_MACRO)
 
 Q_OBJECT Q_OBJECT
 
 Q_PROPERTY (...)
 
 Q_REVISION Q_REVISION
 
 Q_SET_OBJECT_NAME (Object)
 
 Q_SIGNAL Q_SIGNAL
 
 Q_SIGNALS Q_SIGNALS
 
 Q_SLOT Q_SLOT
 
 Q_SLOTS Q_SLOTS
 
qobject_cast (const QObject *object)
 
qobject_cast (QObject *object)
 
 QT_NO_NARROWING_CONVERSIONS_IN_CONNECT QT_NO_NARROWING_CONVERSIONS_IN_CONNECT
 
void removeEventFilter (QObject *obj)
 
void setObjectName (const QString &name)
 
void setObjectName (QAnyStringView name)
 
void setParent (QObject *parent)
 
bool setProperty (const char *name, const QVariant &value)
 
bool setProperty (const char *name, QVariant &&value)
 
bool signalsBlocked () const const
 
int startTimer (int interval, Qt::TimerType timerType)
 
int startTimer (std::chrono::milliseconds interval, Qt::TimerType timerType)
 
QThreadthread () const const
 

Additional Inherited Members

- Static Public Member Functions inherited from QObject
QMetaObject::Connection connect (const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
 
QMetaObject::Connection connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type)
 
QMetaObject::Connection connect (const QObject *sender, PointerToMemberFunction signal, const QObject *context, Functor functor, Qt::ConnectionType type)
 
QMetaObject::Connection connect (const QObject *sender, PointerToMemberFunction signal, const QObject *receiver, PointerToMemberFunction method, Qt::ConnectionType type)
 
QMetaObject::Connection connect (const QObject *sender, PointerToMemberFunction signal, Functor functor)
 
bool disconnect (const QMetaObject::Connection &connection)
 
bool disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *method)
 
bool disconnect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method)
 
bool disconnect (const QObject *sender, PointerToMemberFunction signal, const QObject *receiver, PointerToMemberFunction method)
 
QString tr (const char *sourceText, const char *disambiguation, int n)
 
- Public Attributes inherited from QObject
typedef QObjectList
 
- Protected Member Functions inherited from QObject
virtual void childEvent (QChildEvent *event)
 
virtual void connectNotify (const QMetaMethod &signal)
 
virtual void customEvent (QEvent *event)
 
virtual void disconnectNotify (const QMetaMethod &signal)
 
bool isSignalConnected (const QMetaMethod &signal) const const
 
int receivers (const char *signal) const const
 
QObjectsender () const const
 
int senderSignalIndex () const const
 
virtual void timerEvent (QTimerEvent *event)
 

Detailed Description

Notification settings and state.

This class encapsulates all global settings related to notifications as well as do not disturb mode and other state.

This class can be used by applications to alter their behavior depending on user's notification preferences.

Author
Kai Uwe Broulik kde@p.nosp@m.riva.nosp@m.t.bro.nosp@m.ulik.nosp@m..de

Definition at line 35 of file settings.h.

Member Typedef Documentation

◆ NotificationBehaviors

Definition at line 245 of file settings.h.

Member Enumeration Documentation

◆ NotificationBehavior

enum NotificationManager::Settings::NotificationBehavior

Definition at line 238 of file settings.h.

◆ PopupPosition

enum NotificationManager::Settings::PopupPosition

Definition at line 227 of file settings.h.

Property Documentation

◆ badgeBlacklistedApplications

QStringList NotificationManager::Settings::badgeBlacklistedApplications
read

A list of desktop entries of applications which shouldn't show badges in task manager.

Definition at line 114 of file settings.h.

◆ badgesInTaskManager

bool NotificationManager::Settings::badgesInTaskManager
readwrite

Whether to show notification badges (numbers in circles) in task manager.

Definition at line 77 of file settings.h.

◆ criticalPopupsInDoNotDisturbMode

QML_ELEMENTbool NotificationManager::Settings::criticalPopupsInDoNotDisturbMode
readwrite

Whether to show critical notification popups in do not disturb mode.

Definition at line 43 of file settings.h.

◆ dirty

bool NotificationManager::Settings::dirty
read

Whether the settings have changed and need to be saved.

See also
save()

Definition at line 217 of file settings.h.

◆ doNotDisturbPopupWhitelistedApplications

QStringList NotificationManager::Settings::doNotDisturbPopupWhitelistedApplications
read

A list of desktop entries of applications for which a popup should be shown even in do not disturb mode.

Definition at line 96 of file settings.h.

◆ doNotDisturbPopupWhitelistedServices

QStringList NotificationManager::Settings::doNotDisturbPopupWhitelistedServices
read

A list of notifyrc names of services for which a popup should be shown even in do not disturb mode.

Definition at line 100 of file settings.h.

◆ fullscreenFocused

bool NotificationManager::Settings::fullscreenFocused
readwrite

Whether a fullscreen window is currently focused.

This property is only updated when inhibitNotificationsWhenFullscreen is set to true, otherwise it is always false. You can assign false to this property if you want to temporarily revoke automatic do not disturb mode when a fullscreen window is focused until the window is no longer fullscreen.

Since
6.4

Definition at line 186 of file settings.h.

◆ historyBlacklistedApplications

QStringList NotificationManager::Settings::historyBlacklistedApplications
read

A list of desktop entries of applications which shouldn't be shown in the history.

Definition at line 105 of file settings.h.

◆ historyBlacklistedServices

QStringList NotificationManager::Settings::historyBlacklistedServices
read

A list of notifyrc names of services which shouldn't be shown in the history.

Definition at line 109 of file settings.h.

◆ inhibitNotificationsWhenFullscreen

bool NotificationManager::Settings::inhibitNotificationsWhenFullscreen
readwrite

Whether to enable do not disturb mode when a fullscreen window is focused.

Since
6.4

Definition at line 173 of file settings.h.

◆ inhibitNotificationsWhenScreenSharing

bool NotificationManager::Settings::inhibitNotificationsWhenScreenSharing
readwrite

Whether to enable do not disturb mode while screen sharing.

Since
5.22

Definition at line 165 of file settings.h.

◆ inhibitNotificationsWhenScreensMirrored

bool NotificationManager::Settings::inhibitNotificationsWhenScreensMirrored
readwrite

Whether to enable do not disturb mode when screens are mirrored/overlapping.

Since
5.17

Definition at line 145 of file settings.h.

◆ jobsInNotifications

bool NotificationManager::Settings::jobsInNotifications
readwrite

Whether to show application jobs as notifications.

Definition at line 68 of file settings.h.

◆ knownApplications

QStringList NotificationManager::Settings::knownApplications
read

A list of desktop entries of applications that have been seen sending a notification.

Definition at line 82 of file settings.h.

◆ live

bool NotificationManager::Settings::live
readwrite

Whether to update the properties immediately when they are changed on disk.

This can be undesirable for a settings dialog where outside changes should not suddenly cause the UI to change.

Default is true.

Definition at line 210 of file settings.h.

◆ lowPriorityHistory

bool NotificationManager::Settings::lowPriorityHistory
readwrite

Whether to add low priority notifications to the history.

Definition at line 51 of file settings.h.

◆ lowPriorityPopups

bool NotificationManager::Settings::lowPriorityPopups
readwrite

Whether to show popups for low priority notifications.

Definition at line 47 of file settings.h.

◆ notificationInhibitionApplications

QStringList NotificationManager::Settings::notificationInhibitionApplications
read

Definition at line 136 of file settings.h.

◆ notificationInhibitionReasons

QStringList NotificationManager::Settings::notificationInhibitionReasons
read

Definition at line 138 of file settings.h.

◆ notificationsInhibitedByApplication

bool NotificationManager::Settings::notificationsInhibitedByApplication
read

Whether an application currently requested do not disturb mode.

Do not disturb mode is considered active when this property is true OR notificationsInhibitedUntil points to a date in the future.

See also
revokeApplicationInhibitions

Definition at line 134 of file settings.h.

◆ notificationsInhibitedUntil

QDateTime NotificationManager::Settings::notificationsInhibitedUntil
readwrite

The date until which do not disturb mode is enabled.

When invalid or in the past, do not disturb mode should be considered disabled. Do not disturb mode is considered active when this property points to a date in the future OR notificationsInhibitedByApplication is true.

Definition at line 123 of file settings.h.

◆ notificationSoundsInhibited

bool NotificationManager::Settings::notificationSoundsInhibited
readwrite

Whether notification sounds should be disabled.

This does not reflect the actual mute state of the Notification Sounds stream but only remembers what value was assigned to this property.

This way you can tell whether to unmute notification sounds or not, in case the user had them explicitly muted previously.

Note
This does not actually mute or unmute the actual sound stream, you need to do this yourself using e.g. PulseAudio.

Definition at line 200 of file settings.h.

◆ permanentJobPopups

bool NotificationManager::Settings::permanentJobPopups
readwrite

Whether application jobs stay visible for the whole duration of the job.

Definition at line 72 of file settings.h.

◆ popupBlacklistedApplications

QStringList NotificationManager::Settings::popupBlacklistedApplications
read

A list of desktop entries of applications for which no popups should be shown.

Definition at line 87 of file settings.h.

◆ popupBlacklistedServices

QStringList NotificationManager::Settings::popupBlacklistedServices
read

A list of notifyrc names of services for which no popups should be shown.

Definition at line 91 of file settings.h.

◆ popupPosition

PopupPosition NotificationManager::Settings::popupPosition
readwrite

The notification popup position on screen.

CloseToWidget means they should be positioned closely to where the plasmoid is located on screen.

Definition at line 57 of file settings.h.

◆ popupTimeout

int NotificationManager::Settings::popupTimeout
readwrite

The default timeout for notification popups that do not have an explicit timeout set, in milliseconds.

Default is 5000ms (5 seconds).

Definition at line 63 of file settings.h.

◆ screensMirrored

bool NotificationManager::Settings::screensMirrored
readwrite

Whether there currently are mirrored/overlapping screens.

This property is only updated when inhibitNotificationsWhenScreensMirrored is set to true, otherwise it is always false. You can assign false to this property if you want to temporarily revoke automatic do not disturb mode when screens are mirrored until the screen configuration changes.

Since
5.17

Definition at line 158 of file settings.h.

Constructor & Destructor Documentation

◆ Settings() [1/2]

Settings::Settings ( QObject * parent = nullptr)
explicit

Definition at line 151 of file settings.cpp.

◆ Settings() [2/2]

Settings::Settings ( const KSharedConfig::Ptr & config,
QObject * parent = nullptr )
Deprecated

Definition at line 173 of file settings.cpp.

◆ ~Settings()

Settings::~Settings ( )
override

Definition at line 179 of file settings.cpp.

Member Function Documentation

◆ applicationBehavior()

Settings::NotificationBehaviors Settings::applicationBehavior ( const QString & desktopEntry) const

Definition at line 184 of file settings.cpp.

◆ badgeBlacklistedApplications()

QStringList Settings::badgeBlacklistedApplications ( ) const

Definition at line 507 of file settings.cpp.

◆ badgesInTaskManager()

bool Settings::badgesInTaskManager ( ) const

Definition at line 458 of file settings.cpp.

◆ criticalPopupsInDoNotDisturbMode()

bool Settings::criticalPopupsInDoNotDisturbMode ( ) const

Definition at line 356 of file settings.cpp.

◆ defaults()

void Settings::defaults ( )

Definition at line 268 of file settings.cpp.

◆ dirty()

bool Settings::dirty ( ) const

Definition at line 349 of file settings.cpp.

◆ doNotDisturbPopupWhitelistedApplications()

QStringList Settings::doNotDisturbPopupWhitelistedApplications ( ) const

Definition at line 487 of file settings.cpp.

◆ doNotDisturbPopupWhitelistedServices()

QStringList Settings::doNotDisturbPopupWhitelistedServices ( ) const

Definition at line 492 of file settings.cpp.

◆ forgetKnownApplication()

void Settings::forgetKnownApplication ( const QString & desktopEntry)

Definition at line 228 of file settings.cpp.

◆ fullscreenFocused()

bool Settings::fullscreenFocused ( ) const

Definition at line 605 of file settings.cpp.

◆ historyBlacklistedApplications()

QStringList Settings::historyBlacklistedApplications ( ) const

Definition at line 497 of file settings.cpp.

◆ historyBlacklistedServices()

QStringList Settings::historyBlacklistedServices ( ) const

Definition at line 502 of file settings.cpp.

◆ inhibitNotificationsWhenFullscreen()

bool Settings::inhibitNotificationsWhenFullscreen ( ) const

Definition at line 590 of file settings.cpp.

◆ inhibitNotificationsWhenScreenSharing()

bool Settings::inhibitNotificationsWhenScreenSharing ( ) const

Definition at line 575 of file settings.cpp.

◆ inhibitNotificationsWhenScreensMirrored()

bool Settings::inhibitNotificationsWhenScreensMirrored ( ) const

Definition at line 543 of file settings.cpp.

◆ jobsInNotifications()

bool Settings::jobsInNotifications ( ) const

Definition at line 431 of file settings.cpp.

◆ knownApplications()

QStringList Settings::knownApplications ( ) const

Definition at line 472 of file settings.cpp.

◆ live()

bool Settings::live ( ) const

Definition at line 278 of file settings.cpp.

◆ load()

void Settings::load ( )

Definition at line 245 of file settings.cpp.

◆ lowPriorityHistory()

bool Settings::lowPriorityHistory ( ) const

Definition at line 384 of file settings.cpp.

◆ lowPriorityPopups()

bool Settings::lowPriorityPopups ( ) const

Definition at line 370 of file settings.cpp.

◆ notificationInhibitionApplications()

QStringList Settings::notificationInhibitionApplications ( ) const

Definition at line 533 of file settings.cpp.

◆ notificationInhibitionReasons()

QStringList Settings::notificationInhibitionReasons ( ) const

Definition at line 538 of file settings.cpp.

◆ notificationsInhibitedByApplication()

bool Settings::notificationsInhibitedByApplication ( ) const

Definition at line 528 of file settings.cpp.

◆ notificationsInhibitedUntil()

QDateTime Settings::notificationsInhibitedUntil ( ) const

Definition at line 512 of file settings.cpp.

◆ notificationSoundsInhibited()

bool Settings::notificationSoundsInhibited ( ) const

Definition at line 627 of file settings.cpp.

◆ permanentJobPopups()

bool Settings::permanentJobPopups ( ) const

Definition at line 444 of file settings.cpp.

◆ popupBlacklistedApplications()

QStringList Settings::popupBlacklistedApplications ( ) const

Definition at line 477 of file settings.cpp.

◆ popupBlacklistedServices()

QStringList Settings::popupBlacklistedServices ( ) const

Definition at line 482 of file settings.cpp.

◆ popupPosition()

Settings::PopupPosition Settings::popupPosition ( ) const

Definition at line 398 of file settings.cpp.

◆ popupTimeout()

int Settings::popupTimeout ( ) const

Definition at line 412 of file settings.cpp.

◆ registerKnownApplication()

void Settings::registerKnownApplication ( const QString & desktopEntry)

Definition at line 206 of file settings.cpp.

◆ resetNotificationsInhibitedUntil()

void Settings::resetNotificationsInhibitedUntil ( )

Definition at line 523 of file settings.cpp.

◆ resetPopupTimeout()

void Settings::resetPopupTimeout ( )

Definition at line 426 of file settings.cpp.

◆ revokeApplicationInhibitions()

void Settings::revokeApplicationInhibitions ( )

Revoke application notification inhibitions.

Note
Applications are not notified of the fact that their inhibition might have been taken away.

Definition at line 622 of file settings.cpp.

◆ save()

void Settings::save ( )

Definition at line 257 of file settings.cpp.

◆ screensMirrored()

bool Settings::screensMirrored ( ) const

Definition at line 558 of file settings.cpp.

◆ serviceBehavior()

Settings::NotificationBehaviors Settings::serviceBehavior ( const QString & desktopEntry) const

Definition at line 195 of file settings.cpp.

◆ setApplicationBehavior()

void Settings::setApplicationBehavior ( const QString & desktopEntry,
NotificationBehaviors behaviors )

Definition at line 189 of file settings.cpp.

◆ setBadgesInTaskManager()

void Settings::setBadgesInTaskManager ( bool enable)

Definition at line 463 of file settings.cpp.

◆ setCriticalPopupsInDoNotDisturbMode()

void Settings::setCriticalPopupsInDoNotDisturbMode ( bool enable)

Definition at line 361 of file settings.cpp.

◆ setFullscreenFocused()

void Settings::setFullscreenFocused ( bool focused)

Definition at line 610 of file settings.cpp.

◆ setInhibitNotificationsWhenFullscreen()

void Settings::setInhibitNotificationsWhenFullscreen ( bool inhibit)

Definition at line 595 of file settings.cpp.

◆ setInhibitNotificationsWhenScreenSharing()

void Settings::setInhibitNotificationsWhenScreenSharing ( bool inhibit)

Definition at line 580 of file settings.cpp.

◆ setInhibitNotificationsWhenScreensMirrored()

void Settings::setInhibitNotificationsWhenScreensMirrored ( bool mirrored)

Definition at line 548 of file settings.cpp.

◆ setJobsInNotifications()

void Settings::setJobsInNotifications ( bool enable)

Definition at line 435 of file settings.cpp.

◆ setLive()

void Settings::setLive ( bool live)

Definition at line 283 of file settings.cpp.

◆ setLowPriorityHistory()

void Settings::setLowPriorityHistory ( bool enable)

Definition at line 389 of file settings.cpp.

◆ setLowPriorityPopups()

void Settings::setLowPriorityPopups ( bool enable)

Definition at line 375 of file settings.cpp.

◆ setNotificationsInhibitedUntil()

void Settings::setNotificationsInhibitedUntil ( const QDateTime & time)

Definition at line 517 of file settings.cpp.

◆ setNotificationSoundsInhibited()

void Settings::setNotificationSoundsInhibited ( bool inhibited)

Definition at line 632 of file settings.cpp.

◆ setPermanentJobPopups()

void Settings::setPermanentJobPopups ( bool enable)

Definition at line 449 of file settings.cpp.

◆ setPopupPosition()

void Settings::setPopupPosition ( Settings::PopupPosition position)

Definition at line 403 of file settings.cpp.

◆ setPopupTimeout()

void Settings::setPopupTimeout ( int popupTimeout)

Definition at line 417 of file settings.cpp.

◆ setScreensMirrored()

void Settings::setScreensMirrored ( bool enable)

Definition at line 563 of file settings.cpp.

◆ setServiceBehavior()

void Settings::setServiceBehavior ( const QString & desktopEntry,
NotificationBehaviors behaviors )

Definition at line 200 of file settings.cpp.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Apr 25 2025 11:55:44 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.