Debian Codegraph @

src/librssguard/gui/reusable/basetreeview.h

raw symbols SCIP
1 // For license of this file, see <project-root-folder>/LICENSE.md.
2
3 #ifndef BASETREEVIEW_H
4 #define BASETREEVIEW_H
5
6 #include <QTreeView>
7
8 class RSSGUARD_DLLSPEC BaseTreeView : public QTreeView {
9 Q_OBJECT
10
11 public:
12 explicit BaseTreeView(QWidget* parent = nullptr);
13
14 bool isIndexHidden(const QModelIndex& idx) const;
15
16 protected:
17 virtual void keyPressEvent(QKeyEvent* event);
18
19 private:
20 QList<int> m_allowedKeyboardKeys;
21 };
22
23 #endif // BASETREEVIEW_H