summaryrefslogtreecommitdiff
path: root/src/application.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-06-21 01:29:05 +0200
committerAndrea Diamantini <adjam7@gmail.com>2009-06-21 01:29:05 +0200
commit8e094f1119d4073e78697052397c42a90c527601 (patch)
treedc6d93eaff6c3fa8b5106520caf161fcb5606350 /src/application.cpp
parentWorking on new notify system... (diff)
downloadrekonq-8e094f1119d4073e78697052397c42a90c527601.tar.xz
New notify system
Diffstat (limited to 'src/application.cpp')
-rw-r--r--src/application.cpp26
1 files changed, 0 insertions, 26 deletions
diff --git a/src/application.cpp b/src/application.cpp
index b9b15acd..5b458438 100644
--- a/src/application.cpp
+++ b/src/application.cpp
@@ -253,29 +253,3 @@ KUrl Application::guessUrlFromString(const QString &string)
}
return url;
}
-
-
-void Application::notifyMsg(const QString &msg, Rekonq::Notify status)
-{
- QPixmap px;
-
- switch(status)
- {
- case Rekonq::Success:
- px.load("hi32-actions-emoticon.png");
- KPassivePopup::message( i18n("Success!"), msg, px, this, 2);
- break;
- case Rekonq::Error:
- px.load("hi32-actions-edit-delete.png");
- KPassivePopup::message( i18n("Error!"), msg, px, this, 2);
- break;
- case Rekonq::Download:
- QString path = KStandardDirs::locate("appdata", "pics/hi64-actions-download.png");
- px.load(path);
- KPassivePopup::message( i18n("Download!"), msg, px, this, 2);
- break;
- default:
- kDebug() << "nothing to be notified..";
- break;
- }
-}