Changeset 769 for trunk/src/gui/s60framework/qs60mainappui.cpp
- Timestamp:
- Aug 2, 2010, 9:27:30 PM (15 years ago)
- Location:
- trunk
- Files:
-
- 2 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/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
Note:
See TracChangeset
for help on using the changeset viewer.