equal
deleted
inserted
replaced
110 |
110 |
111 // Initialise app UI with standard value. |
111 // Initialise app UI with standard value. |
112 // ENoAppResourceFile and ENonStandardResourceFile makes UI to work without |
112 // ENoAppResourceFile and ENonStandardResourceFile makes UI to work without |
113 // resource files in most SDKs. S60 3rd FP1 public seems to require resource file |
113 // resource files in most SDKs. S60 3rd FP1 public seems to require resource file |
114 // even these flags are defined |
114 // even these flags are defined |
115 TInt flags = CAknAppUi::EAknEnableSkin; |
115 TInt flags = CAknAppUi::EAknEnableSkin |
116 if (QApplication::testAttribute(Qt::AA_S60DontConstructApplicationPanes)) { |
116 | CAknAppUi::ENoScreenFurniture |
117 flags |= CAknAppUi::ENoScreenFurniture | CAknAppUi::ENonStandardResourceFile; |
117 | CAknAppUi::ENonStandardResourceFile; |
118 } |
|
119 BaseConstructL(flags); |
118 BaseConstructL(flags); |
120 |
|
121 if (!QApplication::testAttribute(Qt::AA_S60DontConstructApplicationPanes)) { |
|
122 CEikButtonGroupContainer* nativeContainer = Cba(); |
|
123 nativeContainer->SetCommandSetL(R_AVKON_SOFTKEYS_EMPTY_WITH_IDS); |
|
124 } |
|
125 } |
119 } |
126 |
120 |
127 /*! |
121 /*! |
128 * \brief Contructs an instance of QS60MainAppUi. |
122 * \brief Contructs an instance of QS60MainAppUi. |
129 */ |
123 */ |