summaryrefslogtreecommitdiffstats
path: root/konqueror/konq_browseriface.cc
diff options
context:
space:
mode:
Diffstat (limited to 'konqueror/konq_browseriface.cc')
-rw-r--r--konqueror/konq_browseriface.cc22
1 files changed, 22 insertions, 0 deletions
diff --git a/konqueror/konq_browseriface.cc b/konqueror/konq_browseriface.cc
new file mode 100644
index 000000000..ebec2ef04
--- /dev/null
+++ b/konqueror/konq_browseriface.cc
@@ -0,0 +1,22 @@
+
+#include "konq_browseriface.h"
+#include "konq_view.h"
+
+KonqBrowserInterface::KonqBrowserInterface( KonqView *view, const char *name )
+ : KParts::BrowserInterface( view, name )
+{
+ m_view = view;
+}
+
+uint KonqBrowserInterface::historyLength() const
+{
+ return m_view->historyLength();
+}
+
+void KonqBrowserInterface::goHistory( int steps )
+{
+ m_view->goHistory( steps );
+}
+
+#include "konq_browseriface.moc"
+