Merge branch 'development'
[quandoparte] / application / view.h
index 17870c6..daac6dc 100644 (file)
@@ -1,22 +1,33 @@
 #ifndef QP_VIEW_H
 #define QP_VIEW_H
 
-#include <QWidget>
+/*
 
-class QDeclarativeView;
+Copyright (C) 2011 Luciano Montanaro <mikelima@cirulla.net>
 
-class View : public QWidget
-{
-    Q_OBJECT
-public:
-    explicit View(QWidget *parent = 0);
+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.
 
-signals:
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+General Public License for more details.
 
-public slots:
+You should have received a copy of the GNU General Public License
+along with this program; see the file COPYING.  If not, write to
+the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+Boston, MA 02110-1301, USA.
 
-private:
-    QDeclarativeView *m_view;
-};
+*/
+
+#include <QtGlobal>
+
+#if (QT_VERSION < QT_VERSION_CHECK(5, 0, 0))
+#include "view_qt4.h"
+#else
+#include "view_qt5.h"
+#endif
 
 #endif // QP_VIEW_H