summaryrefslogtreecommitdiffstats
path: root/fileview.h
diff options
context:
space:
mode:
authorArno <am@disconnect.de>2010-12-18 12:02:44 +0100
committerArno <am@disconnect.de>2010-12-18 12:02:44 +0100
commit8abf0a7882dbd1c80e24e5d01b79cd1cf60925e2 (patch)
tree498ca056a3de589b546c4a2602fa0c1268fcac74 /fileview.h
parent4f64bd4ee5b465fe64237500b32b03f286dd7faf (diff)
downloadSheMov-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.h4
1 files changed, 4 insertions, 0 deletions
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();