diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2009-05-02 02:32:43 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2009-05-02 02:32:43 +0200 |
commit | e6f5870d05b6d938476a790b0a65f2322c34d22c (patch) | |
tree | d5bfed17bea201a961d512d84e6da837e6a9635a /src/application.h | |
parent | other i18n fix from Kristol (diff) | |
parent | Open Back/Forward tabs fixed (diff) | |
download | rekonq-e6f5870d05b6d938476a790b0a65f2322c34d22c.tar.xz |
Merge branch 'develop'
Diffstat (limited to 'src/application.h')
-rw-r--r-- | src/application.h | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/src/application.h b/src/application.h index 10f18545..61f4af81 100644 --- a/src/application.h +++ b/src/application.h @@ -48,6 +48,21 @@ class NetworkAccessManager; class WebView; +namespace Rekonq +{ + /** + * @short Open link options + * Different modes of opening new tab + */ + enum OpenType + { + Default, ///< open url according to users settings + New, ///< open url in new tab and make it current + Background ///< open url in new tab in background + }; +} + + /** * */ @@ -62,7 +77,7 @@ public: static Application *instance(); MainWindow *mainWindow(); - WebView* newWebView(bool makeCurrent = true); + WebView* newWebView(Rekonq::OpenType type = Rekonq::Default); KIcon icon(const KUrl &url) const; |