File indexing completed on 2024-05-05 10:18:06
0001 /* 0002 SPDX-FileCopyrightText: 2010 Tom Albers <toma@kde.org> 0003 0004 SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 0007 // Local includes. 0008 #include "setupnotifications.h" 0009 0010 // QT includes. 0011 #include <QVBoxLayout> 0012 0013 // KDE includes. 0014 #include <KNotifyConfigWidget> 0015 0016 SetupNotifications::SetupNotifications(QWidget *parent) 0017 : QWidget(parent) 0018 { 0019 QVBoxLayout *l = new QVBoxLayout(this); 0020 m_notify = new KNotifyConfigWidget(this); 0021 m_notify->setApplication("rsibreak"); 0022 l->addWidget(m_notify); 0023 } 0024 0025 SetupNotifications::~SetupNotifications() 0026 { 0027 } 0028 0029 void SetupNotifications::save() 0030 { 0031 m_notify->save(); 0032 }