Warning, file /utilities/krename/src/customdialog.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001 /*************************************************************************** 0002 customdialog.h - description 0003 ------------------- 0004 begin : Sat Oct 06 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 #ifndef CUSTOM_DIALOG_H 0019 #define CUSTOM_DIALOG_H 0020 0021 #include <QDialog> 0022 #include "ui_customfilenamedlg.h" 0023 #include "batchrenamer.h" 0024 #include <KSharedConfig> 0025 0026 class KRenameFile; 0027 0028 class CustomDialog : public QDialog 0029 { 0030 Q_OBJECT 0031 public: 0032 CustomDialog(const KRenameFile &file, QWidget *parent); 0033 ~CustomDialog(); 0034 0035 /** 0036 * \returns true if the current user settings 0037 * specify manual changes to the filename 0038 */ 0039 bool hasManualChanges() const; 0040 0041 /** 0042 * \returns the manually changed filename 0043 */ 0044 const QString manualChanges() const; 0045 0046 /** 0047 * \returns the manual change mode 0048 */ 0049 EManualChangeMode manualChangeMode() const; 0050 0051 private Q_SLOTS: 0052 void slotEnableControls(); 0053 0054 private: 0055 Ui::CustomFilenameDlg m_widget; 0056 }; 0057 0058 #endif // CUSTOM_DIALOG_H