summaryrefslogtreecommitdiffstats
path: root/kdesktop/lock/infodlg.cc
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-04-08 07:27:32 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-04-08 07:27:32 +0000
commita09c5ab8dfb62eec33fb6954e2506c4633c17daa (patch)
treea66959f42cff0d5bc08e57ba0880a87cf5fe83b4 /kdesktop/lock/infodlg.cc
parent3d410615eb81baa30f7ead781ad021bee8294802 (diff)
downloadtdebase-a09c5ab8dfb62eec33fb6954e2506c4633c17daa.tar.gz
tdebase-a09c5ab8dfb62eec33fb6954e2506c4633c17daa.zip
Added remaining kdesktop lock prompts to allow for interactive two-factor authentication with a SmartCard or fingerprint reader via a background (root) process
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1112439 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdesktop/lock/infodlg.cc')
-rw-r--r--kdesktop/lock/infodlg.cc15
1 files changed, 15 insertions, 0 deletions
diff --git a/kdesktop/lock/infodlg.cc b/kdesktop/lock/infodlg.cc
index 86351dd7b..66b54c0bc 100644
--- a/kdesktop/lock/infodlg.cc
+++ b/kdesktop/lock/infodlg.cc
@@ -103,11 +103,26 @@ void InfoDlg::setUnlockIcon()
mpixLabel->setPixmap(DesktopIcon("unlock"));
}
+void InfoDlg::setKDEIcon()
+{
+ mpixLabel->setPixmap(DesktopIcon("about_kde"));
+}
+
+void InfoDlg::setInfoIcon()
+{
+ mpixLabel->setPixmap(DesktopIcon("messagebox_info"));
+}
+
void InfoDlg::setWarningIcon()
{
mpixLabel->setPixmap(DesktopIcon("messagebox_warning"));
}
+void InfoDlg::setErrorIcon()
+{
+ mpixLabel->setPixmap(DesktopIcon("messagebox_critical"));
+}
+
void InfoDlg::show()
{
QDialog::show();