##// END OF EJS Templates
Getting rid of friend classes in pie API
Getting rid of friend classes in pie API

File last commit:

r497:9455cddd70de
r676:2e47e5550be5
Show More
qchartaxiscategories.h
34 lines | 622 B | text/x-c | CLexer
/ src / axis / qchartaxiscategories.h
#ifndef QCHARTAXISCATEGORIES_H_
#define QCHARTAXISCATEGORIES_H_
#include "qchartglobal.h"
QTCOMMERCIALCHART_BEGIN_NAMESPACE
class QTCOMMERCIALCHART_EXPORT QChartAxisCategories : public QObject
{
Q_OBJECT
private:
QChartAxisCategories();
public:
~QChartAxisCategories();
void insert(qreal value,QString label);
void remove(qreal value);
QString label(qreal value) const;
void clear();
int count();
//internal signal
signals:
void updated();
private:
QMap<qreal,QString> m_map;
friend class QChartAxis;
};
QTCOMMERCIALCHART_END_NAMESPACE
#endif /* QCHARTAXISCATEGORIES_H_ */