File indexing completed on 2024-04-21 05:54:03
0001 /* 0002 SPDX-License-Identifier: GPL-2.0-or-later 0003 */ 0004 0005 #include "notificator.h" 0006 0007 #include <KLocalizedString> 0008 #include <KNotification> 0009 0010 void Notificator::onShortTimerReset() 0011 { 0012 KNotification::event("short timer reset", QString(), i18n("Timer for the short break has now been reset"), QStringLiteral("rsibreak0")); 0013 } 0014 0015 void Notificator::onTimersReset() 0016 { 0017 KNotification::event("timers reset", QString(), i18n("The timers have now been reset"), QStringLiteral("rsibreak0")); 0018 } 0019 0020 void Notificator::onStartLongBreak() 0021 { 0022 KNotification::event("start long break", i18n("Start of a long break")); 0023 } 0024 0025 void Notificator::onEndLongBreak() 0026 { 0027 KNotification::event("end long break", i18n("End of a long break")); 0028 } 0029 0030 void Notificator::onStartShortBreak() 0031 { 0032 KNotification::event("start short break", i18n("Start of a short break")); 0033 } 0034 0035 void Notificator::onEndShortBreak() 0036 { 0037 KNotification::event("end short break", i18n("End of a short break")); 0038 }