src/gui/s60framework/qs60mainappui.cpp
branchRCL_3
changeset 12 25a739ee40f4
parent 8 3f74d0d4af4c
child 13 cc75c76972ee
child 29 b72c6db6890b
equal deleted inserted replaced
11:68d3b337861b 12:25a739ee40f4
   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  */