"Fossies" - the Fresh Open Source Software Archive  

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

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

firststartdlg.h  (krename-4.0.9):firststartdlg.h  (krename-4.90.90)
skipping to change at line 18 skipping to change at line 18
/*************************************************************************** /***************************************************************************
* * * *
* This program is free software; you can redistribute it and/or modify * * This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by * * it under the terms of the GNU General Public License as published by *
* 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. *
* * * *
***************************************************************************/ ***************************************************************************/
#ifndef _FIRSTSTARTDLG_H_ #ifndef FIRSTSTARTDLG_H
#define _FIRSTSTARTDLG_H_ #define FIRSTSTARTDLG_H
#include <QDialog> #include <QDialog>
#include "ui_guimodeselector.h" #include "ui_guimodeselector.h"
#include "krenamewindow.h" // for EGuiMode #include "krenamewindow.h" // for EGuiMode
class QDialogButtonBox; class QDialogButtonBox;
/** /**
* This dialog is shown when KRename is started the first time. * This dialog is shown when KRename is started the first time.
* The user can select wether he wants to use KRename * The user can select whether he wants to use KRename
* in "Wizard" or "Advanced" mode. * in "Assistant" or "Advanced" mode.
* *
* It is a thin wrapper around GuiModeSelector and a QDialogButtonBox * It is a thin wrapper around GuiModeSelector and a QDialogButtonBox
* so that the user has an OK button. * so that the user has an OK button.
*/ */
class FirstStartDlg : public QDialog { class FirstStartDlg : public QDialog
public: {
FirstStartDlg( QWidget* parent = NULL ); public:
explicit FirstStartDlg(QWidget *parent = nullptr);
/** /**
* @returns the selected Gui Mode * @returns the selected Gui Mode
*/ */
inline EGuiMode guiMode() const; inline EGuiMode guiMode() const;
private: private:
Ui::GuiModeSelector m_selector; Ui::GuiModeSelector m_selector;
QDialogButtonBox* m_buttons; QDialogButtonBox *m_buttons;
}; };
EGuiMode FirstStartDlg::guiMode() const EGuiMode FirstStartDlg::guiMode() const
{ {
return m_selector.optionWizard->isChecked() ? eGuiMode_Wizard : eGuiMode_Adv anced; return m_selector.optionWizard->isChecked() ? eGuiMode_Wizard : eGuiMode_Adv anced;
} }
#endif // _FIRSTSTARTDLG_H_ #endif // FIRSTSTARTDLG_H
 End of changes. 6 change blocks. 
9 lines changed or deleted 10 lines changed or added

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