Changeset View
Changeset View
Standalone View
Standalone View
kmymoney/plugins/views/reports/core/listtable.h
Show First 20 Lines • Show All 55 Lines • ▼ Show 20 Line(s) | |||||
56 | class ListTable : public ReportTable | 56 | class ListTable : public ReportTable | ||
57 | { | 57 | { | ||
58 | public: | 58 | public: | ||
59 | explicit ListTable(const MyMoneyReport&); | 59 | explicit ListTable(const MyMoneyReport&); | ||
60 | QString renderHTML() const final override; | 60 | QString renderHTML() const final override; | ||
61 | QString renderCSV() const final override; | 61 | QString renderCSV() const final override; | ||
62 | void drawChart(KReportChartView&) const final override {} | 62 | void drawChart(KReportChartView&) const final override {} | ||
63 | void dump(const QString& file, const QString& context = QString()) const final override; | 63 | void dump(const QString& file, const QString& context = QString()) const final override; | ||
64 | bool saveToXml(const QString &file); | ||||
65 | bool loadFromXml(const QString &file); | ||||
66 | QString toXml(); | ||||
64 | void init(); | 67 | void init(); | ||
65 | 68 | | |||
66 | public: | 69 | public: | ||
67 | enum cellTypeE /*{*/ /*Money*/ | 70 | enum cellTypeE /*{*/ /*Money*/ | ||
68 | {ctValue, ctNetInvValue, ctMarketValue, | 71 | {ctValue, ctNetInvValue, ctMarketValue, | ||
69 | ctPrice, ctLastPrice, ctBuyPrice, | 72 | ctPrice, ctLastPrice, ctBuyPrice, | ||
70 | ctBuys, ctSells, ctBuysST, ctSellsST, ctBuysLT, ctSellsLT, | 73 | ctBuys, ctSells, ctBuysST, ctSellsST, ctBuysLT, ctSellsLT, | ||
71 | ctCapitalGain, ctCapitalGainST,ctCapitalGainLT, | 74 | ctCapitalGain, ctCapitalGainST,ctCapitalGainLT, | ||
▲ Show 20 Lines • Show All 87 Lines • Show Last 20 Lines |