customdialog.h (krename-4.0.9) | : | customdialog.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 _CUSTOM_DIALOG_H_ | #ifndef CUSTOM_DIALOG_H | |||
#define _CUSTOM_DIALOG_H_ | #define CUSTOM_DIALOG_H | |||
#include <kdialog.h> | #include <QDialog> | |||
#include "ui_customfilenamedlg.h" | #include "ui_customfilenamedlg.h" | |||
#include "batchrenamer.h" | #include "batchrenamer.h" | |||
#include <KSharedConfig> | ||||
class KRenameFile; | class KRenameFile; | |||
class CustomDialog : public KDialog { | class CustomDialog : public QDialog | |||
Q_OBJECT | { | |||
public: | Q_OBJECT | |||
CustomDialog( const KRenameFile & file, QWidget* parent ); | public: | |||
CustomDialog(const KRenameFile &file, QWidget *parent); | ||||
~CustomDialog(); | ~CustomDialog(); | |||
/** | /** | |||
* \returns true if the current user settings | * \returns true if the current user settings | |||
* specify manual changes to the filename | * specify manual changes to the filename | |||
*/ | */ | |||
bool hasManualChanges() const; | bool hasManualChanges() const; | |||
/** | /** | |||
* \returns the manually changed filename | * \returns the manually changed filename | |||
*/ | */ | |||
const QString manualChanges() const; | const QString manualChanges() const; | |||
/** | /** | |||
* \returns the manual change mode | * \returns the manual change mode | |||
*/ | */ | |||
EManualChangeMode manualChangeMode() const; | EManualChangeMode manualChangeMode() const; | |||
private slots: | private Q_SLOTS: | |||
void slotEnableControls(); | void slotEnableControls(); | |||
private: | private: | |||
Ui::CustomFilenameDlg m_widget; | Ui::CustomFilenameDlg m_widget; | |||
}; | }; | |||
#endif // _CUSTOM_DIALOG_H_ | #endif // CUSTOM_DIALOG_H | |||
End of changes. 7 change blocks. | ||||
9 lines changed or deleted | 11 lines changed or added |