summaryrefslogtreecommitdiffstats
path: root/filesystemwidget.h
diff options
context:
space:
mode:
authorArno <am@disconnect.de>2014-07-08 08:13:30 +0200
committerArno <am@disconnect.de>2014-07-08 08:13:30 +0200
commitf76b42f192a82f777cf77f3eecfab9ca7e31e396 (patch)
tree40b15701fc3a5356e044de3ad6ca8274b0d592de /filesystemwidget.h
parentca9cdb39a8b3eafa8106fed84cce013f18b0a114 (diff)
downloadSheMov-f76b42f192a82f777cf77f3eecfab9ca7e31e396.tar.gz
SheMov-f76b42f192a82f777cf77f3eecfab9ca7e31e396.tar.bz2
SheMov-f76b42f192a82f777cf77f3eecfab9ca7e31e396.zip
Display unpack output in Dialog
This was a difficult one. Got lost in the Semantics of QThread once again, but just 2 days later it works :)
Diffstat (limited to 'filesystemwidget.h')
-rw-r--r--filesystemwidget.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/filesystemwidget.h b/filesystemwidget.h
index e4b26e8..82c3b04 100644
--- a/filesystemwidget.h
+++ b/filesystemwidget.h
@@ -12,6 +12,8 @@
#include <QFileSystemModel>
#include <QSqlDatabase>
#include <QDateTime>
+#include <QMutex>
+#include <QThread>
class SmTreeView;
class FilesystemDirProxy;
@@ -24,6 +26,8 @@ class SheMovIconProvider;
class SmDirModel;
class QToolBar;
class QSplitter;
+class UnpackDialog;
+class Unpacker;
class FilesystemWidget : public QWidget {
Q_OBJECT
@@ -64,6 +68,7 @@ class FilesystemWidget : public QWidget {
void setWindowTitle();
void preview();
void unpack();
+ void selectUnpackDir();
private slots:
void dirExpanded(const QModelIndex &idx);
@@ -96,6 +101,7 @@ class FilesystemWidget : public QWidget {
QString mLastDir;
int mClipboardMode;
QSplitter *mIconDirSplitter;
+ UnpackDialog *mUnpackDlg;
};
class FileSystemModel : public QFileSystemModel {