KReport

KReportDetailGroupSectionDialog.cpp
1/* This file is part of the KDE project
2 * Copyright (C) 2001-2007 by OpenMFG, LLC (info@openmfg.com)
3 * Copyright (C) 2007-2008 by Adam Pigg (adam@piggz.co.uk)
4 *
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation; either
8 * version 2.1 of the License, or (at your option) any later version.
9 *
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Lesser General Public License for more details.
14 *
15 * You should have received a copy of the GNU Lesser General Public
16 * License along with this library. If not, see <http://www.gnu.org/licenses/>.
17 */
18
19#include "KReportDetailGroupSectionDialog.h"
20
21/*
22 * Constructs a DetailGroupSectionDialog as a child of 'parent'.
23 *
24 * The dialog will by default be modeless, unless you set 'modal' to
25 * true to construct a modal dialog.
26 */
27KReportDetailGroupSectionDialog::KReportDetailGroupSectionDialog(QWidget* parent)
28 : QDialog(parent)
29{
30 setupUi(this);
31
32 connect(buttonBox, SIGNAL(accepted()), this, SLOT(accept()));
33 connect(buttonBox, SIGNAL(rejected()), this, SLOT(reject()));
34
35 setWindowTitle(tr("Group Section Editor"));
36}
37
38/*
39 * Destroys the object and frees any allocated resources
40 */
41KReportDetailGroupSectionDialog::~KReportDetailGroupSectionDialog()
42{
43 // no need to delete child widgets, Qt does it all for us
44}
QFuture< ArgsType< Signal > > connect(Sender *sender, Signal signal)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:19:58 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.