1 #ifndef FOLDERVIEW_PRIVATE_H
2 #define FOLDERVIEW_PRIVATE_H
5 #include <QAbstractItemView>
7 class FolderView_Private : public QObject
11 explicit FolderView_Private(QAbstractItemView *parent = 0);
14 QAbstractItemView* m_view;
15 QPoint m_dragStartPos;
21 bool onDragEnter(QObject *obj, QDragEnterEvent *e);
22 bool onDrop(QObject *obj, QDropEvent *e);
23 bool onMouseMove(QObject *obj, QMouseEvent *e);
24 bool onMousePress(QObject *obj, QMouseEvent *e);
27 void copyItems(const QStringList &list, const QString &tgtDir);
28 void moveItems(const QStringList &list, const QString &tgtDir);
31 void model_PostReset();
32 void model_PreReset();
36 bool eventFilter(QObject *obj, QEvent *e);
39 #endif // FOLDERVIEW_PRIVATE_H