From d8fadaf4f510803983d0b8b99994fd70e770ccab Mon Sep 17 00:00:00 2001 From: zecke Date: Fri, 29 Aug 2003 06:52:04 +0000 Subject: -IF the app is visible and has more than once topLevel widget iterate over the list and activate the next one. -Install translation in .qm -Add an else again ( was lost in a merge ) --- (limited to 'library/qpeapplication.h') diff --git a/library/qpeapplication.h b/library/qpeapplication.h index 770ea23..343e0b9 100644 --- a/library/qpeapplication.h +++ b/library/qpeapplication.h @@ -113,6 +113,9 @@ private slots: void removeSenderFromStylusDict(); void hideOrQuit(); +private: + inline QWidget *nextWidget( QWidgetList*, QWidget* ); + protected: bool qwsEventFilter( QWSEvent * ); void internalSetStyle( const QString &style ); @@ -191,13 +194,13 @@ inline void QPEApplication::setCurrentRotation( int r ) { // setTransformation has been introduced in Qt/Embedded 2.3.4 snapshots // for compatibility with the SharpROM use fallback to setDefaultTransformation() - #if QT_VERSION > 233 +#if QT_VERSION > 233 Transformation e = DegToTrans( r ); - setenv( "QWS_DISPLAY", QString( "Transformed:Rot%1:0" ).arg( r ).latin1(), 1 ); + ::setenv( "QWS_DISPLAY", QString( "Transformed:Rot%1:0" ).arg( r ).latin1(), 1 ); qApp->desktop()->qwsDisplay()->setTransformation( e ); - #else +#else setDefaultRotation( r ); - #endif +#endif } -- cgit v0.9.0.2