Diffstat (limited to 'pwmanager/pwmanager/globalstuff.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | pwmanager/pwmanager/globalstuff.cpp | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/pwmanager/pwmanager/globalstuff.cpp b/pwmanager/pwmanager/globalstuff.cpp new file mode 100644 index 0000000..b12d3a4 --- a/dev/null +++ b/pwmanager/pwmanager/globalstuff.cpp | |||
@@ -0,0 +1,35 @@ | |||
1 | /*************************************************************************** | ||
2 | * * | ||
3 | * copyright (C) 2004 by Michael Buesch * | ||
4 | * email: mbuesch@freenet.de * | ||
5 | * * | ||
6 | * This program is free software; you can redistribute it and/or modify * | ||
7 | * it under the terms of the GNU General Public License version 2 * | ||
8 | * as published by the Free Software Foundation. * | ||
9 | * * | ||
10 | ***************************************************************************/ | ||
11 | |||
12 | /*************************************************************************** | ||
13 | * copyright (C) 2004 by Ulf Schenk | ||
14 | * This file is originaly based on version 1.0.1 of pwmanager | ||
15 | * and was modified to run on embedded devices that run microkde | ||
16 | * | ||
17 | * $Id$ | ||
18 | **************************************************************************/ | ||
19 | |||
20 | #include "globalstuff.h" | ||
21 | |||
22 | #include <kmessagebox.h> | ||
23 | #include <klocale.h> | ||
24 | |||
25 | #ifndef CONFIG_KEYCARD | ||
26 | void no_keycard_support_msg_box(QWidget *parentWidget) | ||
27 | { | ||
28 | KMessageBox::error(parentWidget, | ||
29 | i18n("No Chipcard-support available!\n" | ||
30 | "If you want to use a chipcard, " | ||
31 | "you have to compile PwManager with the " | ||
32 | "configure option --enable-keycard ."), | ||
33 | i18n("No Chipcard-support")); | ||
34 | } | ||
35 | #endif // CONFIG_KEYCARD | ||