mirror of
https://invent.kde.org/network/falkon.git
synced 2024-09-23 02:32:10 +02:00
2cb067878d
- 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
29 lines
628 B
C++
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
|