LibreOffice Module chart2 (master)
1
chart2
source
controller
sidebar
ChartSidebarModifyListener.cxx
Go to the documentation of this file.
1
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2
/*
3
* This file is part of the LibreOffice project.
4
*
5
* This Source Code Form is subject to the terms of the Mozilla Public
6
* License, v. 2.0. If a copy of the MPL was not distributed with this
7
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
8
*/
9
10
#include "
ChartSidebarModifyListener.hxx
"
11
12
namespace
chart::sidebar
13
{
14
ChartSidebarModifyListenerParent::~ChartSidebarModifyListenerParent
() {}
15
16
ChartSidebarModifyListener::ChartSidebarModifyListener
(
ChartSidebarModifyListenerParent
* pParent)
17
:
mpParent
(pParent)
18
{
19
}
20
21
ChartSidebarModifyListener::~ChartSidebarModifyListener
() {}
22
23
void
ChartSidebarModifyListener::modified
(
const
css::lang::EventObject&
/*rEvent*/
)
24
{
25
if
(
mpParent
)
26
mpParent
->
updateData
();
27
}
28
29
void
ChartSidebarModifyListener::disposing
(
const
css::lang::EventObject&
/*rEvent*/
)
30
{
31
if
(!
mpParent
)
32
return
;
33
34
mpParent
->
modelInvalid
();
35
mpParent
=
nullptr
;
36
}
37
}
38
39
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
ChartSidebarModifyListener.hxx
chart::sidebar::ChartSidebarModifyListenerParent
Definition:
ChartSidebarModifyListener.hxx:18
chart::sidebar::ChartSidebarModifyListenerParent::modelInvalid
virtual void modelInvalid()=0
chart::sidebar::ChartSidebarModifyListenerParent::updateData
virtual void updateData()=0
chart::sidebar::ChartSidebarModifyListenerParent::~ChartSidebarModifyListenerParent
virtual ~ChartSidebarModifyListenerParent()
Definition:
ChartSidebarModifyListener.cxx:14
chart::sidebar::ChartSidebarModifyListener::disposing
virtual void SAL_CALL disposing(const css::lang::EventObject &rEvent) override
Definition:
ChartSidebarModifyListener.cxx:29
chart::sidebar::ChartSidebarModifyListener::~ChartSidebarModifyListener
virtual ~ChartSidebarModifyListener() override
Definition:
ChartSidebarModifyListener.cxx:21
chart::sidebar::ChartSidebarModifyListener::modified
virtual void SAL_CALL modified(const css::lang::EventObject &rEvent) override
Definition:
ChartSidebarModifyListener.cxx:23
chart::sidebar::ChartSidebarModifyListener::ChartSidebarModifyListener
ChartSidebarModifyListener(ChartSidebarModifyListenerParent *pParent)
Definition:
ChartSidebarModifyListener.cxx:16
chart::sidebar::ChartSidebarModifyListener::mpParent
ChartSidebarModifyListenerParent * mpParent
Definition:
ChartSidebarModifyListener.hxx:38
mpParent
RegionData_Impl * mpParent
chart::sidebar
Definition:
Chart2PanelFactory.cxx:40
Generated on Sun Jul 30 2023 04:39:31 for LibreOffice Module chart2 (master) by
1.9.3