Warning, file /utilities/krename/src/firststartdlg.cpp was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001 /*************************************************************************** 0002 firststartdlg.cpp - description 0003 ------------------- 0004 begin : Sat Mar 24 2007 0005 copyright : (C) 2007 by Dominik Seichter 0006 email : domseichter@web.de 0007 ***************************************************************************/ 0008 0009 /*************************************************************************** 0010 * * 0011 * This program is free software; you can redistribute it and/or modify * 0012 * it under the terms of the GNU General Public License as published by * 0013 * the Free Software Foundation; either version 2 of the License, or * 0014 * (at your option) any later version. * 0015 * * 0016 ***************************************************************************/ 0017 0018 #include "firststartdlg.h" 0019 0020 #include <QDialogButtonBox> 0021 #include <QVBoxLayout> 0022 0023 FirstStartDlg::FirstStartDlg(QWidget *parent) 0024 : QDialog(parent) 0025 { 0026 QVBoxLayout *layout = new QVBoxLayout(this); 0027 QWidget *widget = new QWidget(this); 0028 0029 m_selector.setupUi(widget); 0030 m_buttons = new QDialogButtonBox(QDialogButtonBox::Ok, Qt::Horizontal, this); 0031 0032 layout->addWidget(widget); 0033 layout->addWidget(m_buttons); 0034 0035 connect(m_buttons, &QDialogButtonBox::accepted, 0036 this, &FirstStartDlg::accept); 0037 } 0038