summaryrefslogtreecommitdiff
path: root/core/launcher/wait.cpp
authorharlekin <harlekin>2003-03-24 20:51:18 (UTC)
committer harlekin <harlekin>2003-03-24 20:51:18 (UTC)
commit2bf0790dac098fd24a20161f32cd848a87fe56ca (patch) (side-by-side diff)
tree3c39e00d0cc843a28b58e9ab1e96910e2141eca8 /core/launcher/wait.cpp
parent13814875fb747d0081d191cd572a2219b9772c77 (diff)
downloadopie-2bf0790dac098fd24a20161f32cd848a87fe56ca.zip
opie-2bf0790dac098fd24a20161f32cd848a87fe56ca.tar.gz
opie-2bf0790dac098fd24a20161f32cd848a87fe56ca.tar.bz2
preliminary big busy cursor - maybe an animation later
Diffstat (limited to 'core/launcher/wait.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--core/launcher/wait.cpp21
1 files changed, 17 insertions, 4 deletions
diff --git a/core/launcher/wait.cpp b/core/launcher/wait.cpp
index 059e6f1..e1832dd 100644
--- a/core/launcher/wait.cpp
+++ b/core/launcher/wait.cpp
@@ -21,6 +21,7 @@
#include "wait.h"
#include <qpe/resource.h>
+#include <qpe/config.h>
#include <qwidget.h>
#include <qpixmap.h>
@@ -35,6 +36,8 @@ Wait::Wait( QWidget *parent ) : QWidget( parent ),
{
setFixedSize( pm.size() );
lastWaitObject = this;
+ centralWait = new WaitPopup( 0L );
+ centralWait->hide();
hide();
}
@@ -47,11 +50,21 @@ Wait *Wait::getWaitObject()
void Wait::setWaiting( bool w )
{
+ Config cfg ( "Launcher" );
+ cfg. setGroup ( "GUI" );
+
+
waiting = w;
- if ( w )
- show();
- else
- hide();
+ if ( w ) {
+ if ( cfg. readBoolEntry ( "BigBusy" ) ) {
+ centralWait->show();
+ } else {
+ show();
+ }
+ } else {
+ centralWait->hide();
+ hide();
+ }
}