From 7bebf3e547f5bd63e868a24f926daf904c520efb Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Sun, 7 Jun 2009 01:55:07 +0200 Subject: start moving things.. --- src/application.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/application.h') 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(); -- cgit v1.2.1 From 0cd3c09a8c51682a2e39ef51834c38785db4bda3 Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Wed, 10 Jun 2009 00:31:11 +0200 Subject: Working on new notify system... new download icon --- src/application.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/application.h') diff --git a/src/application.h b/src/application.h index acb300ed..05db3ecb 100644 --- a/src/application.h +++ b/src/application.h @@ -63,8 +63,9 @@ namespace Rekonq { Success, ///< url successfully (down)loaded Error, ///< url failed to (down)load - Download ///< downloading url - } + Download, ///< downloading url + Info ///< information + }; } @@ -86,7 +87,7 @@ public: KIcon icon(const KUrl &url) const; - void notify(const QString &msg, Rekonq::Notify status); + void notifyMsg(const QString &msg, Rekonq::Notify status); static KUrl guessUrlFromString(const QString &url); -- cgit v1.2.1 From 8e094f1119d4073e78697052397c42a90c527601 Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Sun, 21 Jun 2009 01:29:05 +0200 Subject: New notify system --- src/application.h | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'src/application.h') diff --git a/src/application.h b/src/application.h index 05db3ecb..a5658703 100644 --- a/src/application.h +++ b/src/application.h @@ -58,14 +58,6 @@ 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 - Info ///< information - }; } @@ -87,8 +79,6 @@ public: KIcon icon(const KUrl &url) const; - void notifyMsg(const QString &msg, Rekonq::Notify status); - static KUrl guessUrlFromString(const QString &url); static HistoryManager *historyManager(); -- cgit v1.2.1 From 9501cf849628c5aeef669f12db87d43ed03c357a Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Sun, 21 Jun 2009 22:11:39 +0200 Subject: New notifying system. Perhaps this should be default for rekonq 0.2. Anyway, there are a lot of improvements needed. We'll see.. --- src/application.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'src/application.h') diff --git a/src/application.h b/src/application.h index a5658703..d2e66d3f 100644 --- a/src/application.h +++ b/src/application.h @@ -58,6 +58,19 @@ namespace Rekonq New, ///< open url in new tab and make it current Background ///< open url in new tab in background }; + + /** + * @short notifying message status + * Different message status + */ + + enum Notify + { + Success, ///< url successfully (down)loaded + Error, ///< url failed to (down)load + Download, ///< downloading url + Info ///< information, (default) + }; } -- cgit v1.2.1