summaryrefslogtreecommitdiff
path: root/library
authorzecke <zecke>2005-10-04 19:38:19 (UTC)
committer zecke <zecke>2005-10-04 19:38:19 (UTC)
commit31777172abf127e00594790e4365dfad8772b100 (patch) (unidiff)
tree12fe51bdf3839d056a661f65f2741d651ce0c8f3 /library
parentd6a6706d2a2511fce8179499dec23c91c14432b1 (diff)
downloadopie-31777172abf127e00594790e4365dfad8772b100.zip
opie-31777172abf127e00594790e4365dfad8772b100.tar.gz
opie-31777172abf127e00594790e4365dfad8772b100.tar.bz2
libqpe:
My QPEApplication does not have a public copy constructor. so we simply avoid using it by creation the application directly.
Diffstat (limited to 'library') (more/less context) (ignore whitespace changes)
-rw-r--r--library/qpeapplication.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/qpeapplication.h b/library/qpeapplication.h
index cff3e43..6486cad 100644
--- a/library/qpeapplication.h
+++ b/library/qpeapplication.h
@@ -216,25 +216,25 @@ inline void QPEApplication::setCurrentRotation( int r )
216#else 216#else
217 setDefaultRotation( r ); 217 setDefaultRotation( r );
218#endif 218#endif
219} 219}
220 220
221/* 221/*
222 * Qtopia 1.7 SDK compatibility macros 222 * Qtopia 1.7 SDK compatibility macros
223 * FIXME: Support Opie Quicklaunch Interface 223 * FIXME: Support Opie Quicklaunch Interface
224 */ 224 */
225 #define QTOPIA_ADD_APPLICATION(NAME,IMPLEMENTATION) \ 225 #define QTOPIA_ADD_APPLICATION(NAME,IMPLEMENTATION) \
226 int main( int argc, char** argv ) \ 226 int main( int argc, char** argv ) \
227 { \ 227 { \
228 QPEApplication app = QPEApplication( argc, argv );\ 228 QPEApplication app( argc, argv );\
229 IMPLEMENTATION* mw = new IMPLEMENTATION(); \ 229 IMPLEMENTATION* mw = new IMPLEMENTATION(); \
230 app.showMainWidget( mw ); \ 230 app.showMainWidget( mw ); \
231 app.exec(); \ 231 app.exec(); \
232 } 232 }
233#define QTOPIA_MAIN // Bee-Bop-Alula 233#define QTOPIA_MAIN // Bee-Bop-Alula
234 234
235/* 235/*
236 * -remove me 236 * -remove me
237 */ 237 */
238#ifdef Q_WS_QWS 238#ifdef Q_WS_QWS
239extern Q_EXPORT QRect qt_maxWindowRect; 239extern Q_EXPORT QRect qt_maxWindowRect;
240#endif 240#endif