1 /*
2     SPDX-FileCopyrightText: 1998-2008 Sebastian Trueg <trueg@k3b.org>
3 
4     SPDX-License-Identifier: GPL-2.0-or-later
5 */
6 
7 
8 #include "k3bnotifyoptiontab.h"
9 
10 #include <KNotifyConfigWidget>
11 
12 #include <QDebug>
13 #include <QHBoxLayout>
14 
15 
16 
NotifyOptionTab(QWidget * parent)17 K3b::NotifyOptionTab::NotifyOptionTab( QWidget* parent )
18     : QWidget( parent )
19 {
20     m_notifyWidget = new KNotifyConfigWidget(this);
21     m_notifyWidget->setApplication();
22     QHBoxLayout* layout = new QHBoxLayout( this );
23     layout->setContentsMargins( 0, 0, 0, 0 );
24     layout->addWidget( m_notifyWidget );
25 }
26 
27 
~NotifyOptionTab()28 K3b::NotifyOptionTab::~NotifyOptionTab()
29 {
30 }
31 
32 
readSettings()33 void K3b::NotifyOptionTab::readSettings()
34 {
35 }
36 
37 
saveSettings()38 bool K3b::NotifyOptionTab::saveSettings()
39 {
40     m_notifyWidget->save();
41     return true;
42 }
43 
44 
45