"Fossies" - the Fresh Open Source Software Archive  

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

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

tokensortmodedialog.h  (krename-4.0.9):tokensortmodedialog.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 _TOKEN_SORT_MODE_DIALOG_H_ #ifndef TOKEN_SORT_MODE_DIALOG_H
#define _TOKEN_SORT_MODE_DIALOG_H_ #define TOKEN_SORT_MODE_DIALOG_H
#include <QDialog> #include <QDialog>
#include "ui_tokensortmodedialog.h" #include "ui_tokensortmodedialog.h"
#include "krenametokensorter.h" #include "krenametokensorter.h"
/** /**
* This is a dialog to define custom sorting. * This is a dialog to define custom sorting.
*/ */
class TokenSortModeDialog : public QDialog { class TokenSortModeDialog : public QDialog
Q_OBJECT {
public: Q_OBJECT
TokenSortModeDialog( KRenameTokenSorter::ESimpleSortMode eSortMode, QWidget* public:
parent = NULL ); explicit TokenSortModeDialog(KRenameTokenSorter::ESimpleSortMode eSortMode,
QWidget *parent = nullptr);
/** /**
* Get the currently selected sort mode. * Get the currently selected sort mode.
* @returns the sort mode * @returns the sort mode
*/ */
KRenameTokenSorter::ESimpleSortMode getSortMode() const; KRenameTokenSorter::ESimpleSortMode getSortMode() const;
/** /**
* Get the token selected by the user. * Get the token selected by the user.
* @returns the token * @returns the token
*/ */
QString getToken() const; QString getToken() const;
private: private:
/** /**
* Load all available tokens. * Load all available tokens.
*/ */
void initTokens(); void initTokens();
private slots: private Q_SLOTS:
void slotEnableControls(); void slotEnableControls();
private: private:
Ui::TokenSortModeDialog m_dialog; Ui::TokenSortModeDialog m_dialog;
}; };
#endif // _TOKEN_SORT_MODE_DIALOG_H_ #endif // TOKEN_SORT_MODE_DIALOG_H
 End of changes. 6 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)