┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinmainwindow.h
diff options
context:
space:
mode:
authorSebastian Trueg <[email protected]>2009-11-25 20:53:37 +0000
committerSebastian Trueg <[email protected]>2009-11-25 20:53:37 +0000
commitd324e790d62c8a341abd06e845f8fe8d64aa8ef3 (patch)
tree6f3a675cba11e6d5543875e06ba720742a6563a3 /src/dolphinmainwindow.h
parent482fea3ec69a7fff321281050968426c38edc3bc (diff)
* Fixed execution of links in the metadata widget.
* Do not try to list non-listable URLs. svn path=/trunk/KDE/kdebase/apps/; revision=1054300
Diffstat (limited to 'src/dolphinmainwindow.h')
-rw-r--r--src/dolphinmainwindow.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/dolphinmainwindow.h b/src/dolphinmainwindow.h
index e9332194f..0b4f90d19 100644
--- a/src/dolphinmainwindow.h
+++ b/src/dolphinmainwindow.h
@@ -406,6 +406,12 @@ private slots:
*/
void showSearchOptions();
+ /**
+ * If the URL can be listed open it in the current view, otherwise
+ * run it through KRun.
+ */
+ void handleUrl(const KUrl& url);
+
private:
DolphinMainWindow(int id);
void init();
@@ -460,7 +466,7 @@ private:
QString tabProperty(const QString& property, int tabIndex) const;
/**
- * Sets the window caption to url.fileName() if this is non-empty,
+ * Sets the window caption to url.fileName() if this is non-empty,
* "/" if the URL is "file:///", and url.protocol() otherwise.
*/
void setUrlAsCaption(const KUrl& url);