File indexing completed on 2024-05-19 05:08:12
0001 /* 0002 SPDX-FileCopyrightText: 2017 Ralf Habacker <ralf.habacker@freenet.de> 0003 SPDX-FileCopyrightText: 2017 Łukasz Wojniłowicz <lukasz.wojnilowicz@gmail.com> 0004 SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 0007 #include "ktemplateexportdlg.h" 0008 #include "ui_ktemplateexportdlg.h" 0009 0010 KTemplateExportDlg::KTemplateExportDlg(QWidget *parent) : 0011 QDialog(parent), 0012 ui(new Ui::KTemplateExportDlg) 0013 { 0014 ui->setupUi(this); 0015 } 0016 0017 KTemplateExportDlg::~KTemplateExportDlg() 0018 { 0019 delete ui; 0020 } 0021 0022 QString KTemplateExportDlg::title() const 0023 { 0024 return ui->m_title->text(); 0025 } 0026 0027 QString KTemplateExportDlg::shortDescription() const 0028 { 0029 return ui->m_shortDescription->text(); 0030 } 0031 0032 QString KTemplateExportDlg::longDescription() const 0033 { 0034 return ui->m_longDescription->document()->toPlainText(); 0035 }