-rw-r--r-- | library/password.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/library/password.cpp b/library/password.cpp index 41b3358..4b22b65 100644 --- a/library/password.cpp +++ b/library/password.cpp | |||
@@ -6,51 +6,49 @@ | |||
6 | ** This file may be distributed and/or modified under the terms of the | 6 | ** This file may be distributed and/or modified under the terms of the |
7 | ** GNU General Public License version 2 as published by the Free Software | 7 | ** GNU General Public License version 2 as published by the Free Software |
8 | ** Foundation and appearing in the file LICENSE.GPL included in the | 8 | ** Foundation and appearing in the file LICENSE.GPL included in the |
9 | ** packaging of this file. | 9 | ** packaging of this file. |
10 | ** | 10 | ** |
11 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE | 11 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE |
12 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. | 12 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. |
13 | ** | 13 | ** |
14 | ** See http://www.trolltech.com/gpl/ for GPL licensing information. | 14 | ** See http://www.trolltech.com/gpl/ for GPL licensing information. |
15 | ** | 15 | ** |
16 | ** Contact info@trolltech.com if any conditions of this licensing are | 16 | ** Contact info@trolltech.com if any conditions of this licensing are |
17 | ** not clear to you. | 17 | ** not clear to you. |
18 | ** | 18 | ** |
19 | **********************************************************************/ | 19 | **********************************************************************/ |
20 | #include "password.h" | 20 | #include "password.h" |
21 | #include "config.h" | 21 | #include "config.h" |
22 | #include "global.h" | 22 | #include "global.h" |
23 | #include "backend/contact.h" | 23 | #include "backend/contact.h" |
24 | #include <qlabel.h> | 24 | #include <qlabel.h> |
25 | #include <qlineedit.h> | 25 | #include <qlineedit.h> |
26 | #include <qtextview.h> | 26 | #include <qtextview.h> |
27 | #include <qstring.h> | 27 | #include <qstring.h> |
28 | #include <qapplication.h> | 28 | #include <qapplication.h> |
29 | #include <qfile.h> | 29 | #include <qfile.h> |
30 | #ifdef QWS | ||
31 | #include <qwindowsystem_qws.h> | 30 | #include <qwindowsystem_qws.h> |
32 | #endif | ||
33 | 31 | ||
34 | #include <qdialog.h> | 32 | #include <qdialog.h> |
35 | 33 | ||
36 | #include <unistd.h> //for sleep | 34 | #include <unistd.h> //for sleep |
37 | #include "passwordbase_p.h" | 35 | #include "passwordbase_p.h" |
38 | 36 | ||
39 | class PasswordDialog : public PasswordBase | 37 | class PasswordDialog : public PasswordBase |
40 | { | 38 | { |
41 | Q_OBJECT | 39 | Q_OBJECT |
42 | 40 | ||
43 | public: | 41 | public: |
44 | PasswordDialog( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); | 42 | PasswordDialog( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); |
45 | ~PasswordDialog(); | 43 | ~PasswordDialog(); |
46 | 44 | ||
47 | void clear(); | 45 | void clear(); |
48 | void setPrompt( const QString& ); | 46 | void setPrompt( const QString& ); |
49 | 47 | ||
50 | signals: | 48 | signals: |
51 | void passwordEntered( const QString& ); | 49 | void passwordEntered( const QString& ); |
52 | 50 | ||
53 | protected: | 51 | protected: |
54 | bool eventFilter( QObject*, QEvent* ); | 52 | bool eventFilter( QObject*, QEvent* ); |
55 | void keyPressEvent( QKeyEvent * ); | 53 | void keyPressEvent( QKeyEvent * ); |
56 | 54 | ||