19 #ifndef PCMANFM_BULKRENAME_H
20 #define PCMANFM_BULKRENAME_H
22 #include "ui_bulk-rename.h"
25 #include <libfm-qt/core/fileinfo.h>
33 explicit BulkRenameDialog(QWidget* parent =
nullptr, Qt::WindowFlags flags = Qt::WindowFlags());
35 QString getBaseName()
const {
36 return ui.lineEdit->text();
38 int getStart()
const {
39 return ui.spinBox->value();
41 bool getZeroPadding()
const {
42 return ui.zeroBox->isChecked();
44 bool getRespectLocale()
const {
45 return ui.localeBox->isChecked();
49 virtual void showEvent(QShowEvent* event)
override;
52 Ui::BulkRenameDialog ui;
57 BulkRenamer(
const Fm::FileInfoList& files, QWidget* parent =
nullptr);
Definition: bulkrename.h:55