summaryrefslogtreecommitdiff
path: root/src/webtab.h
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2010-05-21 12:05:48 +0200
committerAndrea Diamantini <adjam7@gmail.com>2010-05-21 12:05:48 +0200
commit78325dc56078f7991068eb7b2dbe0e25ab7dc924 (patch)
tree8c0e3f35567770cc5e5767811d5121e21b7209bf /src/webtab.h
parentSVN_SILENT made messages (.desktop file) (diff)
downloadrekonq-78325dc56078f7991068eb7b2dbe0e25ab7dc924.tar.xz
inlined some of the most used get functions
to speed up a bit
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();