-rw-r--r-- | core/launcher/serverapp.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/launcher/serverapp.cpp b/core/launcher/serverapp.cpp index be6b972..75d4ac1 100644 --- a/core/launcher/serverapp.cpp +++ b/core/launcher/serverapp.cpp | |||
@@ -275,49 +275,49 @@ QPE_MEMALERTER_IMPL | |||
275 | bool ServerApplication::doRestart = FALSE; | 275 | bool ServerApplication::doRestart = FALSE; |
276 | bool ServerApplication::allowRestart = TRUE; | 276 | bool ServerApplication::allowRestart = TRUE; |
277 | bool ServerApplication::ms_is_starting = TRUE; | 277 | bool ServerApplication::ms_is_starting = TRUE; |
278 | 278 | ||
279 | void ServerApplication::switchLCD( bool on ) | 279 | void ServerApplication::switchLCD( bool on ) |
280 | { | 280 | { |
281 | if ( !qApp ) | 281 | if ( !qApp ) |
282 | return; | 282 | return; |
283 | 283 | ||
284 | ServerApplication *dapp = ServerApplication::me() ; | 284 | ServerApplication *dapp = ServerApplication::me() ; |
285 | 285 | ||
286 | if ( !dapp-> m_screensaver ) | 286 | if ( !dapp-> m_screensaver ) |
287 | return; | 287 | return; |
288 | 288 | ||
289 | if ( on ) { | 289 | if ( on ) { |
290 | dapp-> m_screensaver-> setDisplayState ( true ); | 290 | dapp-> m_screensaver-> setDisplayState ( true ); |
291 | dapp-> m_screensaver-> setBacklight ( -3 ); | 291 | dapp-> m_screensaver-> setBacklight ( -3 ); |
292 | } else | 292 | } else |
293 | dapp-> m_screensaver-> setDisplayState ( false ); | 293 | dapp-> m_screensaver-> setDisplayState ( false ); |
294 | 294 | ||
295 | 295 | ||
296 | } | 296 | } |
297 | 297 | ||
298 | ServerApplication::ServerApplication( int& argc, char **argv, Type t ) | 298 | ServerApplication::ServerApplication( int& argc, char **argv, Type t ) |
299 | : QPEApplication( argc, argv, t ) | 299 | : Opie::Core::OApplication( argc, argv, t ) |
300 | { | 300 | { |
301 | ms_is_starting = true; | 301 | ms_is_starting = true; |
302 | 302 | ||
303 | // We know we'll have lots of cached pixmaps due to App/DocLnks | 303 | // We know we'll have lots of cached pixmaps due to App/DocLnks |
304 | QPixmapCache::setCacheLimit(512); | 304 | QPixmapCache::setCacheLimit(512); |
305 | 305 | ||
306 | m_ps = new PowerStatus; | 306 | m_ps = new PowerStatus; |
307 | m_ps_last = new PowerStatus; | 307 | m_ps_last = new PowerStatus; |
308 | pa = new DesktopPowerAlerter( 0 ); | 308 | pa = new DesktopPowerAlerter( 0 ); |
309 | 309 | ||
310 | m_apm_timer = new QTimer( this ); | 310 | m_apm_timer = new QTimer( this ); |
311 | connect(m_apm_timer, SIGNAL( timeout() ), | 311 | connect(m_apm_timer, SIGNAL( timeout() ), |
312 | this, SLOT( apmTimeout() ) ); | 312 | this, SLOT( apmTimeout() ) ); |
313 | 313 | ||
314 | reloadPowerWarnSettings(); | 314 | reloadPowerWarnSettings(); |
315 | 315 | ||
316 | QCopChannel *channel = new QCopChannel( "QPE/System", this ); | 316 | QCopChannel *channel = new QCopChannel( "QPE/System", this ); |
317 | connect(channel, SIGNAL(received(const QCString&,const QByteArray&) ), | 317 | connect(channel, SIGNAL(received(const QCString&,const QByteArray&) ), |
318 | this, SLOT(systemMessage(const QCString&,const QByteArray&) ) ); | 318 | this, SLOT(systemMessage(const QCString&,const QByteArray&) ) ); |
319 | 319 | ||
320 | channel = new QCopChannel("QPE/Launcher", this ); | 320 | channel = new QCopChannel("QPE/Launcher", this ); |
321 | connect(channel, SIGNAL(received(const QCString&,const QByteArray&) ), | 321 | connect(channel, SIGNAL(received(const QCString&,const QByteArray&) ), |
322 | this, SLOT(launcherMessage(const QCString&,const QByteArray&) ) ); | 322 | this, SLOT(launcherMessage(const QCString&,const QByteArray&) ) ); |
323 | 323 | ||