From 78325dc56078f7991068eb7b2dbe0e25ab7dc924 Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Fri, 21 May 2010 12:05:48 +0200 Subject: inlined some of the most used get functions to speed up a bit --- src/webtab.cpp | 19 ------------------- 1 file changed, 19 deletions(-) (limited to 'src/webtab.cpp') diff --git a/src/webtab.cpp b/src/webtab.cpp index d8fff875..a6bedc97 100644 --- a/src/webtab.cpp +++ b/src/webtab.cpp @@ -36,7 +36,6 @@ #include "application.h" #include "mainwindow.h" #include "mainview.h" -#include "webpage.h" #include "bookmarksmanager.h" #include "walletbar.h" #include "previewselectorbar.h" @@ -96,18 +95,6 @@ WebTab::~WebTab() } -WebView *WebTab::view() -{ - return _view; -} - - -WebPage *WebTab::page() -{ - return view()->page(); -} - - // TODO: // Import the "about" check and the one in protocolhandler // in some (static?) methods in NewTabPage @@ -134,12 +121,6 @@ KUrl WebTab::url() } -int WebTab::progress() -{ - return m_progress; -} - - void WebTab::updateProgress(int p) { m_progress = p; -- cgit v1.2.1