Diffstat (limited to 'libopie2/opiesecurity/multiauthmainwindow.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | libopie2/opiesecurity/multiauthmainwindow.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/libopie2/opiesecurity/multiauthmainwindow.h b/libopie2/opiesecurity/multiauthmainwindow.h index d5f53c6..626b8b3 100644 --- a/libopie2/opiesecurity/multiauthmainwindow.h +++ b/libopie2/opiesecurity/multiauthmainwindow.h | |||
@@ -32,24 +32,28 @@ | |||
32 | Boston, MA 02111-1307, USA. | 32 | Boston, MA 02111-1307, USA. |
33 | 33 | ||
34 | */ | 34 | */ |
35 | 35 | ||
36 | #ifndef MULTIAUTHMAINWINDOW_H | 36 | #ifndef MULTIAUTHMAINWINDOW_H |
37 | #define MULTIAUTHMAINWINDOW_H | 37 | #define MULTIAUTHMAINWINDOW_H |
38 | 38 | ||
39 | #include <qdialog.h> | 39 | #include <qdialog.h> |
40 | #include <qlayout.h> | 40 | #include <qlayout.h> |
41 | #include <qpushbutton.h> | 41 | #include <qpushbutton.h> |
42 | #include <qlabel.h> | 42 | #include <qlabel.h> |
43 | 43 | ||
44 | |||
45 | namespace Opie { | ||
46 | namespace Security { | ||
47 | |||
44 | /// Multiauth main window | 48 | /// Multiauth main window |
45 | /** | 49 | /** |
46 | * This QDialog window displays some information and an exit button, | 50 | * This QDialog window displays some information and an exit button, |
47 | * and completely hides the desktop, preventing user interactions | 51 | * and completely hides the desktop, preventing user interactions |
48 | * with it. | 52 | * with it. |
49 | */ | 53 | */ |
50 | class MultiauthMainWindow : public QDialog { | 54 | class MultiauthMainWindow : public QDialog { |
51 | Q_OBJECT | 55 | Q_OBJECT |
52 | 56 | ||
53 | public: | 57 | public: |
54 | MultiauthMainWindow(); | 58 | MultiauthMainWindow(); |
55 | ~MultiauthMainWindow(); | 59 | ~MultiauthMainWindow(); |
@@ -59,16 +63,22 @@ class MultiauthMainWindow : public QDialog { | |||
59 | QVBoxLayout * layout; | 63 | QVBoxLayout * layout; |
60 | QLabel * title, * message, * message2; | 64 | QLabel * title, * message, * message2; |
61 | QPushButton * proceedButton, * quit; | 65 | QPushButton * proceedButton, * quit; |
62 | /// whether to show explanatory screens before and after the authentication plugins | 66 | /// whether to show explanatory screens before and after the authentication plugins |
63 | bool explanScreens; | 67 | bool explanScreens; |
64 | /// allow to bypass authnentication via 'exit' buttons on both explan. screens | 68 | /// allow to bypass authnentication via 'exit' buttons on both explan. screens |
65 | bool allowBypass; | 69 | bool allowBypass; |
66 | /// true when the authentication has been done successfully | 70 | /// true when the authentication has been done successfully |
67 | bool alreadyDone; | 71 | bool alreadyDone; |
68 | 72 | ||
69 | private slots: | 73 | private slots: |
70 | void proceed(); | 74 | void proceed(); |
75 | private: | ||
76 | struct Private; | ||
77 | Private *d; | ||
71 | }; | 78 | }; |
72 | 79 | ||
80 | } | ||
81 | } | ||
82 | |||
73 | #endif // MULTIAUTHMAINWINDOW_H | 83 | #endif // MULTIAUTHMAINWINDOW_H |
74 | 84 | ||