diff options
author | Jon Ander Peñalba <jonan88@gmail.com> | 2010-08-20 21:42:38 +0200 |
---|---|---|
committer | Jon Ander Peñalba <jonan88@gmail.com> | 2010-08-20 21:42:38 +0200 |
commit | d002e3ede6b703b1e561a64c8f8ca9017ef87049 (patch) | |
tree | 4d45724b552a625e89d330c8e5eea3d4058230ca /src/webview.cpp | |
parent | rekonq 0.5.60 (diff) | |
download | rekonq-d002e3ede6b703b1e561a64c8f8ca9017ef87049.tar.xz |
Changed the name of the files src/bookmarks/bookmarksmanager.* to src/bookmarks/bookmarkprovider.*
Diffstat (limited to 'src/webview.cpp')
-rw-r--r-- | src/webview.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/webview.cpp b/src/webview.cpp index c15478c2..1ffb2f1e 100644 --- a/src/webview.cpp +++ b/src/webview.cpp @@ -36,7 +36,7 @@ #include "mainwindow.h" #include "mainview.h" #include "webpage.h" -#include "bookmarksmanager.h" +#include "bookmarkprovider.h" #include "searchengine.h" #include "websnap.h" @@ -79,8 +79,8 @@ WebView::WebView(QWidget* parent) { WebPage *page = new WebPage(this); setPage(page); - - // // NOTE This is a lot hackish. We copied it from Arora, but using a "Windows Style" + + // // NOTE This is a lot hackish. We copied it from Arora, but using a "Windows Style" // // seems really a pity to me. The problem is that using a KStyle everything seems "broken" // // (at least with dark colors). So I think the code should be somthing like: // KStyle s; @@ -93,7 +93,7 @@ WebView::WebView(QWidget* parent) p = s.standardPalette(); setPalette(p); } - + // download system connect(this, SIGNAL(linkShiftClicked(const KUrl &)), page, SLOT(downloadUrl(const KUrl &))); connect(page, SIGNAL(downloadRequested(const QNetworkRequest &)), page, SLOT(downloadRequest(const QNetworkRequest &))); @@ -126,7 +126,7 @@ WebView::~WebView() disconnect(); WebPage* p = page(); - + QPixmap preview = WebSnap::renderClosingPagePreview(*p); QString path = WebSnap::imagePathFromUrl(p->mainFrame()->url().toString()); QFile::remove(path); @@ -168,7 +168,7 @@ void WebView::contextMenuEvent(QContextMenuEvent *event) menu.addAction(pageAction(KWebPage::DownloadLinkToDisk)); menu.addAction(pageAction(KWebPage::CopyLinkToClipboard)); - menu.addSeparator(); + menu.addSeparator(); } // is content editable && selected? Add CUT @@ -215,7 +215,7 @@ void WebView::contextMenuEvent(QContextMenuEvent *event) } menu.addSeparator(); - + menu.addAction(inspectAction); // TODO Add translate, show translation } @@ -234,7 +234,7 @@ void WebView::contextMenuEvent(QContextMenuEvent *event) menu.addAction(pageAction(KWebPage::DownloadImageToDisk)); menu.addAction(pageAction(KWebPage::CopyImageToClipboard)); menu.addSeparator(); - + menu.addAction(inspectAction); } |