summaryrefslogtreecommitdiff
path: root/src/webtab.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/webtab.h')
-rw-r--r--src/webtab.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/webtab.h b/src/webtab.h
index 309ecd9a..bc07a3e9 100644
--- a/src/webtab.h
+++ b/src/webtab.h
@@ -32,16 +32,16 @@
// Rekonq Includes
#include "rekonq_defines.h"
+// Local Includes
+#include "webpage.h"
+#include "webview.h"
+
// KDE Includes
#include <KUrl>
// Qt Includes
#include <QWidget>
-// Forward Declarations
-class WebPage;
-class WebView;
-
class REKONQ_TESTS_EXPORT WebTab : public QWidget
{
@@ -51,11 +51,11 @@ public:
explicit WebTab(QWidget *parent = 0);
~WebTab();
- WebView *view();
- WebPage *page();
+ inline WebView *view() { return _view; }
+ inline WebPage *page() { return view()->page(); }
+ inline int progress() { return m_progress; }
+
KUrl url();
-
- int progress();
void createPreviewSelectorBar(int index);
bool hasRSSInfo();