summaryrefslogtreecommitdiffstats
path: root/fileview.h
diff options
context:
space:
mode:
Diffstat (limited to 'fileview.h')
-rw-r--r--fileview.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/fileview.h b/fileview.h
index 604fa8f..7f35fdc 100644
--- a/fileview.h
+++ b/fileview.h
@@ -18,12 +18,13 @@ class QModelIndex;
class QAction;
class HoverWindow;
class QEvent;
+class QFileInfo;
class FileView : public QTreeView {
Q_OBJECT
public:
FileView(QWidget *parent = 0);
- ~FileView() {};
+ ~FileView() {}
signals:
void upDir();
@@ -48,13 +49,18 @@ class FileView : public QTreeView {
virtual bool event(QEvent *event);
private:
+ enum HoverFileType { Dir, Movie, Image, None };
bool exitHover(bool exitVal = true);
+ void doHover(const QFileInfo &fi, int type);
MessageDialog *mMarkDialog;
MessageDialog *mCreateFolderDialog;
QAction *mDeleteA;
HoverWindow *mHoverWin;
QModelIndex mCurHover;
- bool mHover;
+ bool mHoverDirs;
+ bool mHoverMovies;
+ bool mHoverPics;
+ QString mWhen;
};
#endif