diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-05 06:00:29 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-05 06:00:29 +0000 |
commit | fecb0e67b23e8b83ba7fc881bb57bc48c0852d62 (patch) | |
tree | 6b8614802f0d01b353bc9ba78aff2090846c198e /kmymoney2/widgets/kmymoneyforecastlistviewitem.h | |
parent | dadc34655c3ab961b0b0b94a10eaaba710f0b5e8 (diff) | |
download | kmymoney-fecb0e67b23e8b83ba7fc881bb57bc48c0852d62.tar.gz kmymoney-fecb0e67b23e8b83ba7fc881bb57bc48c0852d62.zip |
TQt4 port kmymoney
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kmymoney@1239855 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kmymoney2/widgets/kmymoneyforecastlistviewitem.h')
-rw-r--r-- | kmymoney2/widgets/kmymoneyforecastlistviewitem.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kmymoney2/widgets/kmymoneyforecastlistviewitem.h b/kmymoney2/widgets/kmymoneyforecastlistviewitem.h index 7e48945..9c4b568 100644 --- a/kmymoney2/widgets/kmymoneyforecastlistviewitem.h +++ b/kmymoney2/widgets/kmymoneyforecastlistviewitem.h @@ -21,7 +21,7 @@ // ---------------------------------------------------------------------------- // QT Includes -#include <qobject.h> +#include <tqobject.h> // ---------------------------------------------------------------------------- // KDE Includes @@ -41,25 +41,25 @@ class KMyMoneyForecastListViewItem : public KListViewItem { public: - KMyMoneyForecastListViewItem(QListView* parent, QListViewItem* after, bool isNegative); + KMyMoneyForecastListViewItem(TQListView* tqparent, TQListViewItem* after, bool isNegative); ~KMyMoneyForecastListViewItem(); void setNegative(bool isNegative); - void setText( int column, const QString &text, const bool &negative = false ); + void setText( int column, const TQString &text, const bool &negative = false ); /** * use my own paint method */ - void paintCell(QPainter *p, const QColorGroup &cg, int column, int width, int alignment); + void paintCell(TQPainter *p, const TQColorGroup &cg, int column, int width, int tqalignment); private: bool m_negative; - QMap<int, QColor> m_columnsColor; + TQMap<int, TQColor> m_columnsColor; }; #endif |