#ifndef WEBHISTORYWRAPPER_H #define WEBHISTORYWRAPPER_H #include #include class WebHistoryWrapper : public QObject { Q_OBJECT public: explicit WebHistoryWrapper(QObject *parent = 0); static QList forwardItems(int maxItems, QWebHistory* history); static QList backItems(int maxItems, QWebHistory* history); static bool canGoForward(QWebHistory* history); static bool canGoBack(QWebHistory* history); static void goBack(QWebHistory* history); static void goForward(QWebHistory* history); signals: }; #endif // WEBHISTORYWRAPPER_H