-rw-r--r-- | library/qpeapplication.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/library/qpeapplication.h b/library/qpeapplication.h index 770ea23..343e0b9 100644 --- a/library/qpeapplication.h +++ b/library/qpeapplication.h @@ -112,8 +112,11 @@ private slots: void pidMessage( const QCString &msg, const QByteArray &data ); void removeSenderFromStylusDict(); void hideOrQuit(); +private: + inline QWidget *nextWidget( QWidgetList*, QWidget* ); + protected: bool qwsEventFilter( QWSEvent * ); void internalSetStyle( const QString &style ); void prepareForTermination(bool willrestart); @@ -190,15 +193,15 @@ inline Transformation DegToTrans ( int d ) 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 } #endif |