From 2fcbe68fbc19614a053428bdc37d7c6a3c84e8c8 Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Fri, 16 Mar 2012 16:54:26 +0100 Subject: Add loadUrl API to mainwindow - Get rid of unused NewBackTab enum - move loading url code to MainWindow class - Remove ThreadWeaver API. (And take it easy...) - Changed logic: calculate url BEFORE creating a tab... REVIEW:104326 --- src/filterurljob.h | 65 ------------------------------------------------------ 1 file changed, 65 deletions(-) delete mode 100644 src/filterurljob.h (limited to 'src/filterurljob.h') diff --git a/src/filterurljob.h b/src/filterurljob.h deleted file mode 100644 index 20cdd394..00000000 --- a/src/filterurljob.h +++ /dev/null @@ -1,65 +0,0 @@ -/* ============================================================ -* -* This file is a part of the rekonq project -* -* Copyright (C) 2010-2011 by Andrea Diamantini -* -* -* This program is free software; you can redistribute it and/or -* modify it under the terms of the GNU General Public License as -* published by the Free Software Foundation; either version 2 of -* the License or (at your option) version 3 or any later version -* accepted by the membership of KDE e.V. (or its successor approved -* by the membership of KDE e.V.), which shall act as a proxy -* defined in Section 14 of version 3 of the license. -* -* This program is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* along with this program. If not, see . -* -* ============================================================ */ - - -#ifndef FILTER_URL_JOB_H -#define FILTER_URL_JOB_H - -// Rekonq Includes -#include "rekonq_defines.h" - -// KDE Includes -#include -#include - -// Qt Includes -#include - -// Forward Declarations -class WebView; - -class KUriFilter; - - -class REKONQ_TESTS_EXPORT FilterUrlJob : public ThreadWeaver::Job -{ -public: - FilterUrlJob(WebView *view, const QString &urlString, QObject *parent = 0); - - WebView *view(); - KUrl url(); - -protected: - void run(); - -private: - WebView *_view; - QString _urlString; - KUrl _url; - - static KUriFilter *s_uriFilter; -}; - -#endif // FILTER_URL_JOB_H -- cgit v1.2.1