From 8abf0a7882dbd1c80e24e5d01b79cd1cf60925e2 Mon Sep 17 00:00:00 2001 From: Arno Date: Sat, 18 Dec 2010 12:02:44 +0100 Subject: Fix rename files in FSWidget Rename files inline, letting the model do all the work. Part of getting rid of MessageDialog. Maybe this broke the filename templates. We'll see... --- fileview.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'fileview.h') diff --git a/fileview.h b/fileview.h index 7f35fdc..f3bb349 100644 --- a/fileview.h +++ b/fileview.h @@ -31,6 +31,7 @@ class FileView : public QTreeView { void delFiles(); void enterPressed(const QModelIndex &); void statusbarMessage(const QString &); + void editorClosed(const QModelIndex &idx); public slots: void markFiles(); @@ -38,6 +39,9 @@ class FileView : public QTreeView { void createFolder(); void readConfig(); + protected slots: + virtual void closeEditor(QWidget *editor, QAbstractItemDelegate::EndEditHint hint); + private slots: void doMark(); void doCreateFolder(); -- cgit v1.2.3-70-g09d2