File indexing completed on 2025-03-16 10:52:55

0001 /* This file is part of the KDE project
0002    SPDX-FileCopyrightText: 2003 Robert JACOLIN <rjacolin@ifrance.com>
0003 
0004    SPDX-License-Identifier: LGPL-2.0-or-later
0005    This file use code from koTemplateOpenDia for the method chooseSlot.
0006 */
0007 
0008 #include <latexexportIface.h>
0009 #include "kspreadlatexexportdiaImpl.h"
0010 
0011 /*
0012  *  Constructs a WordsLatexExportDia which is a child of 'parent', with the
0013  *  name 'name' and widget flags set to 'f'.
0014  *
0015  *  The dialog will by default be modeless, unless you set 'modal' to
0016  *  true to construct a modal dialog.
0017  */
0018 LatexExportIface::LatexExportIface(KSpreadLatexExportDiaImpl* dia)
0019         : DCOPObject("FilterConfigDia")
0020 {
0021     _dialog = dia;
0022 }
0023 
0024 LatexExportIface::~LatexExportIface()
0025 {
0026 }
0027 
0028 void LatexExportIface::useDefaultConfig()
0029 {
0030     _dialog->accept();
0031 }
0032