From ab474b97614825636831a81c7ea8097ef7b14af9 Mon Sep 17 00:00:00 2001 From: Arno Date: Sat, 14 Sep 2013 12:18:39 +0200 Subject: Add toolbars to tabs Remove global toolbar and add a toolbar to each tab instead. --- filesystemwidget.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'filesystemwidget.h') diff --git a/filesystemwidget.h b/filesystemwidget.h index 751a805..6df9ce7 100644 --- a/filesystemwidget.h +++ b/filesystemwidget.h @@ -22,6 +22,7 @@ class PictureViewer2; class FileSystemModel; class SheMovIconProvider; class SmDirModel; +class QToolBar; class FilesystemWidget : public QWidget { Q_OBJECT @@ -34,6 +35,7 @@ class FilesystemWidget : public QWidget { SmDirModel *fileModel() { return mFileModel; } const QString windowTitle() const { return mWindowTitle; } PictureViewer2 *pictureViewer() { return mPicViewer; } + QToolBar *toolBar() { return mToolBar; } bool isMounted(); signals: @@ -82,6 +84,7 @@ class FilesystemWidget : public QWidget { FileView *mFileView; FilesystemDirProxy *mDirProxy; FilesystemFileProxy *mFileProxy; + QToolBar *mToolBar; QLineEdit *mDirEdit; QString mWindowTitle; QString mTemplate; -- cgit v1.2.3-70-g09d2