Bump version to 0.9.0
[quandoparte] / application / view_qt4.h
1 #ifndef QP_VIEW_QT4_H
2 #define QP_VIEW_QT5_H
3
4 /*
5
6 Copyright (C) 2011 Luciano Montanaro <mikelima@cirulla.net>
7
8 This program is free software; you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation; either version 2 of the License, or
11 (at your option) any later version.
12
13 This program is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
16 General Public License for more details.
17
18 You should have received a copy of the GNU General Public License
19 along with this program; see the file COPYING.  If not, write to
20 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
21 Boston, MA 02110-1301, USA.
22
23 */
24
25 #include <QtGlobal>
26 #include <QFuture>
27 #include <QDeclarativeView>
28
29 class StationListModel;
30 class StationListProxyModel;
31
32 class View :
33         public QDeclarativeView
34 {
35     Q_OBJECT
36 public:
37     explicit View(QWidget *parent = 0);
38
39     ~View();
40
41 signals:
42
43 public slots:
44
45 private:
46     QFuture<void> future;
47     StationListModel *stationListModel;
48     StationListProxyModel *stationListProxyModel;
49 };
50
51 #endif // QP_VIEW_QT4_H