|
|
@ -248,9 +248,6 @@ void WBBrowserWindow::setupToolBar() |
|
|
|
mWebToolBar->insertSeparator(mUniboardMainWindow->actionWebBigger); |
|
|
|
mWebToolBar->insertSeparator(mUniboardMainWindow->actionWebBigger); |
|
|
|
|
|
|
|
|
|
|
|
connect(mUniboardMainWindow->actionHome, SIGNAL(triggered()), this , SLOT(slotHome())); |
|
|
|
connect(mUniboardMainWindow->actionHome, SIGNAL(triggered()), this , SLOT(slotHome())); |
|
|
|
|
|
|
|
|
|
|
|
connect(mUniboardMainWindow->actionBookmarks, SIGNAL(triggered()), this , SLOT(bookmarks())); |
|
|
|
|
|
|
|
connect(mUniboardMainWindow->actionAddBookmark, SIGNAL(triggered()), this , SLOT(addBookmark())); |
|
|
|
|
|
|
|
connect(mUniboardMainWindow->actionWebBigger, SIGNAL(triggered()), this , SLOT(slotViewZoomIn())); |
|
|
|
connect(mUniboardMainWindow->actionWebBigger, SIGNAL(triggered()), this , SLOT(slotViewZoomIn())); |
|
|
|
connect(mUniboardMainWindow->actionWebSmaller, SIGNAL(triggered()), this , SLOT(slotViewZoomOut())); |
|
|
|
connect(mUniboardMainWindow->actionWebSmaller, SIGNAL(triggered()), this , SLOT(slotViewZoomOut())); |
|
|
|
|
|
|
|
|
|
|
@ -514,18 +511,6 @@ void WBBrowserWindow::tabCurrentChanged(int index) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void WBBrowserWindow::bookmarks() |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
loadPage(UBSettings::settings()->webBookmarksPage->get().toString()); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void WBBrowserWindow::addBookmark() |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
loadPage(UBSettings::settings()->webAddBookmarkUrl->get().toString() + currentTabWebView()->url().toString()); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
WBWebView* WBBrowserWindow::paintWidget() |
|
|
|
WBWebView* WBBrowserWindow::paintWidget() |
|
|
|
{ |
|
|
|
{ |
|
|
|
return mTabWidget->currentWebView(); |
|
|
|
return mTabWidget->currentWebView(); |
|
|
|