21 #include "ui_renamedialog.h" 26 m_path(std::move(path))
31 ui->m_label->setText(
tr(
"L'élément « %1 » existe déjà. Que souhaitez-vous faire ?").arg(
m_path));
32 ui->lineEdit->setText(
m_name + QDate::currentDate().toString(
"dd-MM-yy"));
42 if (arg1.isEmpty() || (arg1 ==
m_name))
43 ui->m_rename_pb->setDisabled(
true);
45 ui->m_rename_pb->setEnabled(
true);
abort the whole operation, ignoring the curent item
the target has to be renamed
Erase the target content.