diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2012-03-16 16:54:26 +0100 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2012-03-25 09:28:44 +0200 |
commit | 2fcbe68fbc19614a053428bdc37d7c6a3c84e8c8 (patch) | |
tree | dee0c99417e1267aaec995e51040b301a0a5b645 /src/filterurljob.h | |
parent | Check if user has a default search engine set and eventually (diff) | |
download | rekonq-2fcbe68fbc19614a053428bdc37d7c6a3c84e8c8.tar.xz |
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
Diffstat (limited to 'src/filterurljob.h')
-rw-r--r-- | src/filterurljob.h | 65 |
1 files changed, 0 insertions, 65 deletions
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 <adjam7 at gmail dot com> -* -* -* 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 <http://www.gnu.org/licenses/>. -* -* ============================================================ */ - - -#ifndef FILTER_URL_JOB_H -#define FILTER_URL_JOB_H - -// Rekonq Includes -#include "rekonq_defines.h" - -// KDE Includes -#include <KUrl> -#include <ThreadWeaver/Job> - -// Qt Includes -#include <QtCore/QString> - -// 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 |