File indexing completed on 2024-05-05 04:51:38

0001 /*
0002     SPDX-FileCopyrightText: 1998-2008 Sebastian Trueg <trueg@k3b.org>
0003 
0004     SPDX-License-Identifier: GPL-2.0-or-later
0005 */
0006 
0007 
0008 #include "k3bnotifyoptiontab.h"
0009 
0010 #include <KNotifyConfigWidget>
0011 
0012 #include <QDebug>
0013 #include <QHBoxLayout>
0014 
0015 
0016 
0017 K3b::NotifyOptionTab::NotifyOptionTab( QWidget* parent )
0018     : QWidget( parent )
0019 {
0020     m_notifyWidget = new KNotifyConfigWidget(this);
0021     m_notifyWidget->setApplication();
0022     QHBoxLayout* layout = new QHBoxLayout( this );
0023     layout->setContentsMargins( 0, 0, 0, 0 );
0024     layout->addWidget( m_notifyWidget );
0025 }
0026 
0027 
0028 K3b::NotifyOptionTab::~NotifyOptionTab()
0029 {
0030 }
0031 
0032 
0033 void K3b::NotifyOptionTab::readSettings()
0034 {
0035 }
0036 
0037 
0038 bool K3b::NotifyOptionTab::saveSettings()
0039 {
0040     m_notifyWidget->save();
0041     return true;
0042 }
0043 
0044 #include "moc_k3bnotifyoptiontab.cpp"