From 4f1e2ee030f01facefab808f687d301c37707f74 Mon Sep 17 00:00:00 2001 From: am Date: Fri, 10 Jul 2009 15:53:58 +0000 Subject: -fixed selection handling -implemented proper window titles (not yet working) git-svn-id: file:///var/svn/repos2/shemov/trunk@382 f440f766-f032-0410-8965-dc7d17de2ca0 --- filesystemwidget.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'filesystemwidget.h') diff --git a/filesystemwidget.h b/filesystemwidget.h index cef32c4..916ca83 100644 --- a/filesystemwidget.h +++ b/filesystemwidget.h @@ -25,6 +25,9 @@ class FilesystemWidget : public QWidget { ~FilesystemWidget() {}; FileView *fileView() { return mFileView; }; + signals: + void windowTitle(const QString &); + public slots: void directoryChanged(const QModelIndex &selected, const QModelIndex &); void directoryEdited(); @@ -32,6 +35,7 @@ class FilesystemWidget : public QWidget { void parentDir(); private: + void setWindowTitle(const QString &dir); QDirModel *mModel; QTreeView *mDirView; FileView *mFileView; -- cgit v1.2.3-70-g09d2