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 /filesystemwidget.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 'filesystemwidget.h')
-rw-r--r-- | filesystemwidget.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/filesystemwidget.h b/filesystemwidget.h index e41ff52..ee0b9b3 100644 --- a/filesystemwidget.h +++ b/filesystemwidget.h @@ -24,7 +24,6 @@ class QLineEdit; class QFileInfo; class QAction; class QVariant; -class MessageDialog; class PictureViewer; class QStringList; class FileSystemModel; @@ -67,9 +66,9 @@ class FilesystemWidget : public QWidget { void markSeen(); private slots: - void doRenameFile(); void dirExpanded(const QModelIndex &idx); void dirCollapsed(const QModelIndex &idx); + void fileEditorClosed(const QModelIndex &idx); private: void setWindowTitle(const QString &dir); @@ -85,7 +84,6 @@ class FilesystemWidget : public QWidget { FilesystemFileProxy *mFileProxy; QLineEdit *mDirEdit; QString mWindowTitle; - MessageDialog *mRenameDialog; QString mTemplate; qint64 mSize; PictureViewer *mPicViewer; |