diff options
author | Daniel d'Andrada <daniel.dandrada@nokia.com> | 2010-08-02 14:10:15 +0300 |
---|---|---|
committer | Daniel d'Andrada <daniel.dandrada@nokia.com> | 2010-08-06 09:28:25 +0300 |
commit | 62c8a37cb03f871cf00571946604818f224c3169 (patch) | |
tree | d2bd47103934716d3b758de7406aaa077eedec23 /examples | |
parent | 851e85b1b56e71b4d7149fc84b269dd873071950 (diff) |
New: MSceneWindow::appear(scene, policy);
RevBy: Dominik Kapusta
Details: Added to accompany the existing MSceneWindow::appear(window, policy);
Diffstat (limited to 'examples')
-rw-r--r-- | examples/pagenavigation_drilldown/samplepage.cpp | 2 | ||||
-rw-r--r-- | examples/tutorial/tutorial_music_artistpage.cpp | 2 | ||||
-rw-r--r-- | examples/tutorial/tutorial_music_mainpage.cpp | 2 | ||||
-rw-r--r-- | examples/tutorial_music_catalogue/artistpage.cpp | 2 | ||||
-rw-r--r-- | examples/tutorial_music_catalogue/mainpage.cpp | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/examples/pagenavigation_drilldown/samplepage.cpp b/examples/pagenavigation_drilldown/samplepage.cpp index 3469973d..13557b5f 100644 --- a/examples/pagenavigation_drilldown/samplepage.cpp +++ b/examples/pagenavigation_drilldown/samplepage.cpp @@ -25,5 +25,5 @@ SamplePage::SamplePage(int level) : MApplicationPage(0), level(level) void SamplePage::openNextPage() { SamplePage *nextPage = new SamplePage(level + 1); - sceneManager()->appearSceneWindow(nextPage, MSceneWindow::DestroyWhenDismissed); + nextPage->appear(scene(), MSceneWindow::DestroyWhenDismissed); } diff --git a/examples/tutorial/tutorial_music_artistpage.cpp b/examples/tutorial/tutorial_music_artistpage.cpp index 51af0bd6..2511838b 100644 --- a/examples/tutorial/tutorial_music_artistpage.cpp +++ b/examples/tutorial/tutorial_music_artistpage.cpp @@ -45,5 +45,5 @@ void ArtistPage::displayAlbum(int albumIndex) Album *album = artist->albums[albumIndex]; AlbumPage *albumPage = new AlbumPage(album); - sceneManager()->appearSceneWindow(albumPage, MSceneWindow::DestroyWhenDismissed); + albumPage->appear(scene(), MSceneWindow::DestroyWhenDismissed); } diff --git a/examples/tutorial/tutorial_music_mainpage.cpp b/examples/tutorial/tutorial_music_mainpage.cpp index 05826722..b56a46c4 100644 --- a/examples/tutorial/tutorial_music_mainpage.cpp +++ b/examples/tutorial/tutorial_music_mainpage.cpp @@ -71,5 +71,5 @@ void MainPage::displayArtist(int artistIndex) // By setting MSceneWindow::DestroyWhenDismissed we don't have to // keep tabs on this page since it will be automatically destroyed // after the dismissal. - sceneManager()->appearSceneWindow(artistPage, MSceneWindow::DestroyWhenDismissed); + artistPage->appear(scene(), MSceneWindow::DestroyWhenDismissed); } diff --git a/examples/tutorial_music_catalogue/artistpage.cpp b/examples/tutorial_music_catalogue/artistpage.cpp index be4fa0c4..51f2cb79 100644 --- a/examples/tutorial_music_catalogue/artistpage.cpp +++ b/examples/tutorial_music_catalogue/artistpage.cpp @@ -44,5 +44,5 @@ void ArtistPage::displayAlbum(int albumIndex) Album *album = artist->albums[albumIndex]; AlbumPage *albumPage = new AlbumPage(album); - sceneManager()->appearSceneWindow(albumPage, MSceneWindow::DestroyWhenDismissed); + albumPage->appear(scene(), MSceneWindow::DestroyWhenDismissed); } diff --git a/examples/tutorial_music_catalogue/mainpage.cpp b/examples/tutorial_music_catalogue/mainpage.cpp index fbbeed4d..a782de19 100644 --- a/examples/tutorial_music_catalogue/mainpage.cpp +++ b/examples/tutorial_music_catalogue/mainpage.cpp @@ -71,5 +71,5 @@ void MainPage::displayArtist(int artistIndex) // By setting MSceneWindow::DestroyWhenDismissed we don't have to // keep tabs on this page since it will be automatically destroyed // after the dismissal. - sceneManager()->appearSceneWindow(artistPage, MSceneWindow::DestroyWhenDismissed); + artistPage->appear(scene(), MSceneWindow::DestroyWhenDismissed); } |