You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
koffice/kchart/kdchart/KDChartTableDataWrapper.cpp

37 lines
1.1 KiB

#include "KDChartTableDataWrapper.h"
KDChartTableDataWrapper::KDChartTableDataWrapper( KDChartTableData* data ) :TQObject(0), _data(data)
{
}
/*
KDChartData* KDChartTableDataWrapper::cell( uint row, uint col )
{
KDChartData& item = _data->cell( row, col );
return &item;
}
void KDChartTableDataWrapper::setCell( uint _row, uint _col, double _element )
{
// Without this, the user has to wrap the element in a KDChartData
// In C++ this is handled bu default constructors.
_data->setCell( _row, _col, _element );
}
void KDChartTableDataWrapper::setCell( uint _row, uint _col, TQString _element )
{
// Without this, the user has to wrap the element in a KDChartData
// In C++ this is handled bu default constructors.
_data->setCell( _row, _col, _element );
}
void KDChartTableDataWrapper::setCell( uint _row, uint _col, const KDChartData& _element )
{
// When overriding setCell above, I also had to override this one. I believe that must be due to a bug in TQSA
_data->setCell( _row, _col, _element );
}
*/
#include "KDChartTableDataWrapper.moc"