KDChart::DiagramObserver Class Reference

A DiagramObserver watches the associated diagram for changes and deletion and emits corresponsing signals. More...

#include <KDChartDiagramObserver.h>

Inheritance diagram for KDChart::DiagramObserver:
Inheritance graph
[legend]
Collaboration diagram for KDChart::DiagramObserver:
Collaboration graph
[legend]

List of all members.

Signals

void diagramAboutToBeDestroyed (AbstractDiagram *diagram)
 Emitted when a diagram is being destroyed, but before its data is invalidated.
void diagramAttributesChanged (AbstractDiagram *diagram)
 This signal is emitted whenever the attributes of the diagram change.
void diagramDataChanged (AbstractDiagram *diagram)
 This signal is emitted whenever the data of the diagram changes.
void diagramDataHidden (AbstractDiagram *diagram)
 This signal is emitted whenever any of the data of the diagram was set (un)hidden.
void diagramDestroyed (AbstractDiagram *diagram)
 This signal is emitted immediately before the diagram is being destroyed.

Public Member Functions

AbstractDiagramdiagram ()
const AbstractDiagramdiagram () const
 DiagramObserver (AbstractDiagram *diagram, QObject *parent=0)
 Constructs a new observer observing the given diagram.
 ~DiagramObserver ()

Detailed Description

A DiagramObserver watches the associated diagram for changes and deletion and emits corresponsing signals.

Definition at line 42 of file KDChartDiagramObserver.h.


Constructor & Destructor Documentation

DiagramObserver::DiagramObserver ( AbstractDiagram diagram,
QObject parent = 0 
) [explicit]

Constructs a new observer observing the given diagram.

Definition at line 33 of file KDChartDiagramObserver.cpp.

DiagramObserver::~DiagramObserver (  ) 

Definition at line 44 of file KDChartDiagramObserver.cpp.


Member Function Documentation

AbstractDiagram * DiagramObserver::diagram (  ) 

Definition at line 53 of file KDChartDiagramObserver.cpp.

const AbstractDiagram * DiagramObserver::diagram (  )  const

Definition at line 48 of file KDChartDiagramObserver.cpp.

Referenced by KDChart::Legend::datasetCount().

void KDChart::DiagramObserver::diagramAboutToBeDestroyed ( AbstractDiagram diagram  )  [signal]

Emitted when a diagram is being destroyed, but before its data is invalidated.

void KDChart::DiagramObserver::diagramAttributesChanged ( AbstractDiagram diagram  )  [signal]

This signal is emitted whenever the attributes of the diagram change.

void KDChart::DiagramObserver::diagramDataChanged ( AbstractDiagram diagram  )  [signal]

This signal is emitted whenever the data of the diagram changes.

void KDChart::DiagramObserver::diagramDataHidden ( AbstractDiagram diagram  )  [signal]

This signal is emitted whenever any of the data of the diagram was set (un)hidden.

void KDChart::DiagramObserver::diagramDestroyed ( AbstractDiagram diagram  )  [signal]

This signal is emitted immediately before the diagram is being destroyed.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Defines

Klarälvdalens Datakonsult AB (KDAB)
Qt-related services and products
http://www.kdab.com/
http://www.kdab.com/products/kd-chart/