summaryrefslogtreecommitdiff
path: root/src/application.cpp
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.cpp
parentslot Save File As (diff)
downloadrekonq-7bebf3e547f5bd63e868a24f926daf904c520efb.tar.xz
start moving things..
Diffstat (limited to 'src/application.cpp')
-rw-r--r--src/application.cpp22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/application.cpp b/src/application.cpp
index 94821653..0a6d641d 100644
--- a/src/application.cpp
+++ b/src/application.cpp
@@ -252,3 +252,25 @@ KUrl Application::guessUrlFromString(const QString &string)
}
return url;
}
+
+void Application::notify(const QString &msg, Rekonq::Notify status)
+{
+ switch(status)
+ {
+ case Rekonq::success:
+// hi32-actions-emoticon.png
+ KPassivePopup::message();
+ break;
+ case Rekonq::error:
+// hi32-actions-edit-delete.png
+ KPassivePopup::message();
+ break;
+ case Rekonq::download:
+// kget/pics
+ KPassivePopup::message();
+ break;
+ default:
+ kDebug() << "nothing to be notified..";
+ break;
+ }
+} \ No newline at end of file