diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2009-06-21 01:29:05 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2009-06-21 01:29:05 +0200 |
commit | 8e094f1119d4073e78697052397c42a90c527601 (patch) | |
tree | dc6d93eaff6c3fa8b5106520caf161fcb5606350 /src/application.cpp | |
parent | Working on new notify system... (diff) | |
download | rekonq-8e094f1119d4073e78697052397c42a90c527601.tar.xz |
New notify system
Diffstat (limited to 'src/application.cpp')
-rw-r--r-- | src/application.cpp | 26 |
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; - } -} |