summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2010-01-26 02:11:29 +0100
committerAndrea Diamantini <adjam7@gmail.com>2010-01-26 02:11:29 +0100
commit1d9e3e220ffcb606a8bd1bd39da45e22e24e77a0 (patch)
treede7c4368b2d4ec48fae9980d312486e4339b49a3 /src
parentMultiThreaded rekonq !! (diff)
downloadrekonq-1d9e3e220ffcb606a8bd1bd39da45e22e24e77a0.tar.xz
Cleaning code a bit..
Diffstat (limited to 'src')
-rw-r--r--src/application.cpp30
-rw-r--r--src/application.h5
2 files changed, 0 insertions, 35 deletions
diff --git a/src/application.cpp b/src/application.cpp
index e9f0561d..05004f30 100644
--- a/src/application.cpp
+++ b/src/application.cpp
@@ -363,36 +363,6 @@ AdBlockManager *Application::adblockManager()
}
-// WebView *Application::createView(const Rekonq::OpenType &type)
-// {
-// // first, create the webview(s) to not let hangs UI..
-// WebTab *tab = 0;
-// MainWindow *w = 0;
-// w = (type == Rekonq::NewWindow)
-// ? newMainWindow()
-// : mainWindow();
-//
-// switch(type)
-// {
-// case Rekonq::SettingOpenTab:
-// tab = w->mainView()->newWebTab(!ReKonfig::openTabsBack(), ReKonfig::openTabsNearCurrent());
-// break;
-// case Rekonq::NewCurrentTab:
-// tab = w->mainView()->newWebTab(true);
-// break;
-// case Rekonq::NewBackTab:
-// tab = w->mainView()->newWebTab(false, ReKonfig::openTabsNearCurrent());
-// break;
-// case Rekonq::NewWindow:
-// case Rekonq::CurrentTab:
-// tab = w->mainView()->currentWebTab();
-// break;
-// };
-//
-// return tab->view();
-// }
-
-
void Application::loadResolvedUrl(ThreadWeaver::Job *job)
{
FilterUrlJob *threadedJob = static_cast<FilterUrlJob *>(job);
diff --git a/src/application.h b/src/application.h
index a326015d..4b951ded 100644
--- a/src/application.h
+++ b/src/application.h
@@ -139,11 +139,6 @@ private slots:
void loadResolvedUrl(ThreadWeaver::Job *);
private:
-
- // loadUrl Utilities
-// WebView *createView(const Rekonq::OpenType &);
-// KUrl resolvUrl(const QString &);
-
static QPointer<HistoryManager> s_historyManager;
static QPointer<BookmarkProvider> s_bookmarkProvider;
static QPointer<SessionManager> s_sessionManager;