File indexing completed on 2024-04-28 11:20:43

0001 /*
0002     This program is free software; you can redistribute it and/or
0003     modify it under the terms of the GNU General Public License
0004     as published by the Free Software Foundation; either version 2
0005     of the License, or (at your option) any later version.
0006 
0007     This program is distributed in the hope that it will be useful,
0008     but WITHOUT ANY WARRANTY; without even the implied warranty of
0009     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
0010     GNU General Public License for more details.
0011 
0012     You should have received a copy of the GNU General Public License
0013     along with this program; if not, write to the Free Software
0014     Foundation, Inc., 51 Franklin Street, Fifth Floor,
0015     Boston, MA  02110-1301, USA.
0016 
0017     ---
0018     Copyright (C) 2020-2022 Alexander Semke <alexander.semke@web.de>
0019  */
0020 
0021 #include "scilabsettingswidget.h"
0022 
0023 ScilabSettingsWidget::ScilabSettingsWidget(QWidget* parent, const QString& id) : BackendSettingsWidget(parent, id)
0024 {
0025     setupUi(this);
0026 
0027     m_tabWidget = tabWidget;
0028     m_tabDocumentation = tabDocumentation;
0029     m_urlRequester = kcfg_Path;
0030 
0031     connect(tabWidget, &QTabWidget::currentChanged, this, &BackendSettingsWidget::tabChanged);
0032     connect(kcfg_Path, &KUrlRequester::textChanged, this, &BackendSettingsWidget::fileNameChanged);
0033 }