equal
deleted
inserted
replaced
47 iViewStack.push( aId ); |
47 iViewStack.push( aId ); |
48 } |
48 } |
49 |
49 |
50 const int& CntViewNavigator::back( QFlags<Hb::ViewSwitchFlag> &flags, bool toRoot ) |
50 const int& CntViewNavigator::back( QFlags<Hb::ViewSwitchFlag> &flags, bool toRoot ) |
51 { |
51 { |
52 qDebug() << "CntViewNavigator::back() - IN"; |
|
53 iTop = noView; |
52 iTop = noView; |
54 // Check if exception is set for current view item. Exception |
53 // Check if exception is set for current view item. Exception |
55 // means that instead of one step back, we go back until that |
54 // means that instead of one step back, we go back until that |
56 // execption value is located. So all items that are jumped over, |
55 // execption value is located. So all items that are jumped over, |
57 // their history will be eared. |
56 // their history will be eared. |
106 else |
105 else |
107 { |
106 { |
108 flags = Hb::ViewSwitchUseBackAnim; |
107 flags = Hb::ViewSwitchUseBackAnim; |
109 } |
108 } |
110 } |
109 } |
111 qDebug() << "CntViewNavigator::back() - OUT"; |
110 |
112 return iTop; |
111 return iTop; |
113 } |
112 } |
114 |
113 |
115 void CntViewNavigator::addException( const int& aCurrent, const int& aBack ) |
114 void CntViewNavigator::addException( const int& aCurrent, const int& aBack ) |
116 { |
115 { |