summaryrefslogtreecommitdiff
path: root/src/application.h
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-07-24 10:32:27 +0200
committerAndrea Diamantini <adjam7@gmail.com>2009-07-24 10:32:27 +0200
commit8133bde2b48b8a9881812e9d04e58ae41697698f (patch)
treee1c36a2fd06ce8068212b13ca51f3658c875e680 /src/application.h
parentrekonq 0.1.10 with last news. (diff)
downloadrekonq-8133bde2b48b8a9881812e9d04e58ae41697698f.tar.xz
Trivial fix. Yesterday was late night ;)
This patch lets rekonq to load url in.. the current page instead of loading infinite new tabs... :)
Diffstat (limited to 'src/application.h')
-rw-r--r--src/application.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/application.h b/src/application.h
index 6f726154..615bfe6b 100644
--- a/src/application.h
+++ b/src/application.h
@@ -67,9 +67,10 @@ namespace Rekonq
*/
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
+ CurrentTab, ///< open url in current tab
+ SettingOpenTab, ///< open url according to users settings
+ NewTab, ///< open url in new tab and make it current
+ BackgroundTab ///< open url in new tab in background
};
}
@@ -107,11 +108,11 @@ public slots:
public slots:
void loadUrl( const KUrl& url,
- const Rekonq::OpenType& type = Rekonq::Default
+ const Rekonq::OpenType& type = Rekonq::CurrentTab
);
void loadUrl( const QString& urlString,
- const Rekonq::OpenType& type = Rekonq::Default
+ const Rekonq::OpenType& type = Rekonq::CurrentTab
);