summaryrefslogtreecommitdiffstats
path: root/kmymoney2/views/kinvestmentlistitem.h
diff options
context:
space:
mode:
Diffstat (limited to 'kmymoney2/views/kinvestmentlistitem.h')
-rw-r--r--kmymoney2/views/kinvestmentlistitem.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/kmymoney2/views/kinvestmentlistitem.h b/kmymoney2/views/kinvestmentlistitem.h
index d0ad62b..cb0d944 100644
--- a/kmymoney2/views/kinvestmentlistitem.h
+++ b/kmymoney2/views/kinvestmentlistitem.h
@@ -59,30 +59,30 @@
class KInvestmentListItem : public KListViewItem
{
public:
- KInvestmentListItem(KListView* parent, const MyMoneyAccount& security);
+ KInvestmentListItem(KListView* tqparent, const MyMoneyAccount& security);
~KInvestmentListItem();
- QString securityId() const { return m_account.currencyId(); };
+ TQString securityId() const { return m_account.currencyId(); };
const MyMoneyAccount& account(void) const { return m_account; };
const MyMoneySecurity tradingCurrency(void) const { return m_tradingCurrency; };
/**
* Helper method to show the right order
*/
- int compare(QListViewItem* i, int col, bool ascending) const;
+ int compare(TQListViewItem* i, int col, bool ascending) const;
protected:
- void paintCell(QPainter * p, const QColorGroup & cg, int column, int width, int align);
+ void paintCell(TQPainter * p, const TQColorGroup & cg, int column, int width, int align);
private:
// FIXME PRICE
#if 0
- const QString calculate1WeekGain(const equity_price_history& history);
- const QString calculate4WeekGain(const equity_price_history& history);
- const QString calculate3MonthGain(const equity_price_history& history);
- const QString calculateYTDGain(const equity_price_history& history);
- const QString calculateGain(const equity_price_history& history, int dayDifference, int monthDifference, bool YTD, bool& bNegative);
+ const TQString calculate1WeekGain(const equity_price_history& history);
+ const TQString calculate4WeekGain(const equity_price_history& history);
+ const TQString calculate3MonthGain(const equity_price_history& history);
+ const TQString calculateYTDGain(const equity_price_history& history);
+ const TQString calculateGain(const equity_price_history& history, int dayDifference, int monthDifference, bool YTD, bool& bNegative);
#endif
private: