From cb7a0156d641e96dfb6fe1cea6ca3a26e54ce6b2 Mon Sep 17 00:00:00 2001 From: alwin Date: Thu, 26 Feb 2004 22:26:20 +0000 Subject: flag ms_is_starting it will be set true until the main eventloop is reached. Check it with ServerApp::isStarting() --- (limited to 'core/launcher/serverapp.h') diff --git a/core/launcher/serverapp.h b/core/launcher/serverapp.h index fe3f24a..4d9f808 100644 --- a/core/launcher/serverapp.h +++ b/core/launcher/serverapp.h @@ -94,11 +94,14 @@ public: static bool allowRestart; static bool screenLocked(); static void login(bool at_poweron); + + static bool isStarting(); static void switchLCD ( bool on ); // only for togglePower in Desktop static void soundAlarm(); // only because QCop soundAlarm() is defined in QPE/TaskBar void restart(); + int exec(); signals: void menu(); @@ -155,6 +158,7 @@ private: bool m_keyclick_sound : 1; bool m_screentap_sound : 1; bool m_alarm_sound : 1; + static bool ms_is_starting; friend class KeyFilter; -- cgit v0.9.0.2