summaryrefslogtreecommitdiffstats
path: root/konqueror/konq_browseriface.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'konqueror/konq_browseriface.cpp')
-rw-r--r--konqueror/konq_browseriface.cpp22
1 files changed, 22 insertions, 0 deletions
diff --git a/konqueror/konq_browseriface.cpp b/konqueror/konq_browseriface.cpp
new file mode 100644
index 000000000..ebec2ef04
--- /dev/null
+++ b/konqueror/konq_browseriface.cpp
@@ -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"
+