#ifndef RENAMEDIALOG_H
#define RENAMEDIALOG_H
-#include "libdolphin_export.h"
+#include "dolphin_export.h"
#include <QDialog>
#include <KFileItem>
/**
* @brief Dialog for renaming a variable number of files.
*/
-class LIBDOLPHINPRIVATE_EXPORT RenameDialog : public QDialog
+class DOLPHIN_EXPORT RenameDialog : public QDialog
{
Q_OBJECT
void slotAccepted();
void slotTextChanged(const QString& newName);
+protected:
+ void showEvent(QShowEvent* event) override;
+
private:
void renameItems();
void renameItem(const KFileItem &item, const QString& newName);