File indexing completed on 2024-04-28 16:26:31

0001 /**************************************************************************
0002 *   Copyright (C) 2007-2019 by Michel Ludwig (michel.ludwig@kdemail.net)  *
0003 *                 2011 by Felix Mauch (felix_mauch@web.de)                *
0004 ***************************************************************************/
0005 
0006 /**************************************************************************
0007 *                                                                         *
0008 *   This program is free software; you can redistribute it and/or modify  *
0009 *   it under the terms of the GNU General Public License as published by  *
0010 *   the Free Software Foundation; either version 2 of the License, or     *
0011 *   (at your option) any later version.                                   *
0012 *                                                                         *
0013 ***************************************************************************/
0014 
0015 #include "widgets/helpconfigwidget.h"
0016 
0017 KileWidgetHelpConfig::KileWidgetHelpConfig(QWidget *parent) : QWidget(parent)
0018 {
0019     setupUi(this);
0020 
0021     connect(m_pbConfigure, SIGNAL(clicked()), this, SLOT(slotConfigure()));
0022 }
0023 
0024 KileWidgetHelpConfig::~KileWidgetHelpConfig()
0025 {
0026 }
0027 
0028 void KileWidgetHelpConfig::slotConfigure()
0029 {
0030     m_help->userHelpDialog();
0031 }
0032 
0033 void KileWidgetHelpConfig::setHelp(KileHelp::Help *help)
0034 {
0035     m_help = help;
0036 }