Another failed attempt to make kinetic scrolling work. Simplified
[dorian] / widgets / listview.h
1 #ifndef LISTVIEW_H
2 #define LISTVIEW_H
3
4 #include <QListView>
5
6 /** Same as QListView, except contentsHeight() is public. */
7 class ListView: public QListView
8 {
9     Q_OBJECT
10
11 public:
12     explicit ListView(QWidget *parent = 0);
13     int contentsHeight() const;
14 };
15
16 #endif // LISTVIEW_H