forked from QupZilla/qupzilla
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Possible to open background/selected tab from "Open in new tab" action
Inverts the prefered option to opening new tabs with middle mouse click. Closes QupZilla#635
- Loading branch information
Showing
3 changed files
with
44 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
/* ============================================================ | ||
* QupZilla - WebKit based browser | ||
* Copyright (C) 2010-2012 David Rosca <[email protected]> | ||
* Copyright (C) 2010-2013 David Rosca <[email protected]> | ||
* | ||
* 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 | ||
|
@@ -105,12 +105,14 @@ protected slots: | |
|
||
// To support user's option whether to open in selected or background tab | ||
void userDefinedOpenUrlInNewTab(const QUrl &url = QUrl(), bool invert = false); | ||
void userDefinedOpenUrlInBgTab(const QUrl &url = QUrl()); | ||
|
||
void createSearchEngine(); | ||
|
||
// Clicked frame actions | ||
void loadClickedFrame(); | ||
void loadClickedFrameInNewTab(); | ||
void loadClickedFrameInNewTab(bool invert = false); | ||
void loadClickedFrameInBgTab(); | ||
void reloadClickedFrame(); | ||
void printClickedFrame(); | ||
void clickedFrameZoomIn(); | ||
|