"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/firststartdlg.cpp" between
krename-4.0.9.tar.gz and krename-4.90.90.tar.gz

About: KRename is a batch file-renamer (KDE).

firststartdlg.cpp  (krename-4.0.9):firststartdlg.cpp  (krename-4.90.90)
skipping to change at line 23 skipping to change at line 23
* the Free Software Foundation; either version 2 of the License, or * * the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. * * (at your option) any later version. *
* * * *
***************************************************************************/ ***************************************************************************/
#include "firststartdlg.h" #include "firststartdlg.h"
#include <QDialogButtonBox> #include <QDialogButtonBox>
#include <QVBoxLayout> #include <QVBoxLayout>
FirstStartDlg::FirstStartDlg( QWidget* parent ) FirstStartDlg::FirstStartDlg(QWidget *parent)
: QDialog( parent ) : QDialog(parent)
{ {
QVBoxLayout* layout = new QVBoxLayout( this ); QVBoxLayout *layout = new QVBoxLayout(this);
QWidget* widget = new QWidget( this ); QWidget *widget = new QWidget(this);
m_selector.setupUi( widget ); m_selector.setupUi(widget);
m_buttons = new QDialogButtonBox( QDialogButtonBox::Ok, Qt::Horizontal, this m_buttons = new QDialogButtonBox(QDialogButtonBox::Ok, Qt::Horizontal, this)
); ;
layout->addWidget( widget ); layout->addWidget(widget);
layout->addWidget( m_buttons ); layout->addWidget(m_buttons);
connect(m_buttons, SIGNAL(accepted()), this, SLOT(accept())); connect(m_buttons, &QDialogButtonBox::accepted,
this, &FirstStartDlg::accept);
} }
 End of changes. 5 change blocks. 
10 lines changed or deleted 11 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)