author | mickeyl <mickeyl> | 2005-01-02 15:20:41 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2005-01-02 15:20:41 (UTC) |
commit | 71232a4e45f78041c2ab138edf45903bbf2b34ce (patch) (unidiff) | |
tree | 6c51dc86163e656c7ac6a3cd6ea7e7e0f1ab89c0 | |
parent | 226a83c4b4334648de408249dba61bd1f7e6dba3 (diff) | |
download | opie-71232a4e45f78041c2ab138edf45903bbf2b34ce.zip opie-71232a4e45f78041c2ab138edf45903bbf2b34ce.tar.gz opie-71232a4e45f78041c2ab138edf45903bbf2b34ce.tar.bz2 |
Add the Qtopia 1.7 SDK macros for quick-apps to easa compilation of 3rd party apps against our headers
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | library/qpeapplication.h | 13 |
2 files changed, 17 insertions, 3 deletions
@@ -1,44 +1,45 @@ | |||
1 | 2005-??-??Opie 1.2.0 | 1 | 2005-??-??Opie 1.2.0 |
2 | 2 | ||
3 | New Features | 3 | New Features |
4 | ------------ | 4 | ------------ |
5 | 5 | ||
6 | Fixed Bugs | 6 | Fixed Bugs |
7 | ---------- | 7 | ---------- |
8 | * #1501 - Fixing bug in todo sql backend (eilers) | 8 | * #1501 - Fixing bug in todo sql backend (eilers) |
9 | 9 | ||
10 | Internal | 10 | Internal |
11 | -------- | 11 | -------- |
12 | * Added the Qtopia 1.7 SDK macros for quick-apps to easa compilation of 3rd party apps against our headers (mickeyl) | ||
12 | 13 | ||
13 | 2004-11-26Opie 1.1.8 | 14 | 2004-11-26Opie 1.1.8 |
14 | 15 | ||
15 | New Features | 16 | New Features |
16 | ------------ | 17 | ------------ |
17 | * PackageManager supports installation of local ipkg files (drw) | 18 | * PackageManager supports installation of local ipkg files (drw) |
18 | * PackageManager supports linking of applications to root (drw) | 19 | * PackageManager supports linking of applications to root (drw) |
19 | * PackageManager supports src/gz feeds (drw,wimpie) | 20 | * PackageManager supports src/gz feeds (drw,wimpie) |
20 | * Add a syslog information tab to sysinfo (mickeyl) | 21 | * Added a syslog information tab to sysinfo (mickeyl) |
21 | * Add new, more consistent, PIM icons + a GIMP teplate (ar) | 22 | * Added new, more consistent, PIM icons + a GIMP teplate (ar) |
22 | 23 | ||
23 | Fixed Bugs | 24 | Fixed Bugs |
24 | ---------- | 25 | ---------- |
25 | * #1017 - Tetrix doesn't display correctly for high resolution screens (drw) | 26 | * #1017 - Tetrix doesn't display correctly for high resolution screens (drw) |
26 | * #1269 - VCards were imported into personal area if it was activated (eilers) | 27 | * #1269 - VCards were imported into personal area if it was activated (eilers) |
27 | * #1464 - Packagemanager dont set active filter after install a package (drw) | 28 | * #1464 - Packagemanager dont set active filter after install a package (drw) |
28 | * #1479 - Improved VCard-Parser to import VCards created by Evolution 2 and Apple Addressbook (eilers) | 29 | * #1479 - Improved VCard-Parser to import VCards created by Evolution 2 and Apple Addressbook (eilers) |
29 | * #1493 - Fixed one column layout bug of the launcher (hrw) | 30 | * #1493 - Fixed one column layout bug of the launcher (hrw) |
30 | * n.a. - PackageManager - (Minor UI tweak) in filter dialog, when option is enabled, set focus to widget that corresponds to that option (drw) | 31 | * n.a. - PackageManager - (Minor UI tweak) in filter dialog, when option is enabled, set focus to widget that corresponds to that option (drw) |
31 | * n.a. - PackageManager - (Minor UI tweak) fix double entry in source feed configuration when adding a new feed (drw) | 32 | * n.a. - PackageManager - (Minor UI tweak) fix double entry in source feed configuration when adding a new feed (drw) |
32 | * n.a. - Battery Applet - fix sizing of battery info popup | 33 | * n.a. - Battery Applet - fix sizing of battery info popup (drw,mickeyl) |
33 | 34 | ||
34 | Internal | 35 | Internal |
35 | -------- | 36 | -------- |
36 | * Moved libopie1 to unsupported (mickeyl) | 37 | * Moved libopie1 to unsupported (mickeyl) |
37 | * Implemented generic queryByExample() with incremental searching. A lot of internal changes of the Pim2-library (eilers) | 38 | * Implemented generic queryByExample() with incremental searching. A lot of internal changes of the Pim2-library (eilers) |
38 | * Added fast and full featured and incremental sorted() for SQL addressbook backend (eilers) | 39 | * Added fast and full featured and incremental sorted() for SQL addressbook backend (eilers) |
39 | 40 | ||
40 | 2004-11-14Opie 1.1.7 | 41 | 2004-11-14Opie 1.1.7 |
41 | 42 | ||
42 | New Features | 43 | New Features |
43 | ------------ | 44 | ------------ |
44 | * libOpieDB now uses SQLite V3 instead V2. Remember to upgrade your database files! (eilers) | 45 | * libOpieDB now uses SQLite V3 instead V2. Remember to upgrade your database files! (eilers) |
diff --git a/library/qpeapplication.h b/library/qpeapplication.h index 00d3d31..849d5b3 100644 --- a/library/qpeapplication.h +++ b/library/qpeapplication.h | |||
@@ -211,21 +211,34 @@ inline void QPEApplication::setCurrentRotation( int r ) | |||
211 | { | 211 | { |
212 | // setTransformation has been introduced in Qt/Embedded 2.3.4 snapshots | 212 | // setTransformation has been introduced in Qt/Embedded 2.3.4 snapshots |
213 | // for compatibility with the SharpROM use fallback to setDefaultTransformation() | 213 | // for compatibility with the SharpROM use fallback to setDefaultTransformation() |
214 | #if QT_VERSION > 233 | 214 | #if QT_VERSION > 233 |
215 | Transformation e = DegToTrans( r ); | 215 | Transformation e = DegToTrans( r ); |
216 | ::setenv( "QWS_DISPLAY", QString( "Transformed:Rot%1:0" ).arg( r ).latin1(), 1 ); | 216 | ::setenv( "QWS_DISPLAY", QString( "Transformed:Rot%1:0" ).arg( r ).latin1(), 1 ); |
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; |
229 | #endif | 242 | #endif |
230 | 243 | ||
231 | #endif | 244 | #endif |