Lines Matching refs:m_pData
53 :m_pData( new ToolPanelCollection_Data ) in ToolPanelCollection()
60 m_pData->aListeners.Dying(); in ~ToolPanelCollection()
66 return m_pData->aPanels.size(); in GetPanelCount()
72 return m_pData->aActivePanel; in GetActivePanel()
85 if ( m_pData->aActivePanel == i_rPanel ) in ActivatePanel()
88 const ::boost::optional< size_t > aOldPanel( m_pData->aActivePanel ); in ActivatePanel()
89 m_pData->aActivePanel = i_rPanel; in ActivatePanel()
92 m_pData->aListeners.ActivePanelChanged( aOldPanel, m_pData->aActivePanel ); in ActivatePanel()
98 …OSL_ENSURE( i_nPos < m_pData->aPanels.size(), "ToolPanelCollection::GetPanel: illegal position!" ); in GetPanel()
99 if ( i_nPos >= m_pData->aPanels.size() ) in GetPanel()
101 return m_pData->aPanels[ i_nPos ]; in GetPanel()
112 …const size_t position = i_nPosition < m_pData->aPanels.size() ? i_nPosition : m_pData->aPanels.siz… in InsertPanel()
113 m_pData->aPanels.insert( m_pData->aPanels.begin() + position, i_pPanel ); in InsertPanel()
116 if ( !!m_pData->aActivePanel ) in InsertPanel()
118 if ( i_nPosition <= *m_pData->aActivePanel ) in InsertPanel()
119 ++*m_pData->aActivePanel; in InsertPanel()
123 m_pData->aListeners.PanelInserted( i_pPanel, i_nPosition ); in InsertPanel()
131 …OSL_ENSURE( i_nPosition < m_pData->aPanels.size(), "ToolPanelCollection::RemovePanel: illegal posi… in RemovePanel()
132 if ( i_nPosition >= m_pData->aPanels.size() ) in RemovePanel()
136 if ( m_pData->aActivePanel == i_nPosition ) in RemovePanel()
138 const ::boost::optional< size_t > aOldActive( m_pData->aActivePanel ); in RemovePanel()
142 ++*m_pData->aActivePanel; in RemovePanel()
146 --*m_pData->aActivePanel; in RemovePanel()
150 m_pData->aActivePanel.reset(); in RemovePanel()
153 m_pData->aListeners.ActivePanelChanged( aOldActive, m_pData->aActivePanel ); in RemovePanel()
157 PToolPanel pRemovedPanel( m_pData->aPanels[ i_nPosition ] ); in RemovePanel()
160 m_pData->aPanels.erase( m_pData->aPanels.begin() + i_nPosition ); in RemovePanel()
162 if ( !!m_pData->aActivePanel ) in RemovePanel()
164 if ( i_nPosition < *m_pData->aActivePanel ) in RemovePanel()
166 --*m_pData->aActivePanel; in RemovePanel()
171 m_pData->aListeners.PanelRemoved( i_nPosition ); in RemovePanel()
179 m_pData->aListeners.AddListener( i_rListener ); in AddListener()
185 m_pData->aListeners.RemoveListener( i_rListener ); in RemoveListener()