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
 
QStringList historyBlacklistedApplications
 
QStringList historyBlacklistedServices
 
bool inhibitNotificationsWhenScreenSharing
 
bool inhibitNotificationsWhenScreensMirrored
 
bool jobsInNotifications
 
bool keepNormalAlwaysOnTop
 
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 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)
 
QStringList historyBlacklistedApplications () const
 
QStringList historyBlacklistedServices () const
 
bool inhibitNotificationsWhenScreenSharing () const
 
bool inhibitNotificationsWhenScreensMirrored () const
 
bool jobsInNotifications () const
 
bool keepNormalAlwaysOnTop () 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 setInhibitNotificationsWhenScreenSharing (bool inhibit)
 
void setInhibitNotificationsWhenScreensMirrored (bool mirrored)
 
void setJobsInNotifications (bool enable)
 
void setKeepNormalAlwaysOnTop (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 34 of file settings.h.

Member Typedef Documentation

◆ NotificationBehaviors

Definition at line 228 of file settings.h.

Member Enumeration Documentation

◆ NotificationBehavior

enum NotificationManager::Settings::NotificationBehavior

Definition at line 221 of file settings.h.

◆ PopupPosition

enum NotificationManager::Settings::PopupPosition

Definition at line 210 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 117 of file settings.h.

◆ badgesInTaskManager

bool NotificationManager::Settings::badgesInTaskManager
readwrite

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

Definition at line 80 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 42 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 200 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 99 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 103 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 108 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 112 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 168 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 148 of file settings.h.

◆ jobsInNotifications

bool NotificationManager::Settings::jobsInNotifications
readwrite

Whether to show application jobs as notifications.

Definition at line 71 of file settings.h.

◆ keepNormalAlwaysOnTop

bool NotificationManager::Settings::keepNormalAlwaysOnTop
readwrite

Whether to keep normal notifications always on top.

Definition at line 46 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 85 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 193 of file settings.h.

◆ lowPriorityHistory

bool NotificationManager::Settings::lowPriorityHistory
readwrite

Whether to add low priority notifications to the history.

Definition at line 54 of file settings.h.

◆ lowPriorityPopups

bool NotificationManager::Settings::lowPriorityPopups
readwrite

Whether to show popups for low priority notifications.

Definition at line 50 of file settings.h.

◆ notificationInhibitionApplications

QStringList NotificationManager::Settings::notificationInhibitionApplications
read

Definition at line 139 of file settings.h.

◆ notificationInhibitionReasons

QStringList NotificationManager::Settings::notificationInhibitionReasons
read

Definition at line 141 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 137 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 126 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 183 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 75 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 90 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 94 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 60 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 66 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 161 of file settings.h.

Constructor & Destructor Documentation

◆ Settings() [1/2]

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

Definition at line 152 of file settings.cpp.

◆ Settings() [2/2]

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

Definition at line 169 of file settings.cpp.

◆ ~Settings()

Settings::~Settings ( )
override

Definition at line 175 of file settings.cpp.

Member Function Documentation

◆ applicationBehavior()

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

Definition at line 180 of file settings.cpp.

◆ badgeBlacklistedApplications()

QStringList Settings::badgeBlacklistedApplications ( ) const

Definition at line 501 of file settings.cpp.

◆ badgesInTaskManager()

bool Settings::badgesInTaskManager ( ) const

Definition at line 452 of file settings.cpp.

◆ criticalPopupsInDoNotDisturbMode()

bool Settings::criticalPopupsInDoNotDisturbMode ( ) const

Definition at line 336 of file settings.cpp.

◆ defaults()

void Settings::defaults ( )

Definition at line 264 of file settings.cpp.

◆ dirty()

bool Settings::dirty ( ) const

Definition at line 329 of file settings.cpp.

◆ doNotDisturbPopupWhitelistedApplications()

QStringList Settings::doNotDisturbPopupWhitelistedApplications ( ) const

Definition at line 481 of file settings.cpp.

◆ doNotDisturbPopupWhitelistedServices()

QStringList Settings::doNotDisturbPopupWhitelistedServices ( ) const

Definition at line 486 of file settings.cpp.

◆ forgetKnownApplication()

void Settings::forgetKnownApplication ( const QString & desktopEntry)

Definition at line 224 of file settings.cpp.

◆ historyBlacklistedApplications()

QStringList Settings::historyBlacklistedApplications ( ) const

Definition at line 491 of file settings.cpp.

◆ historyBlacklistedServices()

QStringList Settings::historyBlacklistedServices ( ) const

Definition at line 496 of file settings.cpp.

◆ inhibitNotificationsWhenScreenSharing()

bool Settings::inhibitNotificationsWhenScreenSharing ( ) const

Definition at line 569 of file settings.cpp.

◆ inhibitNotificationsWhenScreensMirrored()

bool Settings::inhibitNotificationsWhenScreensMirrored ( ) const

Definition at line 537 of file settings.cpp.

◆ jobsInNotifications()

bool Settings::jobsInNotifications ( ) const

Definition at line 425 of file settings.cpp.

◆ keepNormalAlwaysOnTop()

bool Settings::keepNormalAlwaysOnTop ( ) const

Definition at line 350 of file settings.cpp.

◆ knownApplications()

QStringList Settings::knownApplications ( ) const

Definition at line 466 of file settings.cpp.

◆ live()

bool Settings::live ( ) const

Definition at line 274 of file settings.cpp.

◆ load()

void Settings::load ( )

Definition at line 241 of file settings.cpp.

◆ lowPriorityHistory()

bool Settings::lowPriorityHistory ( ) const

Definition at line 378 of file settings.cpp.

◆ lowPriorityPopups()

bool Settings::lowPriorityPopups ( ) const

Definition at line 364 of file settings.cpp.

◆ notificationInhibitionApplications()

QStringList Settings::notificationInhibitionApplications ( ) const

Definition at line 527 of file settings.cpp.

◆ notificationInhibitionReasons()

QStringList Settings::notificationInhibitionReasons ( ) const

Definition at line 532 of file settings.cpp.

◆ notificationsInhibitedByApplication()

bool Settings::notificationsInhibitedByApplication ( ) const

Definition at line 522 of file settings.cpp.

◆ notificationsInhibitedUntil()

QDateTime Settings::notificationsInhibitedUntil ( ) const

Definition at line 506 of file settings.cpp.

◆ notificationSoundsInhibited()

bool Settings::notificationSoundsInhibited ( ) const

Definition at line 589 of file settings.cpp.

◆ permanentJobPopups()

bool Settings::permanentJobPopups ( ) const

Definition at line 438 of file settings.cpp.

◆ popupBlacklistedApplications()

QStringList Settings::popupBlacklistedApplications ( ) const

Definition at line 471 of file settings.cpp.

◆ popupBlacklistedServices()

QStringList Settings::popupBlacklistedServices ( ) const

Definition at line 476 of file settings.cpp.

◆ popupPosition()

Settings::PopupPosition Settings::popupPosition ( ) const

Definition at line 392 of file settings.cpp.

◆ popupTimeout()

int Settings::popupTimeout ( ) const

Definition at line 406 of file settings.cpp.

◆ registerKnownApplication()

void Settings::registerKnownApplication ( const QString & desktopEntry)

Definition at line 202 of file settings.cpp.

◆ resetNotificationsInhibitedUntil()

void Settings::resetNotificationsInhibitedUntil ( )

Definition at line 517 of file settings.cpp.

◆ resetPopupTimeout()

void Settings::resetPopupTimeout ( )

Definition at line 420 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 584 of file settings.cpp.

◆ save()

void Settings::save ( )

Definition at line 253 of file settings.cpp.

◆ screensMirrored()

bool Settings::screensMirrored ( ) const

Definition at line 552 of file settings.cpp.

◆ serviceBehavior()

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

Definition at line 191 of file settings.cpp.

◆ setApplicationBehavior()

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

Definition at line 185 of file settings.cpp.

◆ setBadgesInTaskManager()

void Settings::setBadgesInTaskManager ( bool enable)

Definition at line 457 of file settings.cpp.

◆ setCriticalPopupsInDoNotDisturbMode()

void Settings::setCriticalPopupsInDoNotDisturbMode ( bool enable)

Definition at line 341 of file settings.cpp.

◆ setInhibitNotificationsWhenScreenSharing()

void Settings::setInhibitNotificationsWhenScreenSharing ( bool inhibit)

Definition at line 574 of file settings.cpp.

◆ setInhibitNotificationsWhenScreensMirrored()

void Settings::setInhibitNotificationsWhenScreensMirrored ( bool mirrored)

Definition at line 542 of file settings.cpp.

◆ setJobsInNotifications()

void Settings::setJobsInNotifications ( bool enable)

Definition at line 429 of file settings.cpp.

◆ setKeepNormalAlwaysOnTop()

void Settings::setKeepNormalAlwaysOnTop ( bool enable)

Definition at line 355 of file settings.cpp.

◆ setLive()

void Settings::setLive ( bool live)

Definition at line 279 of file settings.cpp.

◆ setLowPriorityHistory()

void Settings::setLowPriorityHistory ( bool enable)

Definition at line 383 of file settings.cpp.

◆ setLowPriorityPopups()

void Settings::setLowPriorityPopups ( bool enable)

Definition at line 369 of file settings.cpp.

◆ setNotificationsInhibitedUntil()

void Settings::setNotificationsInhibitedUntil ( const QDateTime & time)

Definition at line 511 of file settings.cpp.

◆ setNotificationSoundsInhibited()

void Settings::setNotificationSoundsInhibited ( bool inhibited)

Definition at line 594 of file settings.cpp.

◆ setPermanentJobPopups()

void Settings::setPermanentJobPopups ( bool enable)

Definition at line 443 of file settings.cpp.

◆ setPopupPosition()

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

Definition at line 397 of file settings.cpp.

◆ setPopupTimeout()

void Settings::setPopupTimeout ( int popupTimeout)

Definition at line 411 of file settings.cpp.

◆ setScreensMirrored()

void Settings::setScreensMirrored ( bool enable)

Definition at line 557 of file settings.cpp.

◆ setServiceBehavior()

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

Definition at line 196 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-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:17:42 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.