forked from qt-creator/qt-creator
Make the html5applicationviewer class much less cluttered by splitting out all the touch navigation classes into separate files in a subdirectory. This should make it much more maintainable.
32 lines
720 B
C++
32 lines
720 B
C++
/*
|
|
This file was generated by the Html5 Application wizard of Qt Creator.
|
|
Html5ApplicationViewer is a convenience class containing mobile device specific
|
|
code such as screen orientation handling.
|
|
It is recommended not to modify this file, since newer versions of Qt Creator
|
|
may offer an updated version of it.
|
|
*/
|
|
|
|
#ifndef WEBNAVIGATION_H
|
|
#define WEBNAVIGATION_H
|
|
|
|
#include <QObject>
|
|
|
|
class QWebPage;
|
|
class WebTouchNavigation;
|
|
|
|
class WebNavigation : public QObject
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
WebNavigation(QObject *parent, QWebPage *webPage);
|
|
virtual ~WebNavigation();
|
|
|
|
private:
|
|
QObject *m_viewObject;
|
|
QWebPage *m_webPage;
|
|
WebTouchNavigation *m_webTouchNavigation;
|
|
};
|
|
|
|
#endif // WEBNAVIGATION_H
|