summaryrefslogtreecommitdiff
path: root/src/application.h
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-06-07 01:55:07 +0200
committerAndrea Diamantini <adjam7@gmail.com>2009-06-20 23:49:29 +0200
commit7bebf3e547f5bd63e868a24f926daf904c520efb (patch)
treefde0320eec83b2007a616391be8672f4ece20d63 /src/application.h
parentslot Save File As (diff)
downloadrekonq-7bebf3e547f5bd63e868a24f926daf904c520efb.tar.xz
start moving things..
Diffstat (limited to 'src/application.h')
-rw-r--r--src/application.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/application.h b/src/application.h
index a5658703..acb300ed 100644
--- a/src/application.h
+++ b/src/application.h
@@ -58,6 +58,13 @@ namespace Rekonq
New, ///< open url in new tab and make it current
Background ///< open url in new tab in background
};
+
+ enum Notify
+ {
+ Success, ///< url successfully (down)loaded
+ Error, ///< url failed to (down)load
+ Download ///< downloading url
+ }
}
@@ -79,6 +86,8 @@ public:
KIcon icon(const KUrl &url) const;
+ void notify(const QString &msg, Rekonq::Notify status);
+
static KUrl guessUrlFromString(const QString &url);
static HistoryManager *historyManager();