File indexing completed on 2024-12-22 04:40:00
0001 /* 0002 SPDX-FileCopyrightText: 2007-2009 Sergio Pistone <sergio_pistone@yahoo.com.ar> 0003 SPDX-FileCopyrightText: 2010-2022 Mladen Milinkovic <max@smoothware.net> 0004 0005 SPDX-License-Identifier: GPL-2.0-or-later 0006 */ 0007 0008 #include "generalconfigwidget.h" 0009 0010 #include "appglobal.h" 0011 #include "application.h" 0012 0013 using namespace SubtitleComposer; 0014 0015 GeneralConfigWidget::GeneralConfigWidget(QWidget *parent) 0016 : QWidget(parent) 0017 { 0018 setupUi(this); 0019 0020 kcfg_DefaultSubtitlesEncoding->addItems(app()->availableEncodingNames()); 0021 kcfg_DefaultSubtitlesEncoding->setProperty("kcfg_property", QByteArray("currentText")); 0022 } 0023 0024 GeneralConfigWidget::~GeneralConfigWidget() 0025 { 0026 0027 }