diff options
Diffstat (limited to 'src/mainview.cpp')
-rw-r--r-- | src/mainview.cpp | 56 |
1 files changed, 0 insertions, 56 deletions
diff --git a/src/mainview.cpp b/src/mainview.cpp index 9b3dfc21..3eca9ef5 100644 --- a/src/mainview.cpp +++ b/src/mainview.cpp @@ -217,62 +217,6 @@ void MainView::slotWebStop() } -void MainView::slotWebBack() -{ - WebView *webView = currentWebView(); - QAction *action = webView->page()->action(QWebPage::Back); - action->trigger(); -} - - -void MainView::slotWebForward() -{ - WebView *webView = currentWebView(); - QAction *action = webView->page()->action(QWebPage::Forward); - action->trigger(); -} - - -void MainView::slotWebUndo() -{ - WebView *webView = currentWebView(); - QAction *action = webView->page()->action(QWebPage::Undo); - action->trigger(); -} - - -void MainView::slotWebRedo() -{ - WebView *webView = currentWebView(); - QAction *action = webView->page()->action(QWebPage::Redo); - action->trigger(); -} - - -void MainView::slotWebCut() -{ - WebView *webView = currentWebView(); - QAction *action = webView->page()->action(QWebPage::Cut); - action->trigger(); -} - - -void MainView::slotWebCopy() -{ - WebView *webView = currentWebView(); - QAction *action = webView->page()->action(QWebPage::Copy); - action->trigger(); -} - - -void MainView::slotWebPaste() -{ - WebView *webView = currentWebView(); - QAction *action = webView->page()->action(QWebPage::Paste); - action->trigger(); -} - - void MainView::clear() { /// TODO What exactly do we need to clear here? |