Changeset 769 for trunk/src/gui/s60framework
- Timestamp:
- Aug 2, 2010, 9:27:30 PM (15 years ago)
- Location:
- trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/vendor/nokia/qt/4.6.3 (added) merged: 768 /branches/vendor/nokia/qt/current merged: 767 /branches/vendor/nokia/qt/4.6.2 removed
- Property svn:mergeinfo changed
-
trunk/src/gui/s60framework/qs60mainapplication.cpp
r651 r769 42 42 // INCLUDE FILES 43 43 #include <exception> 44 44 45 #include "qs60maindocument.h" 45 46 #include "qs60mainapplication_p.h" … … 58 59 } 59 60 60 _LIT(KQtWrapperResourceFile, "\\resource\\apps\\s60main .rsc");61 _LIT(KQtWrapperResourceFile, "\\resource\\apps\\s60main.rsc"); 61 62 62 63 /*! … … 64 65 \since 4.6 65 66 \brief The QS60MainApplication class provides support for migration from S60. 66 67 67 68 \warning This class is provided only to get access to S60 specific 68 69 functionality in the application framework classes. It is not 69 70 portable. We strongly recommend against using it in new applications. 70 71 71 72 The QS60MainApplication provides a helper class for use in migrating 72 73 from existing S60 based applications to Qt based applications. It is -
trunk/src/gui/s60framework/qs60mainappui.cpp
r651 r769 46 46 #include <eikmenup.h> 47 47 #include <barsread.h> 48 #include <s60main.rsg> 48 #include <qconfig.h> 49 #if defined(QT_LIBINFIX_UNQUOTED) 50 // Two level macro needed for proper expansion of libinfix 51 # define QT_S60MAIN_RSG_2(x) <s60main##x##.rsg> 52 # define QT_S60MAIN_RSG(x) QT_S60MAIN_RSG_2(x) 53 # include QT_S60MAIN_RSG(QT_LIBINFIX_UNQUOTED) 54 #else 55 # include <s60main.rsg> 56 #endif 49 57 #include <avkon.rsg> 50 58 … … 57 65 #include <qdebug.h> 58 66 67 68 69 59 70 QT_BEGIN_NAMESPACE 60 71 … … 105 116 // resource files in most SDKs. S60 3rd FP1 public seems to require resource file 106 117 // even these flags are defined 107 TInt flags = CAknAppUi::EAknEnableSkin; 108 if (QApplication::testAttribute(Qt::AA_S60DontConstructApplicationPanes)) { 109 flags |= CAknAppUi::ENoScreenFurniture | CAknAppUi::ENonStandardResourceFile; 110 } 118 TInt flags = CAknAppUi::EAknEnableSkin 119 | CAknAppUi::ENoScreenFurniture 120 | CAknAppUi::ENonStandardResourceFile; 121 // After 5th Edition S60, native side supports animated wallpapers. 122 // However, there is no support for that feature on Qt side, so indicate to 123 // native UI framework that this application will not support background animations. 124 if (QSysInfo::s60Version() > QSysInfo::SV_S60_5_0) 125 flags |= KAknDisableAnimationBackground; 111 126 BaseConstructL(flags); 112 113 if (!QApplication::testAttribute(Qt::AA_S60DontConstructApplicationPanes)) {114 CEikButtonGroupContainer* nativeContainer = Cba();115 nativeContainer->SetCommandSetL(R_AVKON_SOFTKEYS_EMPTY_WITH_IDS);116 }117 127 } 118 128 -
trunk/src/gui/s60framework/qs60maindocument.h
r651 r769 47 47 #ifdef Q_WS_S60 48 48 49 #include < akndoc.h>49 #include <oc.h> 50 50 51 51 class CEikApplication; -
trunk/src/gui/s60framework/s60framework.pri
r561 r769 5 5 "SOURCEPATH s60framework" \ 6 6 "START RESOURCE s60main.rss" \ 7 7 8 "HEADER" \ 8 "TARGETPATH resource\apps" \9 "TARGETPATH apps" \ 9 10 "END" 10 11 MMP_RULES += minimalAppResource31 … … 18 19 s60framework/qs60mainappui.h \ 19 20 s60framework/qs60maindocument.h 21 22
Note:
See TracChangeset
for help on using the changeset viewer.