void CSliderControl::ConstructL(CCoeControl* aParent,TInt aResId) { TResourceReader reader; CEikonEnv::Static()->CreateResourceReaderLC(reader,aResId); CleanupStack::Pop(1); //reader ConstructFromResourceL(reader); }
// Creates a resource reader from the animation aResourceId void CAnimateFramesCtl::StaticConstructL(TInt aResourceId) { TResourceReader reader; iCoeEnv->CreateResourceReaderLC(reader,aResourceId); ConstructFromResourceL(reader); CleanupStack::PopAndDestroy(); }
void CSymTorrentTrackerSettingsContainer::ConstructL(const TRect& aRect) { CreateWindowL(); ConstructFromResourceL(R_SYMTORRENT_TRACKER_SETTING_ITEM_LIST); SetRect(aRect); ActivateL(); }
// --------------------------------------------------------------------------- // CAknMemorySelectionDialogMultiDrive::ConstructFromResourceL // --------------------------------------------------------------------------- // void CAknMemorySelectionDialogMultiDrive::ConstructFromResourceL( TInt aResourceId, TBool aShowUnavailableDrives ) { ConstructFromResourceL( aResourceId, aShowUnavailableDrives, AknCommonDialogsDynMem::EMemoryTypePhone | AknCommonDialogsDynMem::EMemoryTypeInternalMassStorage | AknCommonDialogsDynMem::EMemoryTypeMMCExternal | AknCommonDialogsDynMem::EMemoryTypeRemote ); }
// Second-phase constructor void CProfileEditSshSettingList::ConstructL() { iConfig = iPutty.GetConfig(); ConstructFromResourceL(R_PUTTY_PROFILEEDIT_SSH_SETTINGLIST); ActivateL(); }
// ----------------------------------------------------------------------------- // CTestSettingPage::TestConstructFromResourceL // ----------------------------------------------------------------------------- // void CTestSettingPage::TestConstructFromResourceL(TResourceReader& aRes) { ConstructFromResourceL( aRes ); }
// ----------------------------------------------------------------------------- // CTestSettingPage::TestConstructFromResourceL // ----------------------------------------------------------------------------- // void CTestSettingPage::TestConstructFromResourceL( TInt aResourceId) { ConstructFromResourceL( aResourceId ); }
// Second-phase constructor void CProfileEditDisplaySettingList::ConstructL() { iConfig = iPutty.GetConfig(); iPalettes = CPalettes::NewL(R_PUTTY_PALETTE_NAMES, R_PUTTY_PALETTES); ConstructFromResourceL(R_PUTTY_PROFILEEDIT_DISPLAY_SETTINGLIST); ActivateL(); }