diff options
author | Arno <am@disconnect.de> | 2010-12-18 12:02:44 +0100 |
---|---|---|
committer | Arno <am@disconnect.de> | 2010-12-18 12:02:44 +0100 |
commit | 8abf0a7882dbd1c80e24e5d01b79cd1cf60925e2 (patch) | |
tree | 498ca056a3de589b546c4a2602fa0c1268fcac74 /fileview.h | |
parent | 4f64bd4ee5b465fe64237500b32b03f286dd7faf (diff) | |
download | SheMov-8abf0a7882dbd1c80e24e5d01b79cd1cf60925e2.tar.gz SheMov-8abf0a7882dbd1c80e24e5d01b79cd1cf60925e2.tar.bz2 SheMov-8abf0a7882dbd1c80e24e5d01b79cd1cf60925e2.zip |
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...
Diffstat (limited to 'fileview.h')
-rw-r--r-- | fileview.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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(); |