-rw-r--r-- | library/qpeapplication.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/library/qpeapplication.h b/library/qpeapplication.h index 00d3d31..849d5b3 100644 --- a/library/qpeapplication.h +++ b/library/qpeapplication.h | |||
@@ -217,12 +217,25 @@ inline void QPEApplication::setCurrentRotation( int r ) | |||
217 | qApp->desktop()->qwsDisplay()->setTransformation( e ); | 217 | qApp->desktop()->qwsDisplay()->setTransformation( e ); |
218 | #else | 218 | #else |
219 | setDefaultRotation( r ); | 219 | setDefaultRotation( r ); |
220 | #endif | 220 | #endif |
221 | } | 221 | } |
222 | 222 | ||
223 | /* | ||
224 | * Qtopia 1.7 SDK compatibility macros | ||
225 | * FIXME: Support Opie Quicklaunch Interface | ||
226 | */ | ||
227 | #define QTOPIA_ADD_APPLICATION(NAME,IMPLEMENTATION) \ | ||
228 | int main( int argc, char** argv ) \ | ||
229 | { \ | ||
230 | QPEApplication app = QPEApplication( argc, argv );\ | ||
231 | IMPLEMENTATION* mw = new IMPLEMENTATION(); \ | ||
232 | app.showMainWidget( mw ); \ | ||
233 | app.exec(); \ | ||
234 | } | ||
235 | #define QTOPIA_MAIN // Bee-Bop-Alula | ||
223 | 236 | ||
224 | /* | 237 | /* |
225 | * -remove me | 238 | * -remove me |
226 | */ | 239 | */ |
227 | #ifdef Q_WS_QWS | 240 | #ifdef Q_WS_QWS |
228 | extern Q_EXPORT QRect qt_maxWindowRect; | 241 | extern Q_EXPORT QRect qt_maxWindowRect; |