Skip to main content ::
::
KOffice API Docs
::
Skip to Link Menu
/
KOffice
/
API Docs
/
kchart
kchart
kchart
kdchart
KDChartTableDataWrapper.cpp
1
#include "KDChartTableDataWrapper.h"
2
3
KDChartTableDataWrapper::KDChartTableDataWrapper( KDChartTableData* data ) :TQObject(0), _data(data)
4
{
5
}
6
/*
7
KDChartData* KDChartTableDataWrapper::cell( uint row, uint col )
8
{
9
KDChartData& item = _data->cell( row, col );
10
return &item;
11
}
12
13
void KDChartTableDataWrapper::setCell( uint _row, uint _col, double _element )
14
{
15
// Without this, the user has to wrap the element in a KDChartData
16
// In C++ this is handled bu default constructors.
17
_data->setCell( _row, _col, _element );
18
19
}
20
21
void KDChartTableDataWrapper::setCell( uint _row, uint _col, TQString _element )
22
{
23
// Without this, the user has to wrap the element in a KDChartData
24
// In C++ this is handled bu default constructors.
25
_data->setCell( _row, _col, _element );
26
}
27
28
void KDChartTableDataWrapper::setCell( uint _row, uint _col, const KDChartData& _element )
29
{
30
// When overriding setCell above, I also had to override this one. I believe that must be due to a bug in TQSA
31
_data->setCell( _row, _col, _element );
32
}
33
34
*/
35
36
#include "KDChartTableDataWrapper.moc"
kchart
Skip menu "kchart"
Main Page
Namespace List
Class Hierarchy
Alphabetical List
Class List
File List
Class Members
Related Pages
kchart
Skip menu "kchart"
chalk
example
filters
interfaces
karbon
kchart
kdgantt
kexi
kformula
kivio
koshell
kplato
kpresenter
kspread
kword
lib