1
mirror of https://invent.kde.org/network/falkon.git synced 2024-09-23 02:32:10 +02:00
falkonOfficial/src/webview/webhistorywrapper.h
nowrep 2cb067878d Coding style, fixed cppcheck warnings + improved html highlighter
- html highlighter is now highlighting with reg exps, no more with hard
coded tags/tag options
 - all cppecheck warnings fixed + added script (cppcheck.sh)
 - introduced coding style + added astyle script (coding_style.sh)
 - fixed one mistake in czech translate + updated windows installer
2011-11-06 17:01:23 +01:00

29 lines
628 B
C++

#ifndef WEBHISTORYWRAPPER_H
#define WEBHISTORYWRAPPER_H
#include <QObject>
#include <QWebHistory>
class WebHistoryWrapper : public QObject
{
Q_OBJECT
public:
explicit WebHistoryWrapper(QObject* parent = 0);
static QList<QWebHistoryItem> forwardItems(int maxItems, QWebHistory* history);
static QList<QWebHistoryItem> 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