diff options
author | Jon Ander Peñalba <jonan88@gmail.com> | 2010-09-02 18:10:46 +0200 |
---|---|---|
committer | Jon Ander Peñalba <jonan88@gmail.com> | 2010-09-03 08:27:20 +0200 |
commit | d0ab264b8aa5f5c7fcb21dd172a1f3f5b777356b (patch) | |
tree | f89adefce79c8bf0d5cde2e1bc015a443ccb39fe /src/webview.cpp | |
parent | This commit hacks a merge request, to fast fixing a crash calling the bk toolbar (diff) | |
download | rekonq-d0ab264b8aa5f5c7fcb21dd172a1f3f5b777356b.tar.xz |
Include clean-up in the big src directory
Diffstat (limited to 'src/webview.cpp')
-rw-r--r-- | src/webview.cpp | 39 |
1 files changed, 17 insertions, 22 deletions
diff --git a/src/webview.cpp b/src/webview.cpp index b794007f..3c0187e0 100644 --- a/src/webview.cpp +++ b/src/webview.cpp @@ -27,44 +27,39 @@ // Self Includes #include "webview.h" -#include "webview.moc" // Auto Includes #include "rekonq.h" // Local Includes -#include "mainwindow.h" -#include "mainview.h" -#include "webpage.h" +#include "application.h" #include "bookmarkprovider.h" -#include "searchengine.h" -#include "websnap.h" #include "iconmanager.h" +#include "mainview.h" +#include "mainwindow.h" +#include "searchengine.h" #include "urlbar.h" +#include "webpage.h" +#include "websnap.h" // KDE Includes -#include <KService> -#include <KUriFilterData> -#include <KStandardShortcut> -#include <KMenu> +#include <KAction> #include <KActionMenu> -#include <ktoolinvocation.h> +#include <KLocalizedString> +#include <KMenu> +#include <KStandardAction> #include <KStandardDirs> // Qt Includes -#include <QtCore/QDir> -#include <QtGui/QAction> -#include <QtGui/QContextMenuEvent> -#include <QtGui/QWheelEvent> -#include <QtGui/QMouseEvent> +#include <QtCore/QFile> +#include <QtCore/QTimer> + #include <QtGui/QClipboard> -#include <QtGui/QKeyEvent> -#include <QtGui/QLayout> +#include <QtGui/QContextMenuEvent> #include <QtGui/QWindowsStyle> -#include <QtDBus/QDBusConnectionInterface> -#include <QtDBus/QDBusInterface> -#include <QtDBus/QDBusReply> +#include <QtWebKit/QWebFrame> +#include <QtWebKit/QWebHistory> WebView::WebView(QWidget* parent) @@ -469,7 +464,7 @@ void WebView::slotCopyImageLocation() imageUrl.populateMimeData( mimeData ); QApplication::clipboard()->setMimeData( mimeData, QClipboard::Selection ); #else - QApplication::clipboard()->setText( imageUrl.url() ); + QApplication::clipboard()->setText( imageUrl.url() ); #endif } |