diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2010-05-21 12:05:48 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2010-05-21 12:05:48 +0200 |
commit | 78325dc56078f7991068eb7b2dbe0e25ab7dc924 (patch) | |
tree | 8c0e3f35567770cc5e5767811d5121e21b7209bf /src/webtab.h | |
parent | SVN_SILENT made messages (.desktop file) (diff) | |
download | rekonq-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.h | 16 |
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(); |