diff options
Diffstat (limited to 'kmymoney2/widgets/registeritem.cpp')
-rw-r--r-- | kmymoney2/widgets/registeritem.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kmymoney2/widgets/registeritem.cpp b/kmymoney2/widgets/registeritem.cpp index 6ef082f..0a67fe2 100644 --- a/kmymoney2/widgets/registeritem.cpp +++ b/kmymoney2/widgets/registeritem.cpp @@ -31,7 +31,7 @@ using namespace KMyMoneyRegister; -QDate RegisterItem::nullDate; +TQDate RegisterItem::nullDate; MyMoneyMoney RegisterItem::nullValue; RegisterItem::RegisterItem() : @@ -42,13 +42,13 @@ RegisterItem::RegisterItem() : init(); } -RegisterItem::RegisterItem(Register* parent) : - m_parent(parent), +RegisterItem::RegisterItem(Register* tqparent) : + m_parent(tqparent), m_prev(0), m_next(0) { init(); - parent->addItem(this); + tqparent->addItem(this); } void RegisterItem::init(void) @@ -64,9 +64,9 @@ RegisterItem::~RegisterItem() m_parent->removeItem(this); } -void RegisterItem::setParent(Register* parent) +void RegisterItem::setParent(Register* tqparent) { - m_parent = parent; + m_parent = tqparent; } void RegisterItem::setNumRowsRegister(int rows) @@ -111,6 +111,6 @@ int RegisterItem::rowHeightHint(void) const return m_parent->rowHeightHint(); } - QFontMetrics fm( KMyMoneyGlobalSettings::listCellFont() ); + TQFontMetrics fm( KMyMoneyGlobalSettings::listCellFont() ); return fm.lineSpacing()+6; } |