diff options
Diffstat (limited to 'fileview.h')
-rw-r--r-- | fileview.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/fileview.h b/fileview.h new file mode 100644 index 0000000..3382132 --- /dev/null +++ b/fileview.h @@ -0,0 +1,26 @@ +/* + This program is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public License + as published by the Free Software Foundation; either version + 2 of the License, or (at your option) any later version. +*/ + +#ifndef FILEVIEW_H +#define FILEVIEW_H + +#include <QTreeView> + +class QContextMenuEvent; + +class FileView : public QTreeView { + Q_OBJECT + public: + FileView(QWidget *parent = 0); + ~FileView() {}; + + protected: + virtual void contextMenuEvent(QContextMenuEvent *e); +}; + +#endif + |