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... --- filesystemwidget.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'filesystemwidget.h') 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; -- cgit v1.2.3-70-g09d2