KIO::RenameFileDialog Class

Dialog for renaming a variable number of files. More...

Header: #include <KIO/RenameFileDialog>
CMake: find_package(KF6 REQUIRED COMPONENTS KIO)
target_link_libraries(mytarget PRIVATE KF6::KIOWidgets)
Since: 5.67
Inherits: QDialog

Public Functions

RenameFileDialog(const KFileItemList &items, QWidget *parent)

Signals

void error(KJob *error)
void renamingFinished(const QList<QUrl> &urls)

Detailed Description

The dialog deletes itself when accepted or rejected.

Member Function Documentation

[explicit] RenameFileDialog::RenameFileDialog(const KFileItemList &items, QWidget *parent)

Constructs the Dialog to rename file(s)

parent the parent QWidget

items a non-empty list of items to rename

[signal] void RenameFileDialog::error(KJob *error)

[signal] void RenameFileDialog::renamingFinished(const QList<QUrl> &urls)