PimCommon::RenameFileDialog Class

The RenameFileDialog class provides a dialog for renaming files Author: Laurent Montel <montel@kde.org>. More...

Header: #include <PimCommon/RenameFileDialog>
CMake: find_package(KPim6PimCommon REQUIRED)
target_link_libraries(mytarget PRIVATE KPim6::PimCommon)

Public Functions

RenameFileDialog(const QUrl &url, bool multiFiles, QWidget *parent)
virtual ~RenameFileDialog() override
QUrl newName() const

Detailed Description

Member Function Documentation

[explicit] RenameFileDialog::RenameFileDialog(const QUrl &url, bool multiFiles, QWidget *parent)

Constructs a RenameFileDialog. @param url The URL of the file to rename @param multiFiles Whether this dialog is for multiple files @param parent The parent widget

[override virtual noexcept] RenameFileDialog::~RenameFileDialog()

Destructs the RenameFileDialog.

QUrl RenameFileDialog::newName() const

Returns the new name entered by the user. @return The new file URL