diff -r f3533f6eae3f -r 96df3ab41000 locationpickerservice/src/locationpickerappwindow.cpp --- a/locationpickerservice/src/locationpickerappwindow.cpp Fri Jun 11 13:33:47 2010 +0300 +++ b/locationpickerservice/src/locationpickerappwindow.cpp Wed Jun 23 18:07:15 2010 +0300 @@ -80,11 +80,11 @@ mLocationPickerLandscapeView = qobject_cast(locationPickerWidget); mLocationPickerContent->populateModel(Qt::Horizontal); //initialize widgets and connect to respective signals - mLocationPickerLandscapeView->init(Qt::Horizontal, mLocationPickerContent->getStandardGridModel()); + mLocationPickerLandscapeView->init(Qt::Horizontal, mLocationPickerContent->getStandardModel()); connectLandscapeSlots(); addView(mLocationPickerLandscapeView); //connect to orientationChanged signal - connect(this, SIGNAL(orientationChanged(Qt::Orientation)),this, SLOT(changeOrientation(Qt::Orientation))); + connect(this, SIGNAL(orientationChanged(Qt::Orientation)),this, SLOT(changeOrientation(Qt::Orientation))); //launch the view in current orientation changeOrientation(this->orientation()); } @@ -147,7 +147,6 @@ //set LocationPickerSearchview as current view setCurrentView(mLocationPickerSearchView); mviewType = ELocationPickerSearchView; - } // ---------------------------------------------------------------------------- @@ -160,7 +159,7 @@ if(this->orientation() == Qt::Horizontal) { mLocationPickerLandscapeView->setViewType( ELocationPickerContent ); - mLocationPickerLandscapeView->manageGridView(); + mLocationPickerLandscapeView->manageHgWidget(); setCurrentView(mLocationPickerLandscapeView); } else @@ -216,7 +215,7 @@ //load landscape for all content except collectionlistcontent if(mLocationPickerPotraitView->getViewType() != ELocationPickerCollectionListContent) { - mLocationPickerLandscapeView->manageGridView(); + mLocationPickerLandscapeView->manageHgWidget(); setCurrentView(mLocationPickerLandscapeView); } } @@ -289,7 +288,7 @@ { //all list after collection list in horizontal orientation mLocationPickerLandscapeView->setViewType( ELocationPickerContent ); - mLocationPickerLandscapeView->manageGridView(); + mLocationPickerLandscapeView->manageHgWidget(); setCurrentView(mLocationPickerLandscapeView); }