-rw-r--r-- | core/launcher/wait.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/launcher/wait.cpp b/core/launcher/wait.cpp index 4148e57..a5b329d 100644 --- a/core/launcher/wait.cpp +++ b/core/launcher/wait.cpp | |||
@@ -8,48 +8,49 @@ | |||
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 | 20 | ||
21 | #include "wait.h" | 21 | #include "wait.h" |
22 | 22 | ||
23 | #include <qtopia/config.h> | 23 | #include <qtopia/config.h> |
24 | 24 | ||
25 | #include <opie2/owait.h> | 25 | #include <opie2/owait.h> |
26 | 26 | ||
27 | 27 | ||
28 | 28 | ||
29 | Wait *lastWaitObject = NULL; | 29 | Wait *lastWaitObject = NULL; |
30 | 30 | ||
31 | 31 | ||
32 | using namespace Opie::Ui; | ||
32 | Wait::Wait( QWidget *parent ) : QWidget( parent ), | 33 | Wait::Wait( QWidget *parent ) : QWidget( parent ), |
33 | pm( Resource::loadPixmap( "wait" ) ), waiting( FALSE ) | 34 | pm( Resource::loadPixmap( "wait" ) ), waiting( FALSE ) |
34 | { | 35 | { |
35 | setFixedSize( pm.size() ); | 36 | setFixedSize( pm.size() ); |
36 | lastWaitObject = this; | 37 | lastWaitObject = this; |
37 | m_centralWait = new OWait( 0l ); | 38 | m_centralWait = new OWait( 0l ); |
38 | m_centralWait->hide(); | 39 | m_centralWait->hide(); |
39 | hide(); | 40 | hide(); |
40 | } | 41 | } |
41 | 42 | ||
42 | 43 | ||
43 | Wait *Wait::getWaitObject() | 44 | Wait *Wait::getWaitObject() |
44 | { | 45 | { |
45 | return lastWaitObject; | 46 | return lastWaitObject; |
46 | } | 47 | } |
47 | 48 | ||
48 | 49 | ||
49 | void Wait::setWaiting( bool w ) | 50 | void Wait::setWaiting( bool w ) |
50 | { | 51 | { |
51 | Config cfg ( "Launcher" ); | 52 | Config cfg ( "Launcher" ); |
52 | cfg.setGroup("GUI"); | 53 | cfg.setGroup("GUI"); |
53 | 54 | ||
54 | 55 | ||
55 | waiting = w; | 56 | waiting = w; |