From 6612bcfa1e491fbb2f441f2060f700b6ad589ffd Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 9 Jul 2011 02:23:29 +0000 Subject: Remove the tq in front of these incorrectly TQt4-converted methods/data members: tqrepaint[...] tqinvalidate[...] tqparent[...] tqmask[...] tqlayout[...] tqalignment[...] git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kmymoney@1240522 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kmymoney2/dialogs/investtransactioneditor.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'kmymoney2/dialogs/investtransactioneditor.cpp') diff --git a/kmymoney2/dialogs/investtransactioneditor.cpp b/kmymoney2/dialogs/investtransactioneditor.cpp index d235ae5..e19a756 100644 --- a/kmymoney2/dialogs/investtransactioneditor.cpp +++ b/kmymoney2/dialogs/investtransactioneditor.cpp @@ -801,10 +801,10 @@ void InvestTransactionEditor::slotUpdateActivity(MyMoneySplit::investTransaction KMyMoneyCategory* cat; - // hide all dynamic widgets (make sure to use the tqparentWidget for the + // hide all dynamic widgets (make sure to use the parentWidget for the // category widgets) - haveWidget("interest-account")->tqparentWidget()->hide(); - haveWidget("fee-account")->tqparentWidget()->hide(); + haveWidget("interest-account")->parentWidget()->hide(); + haveWidget("fee-account")->parentWidget()->hide(); TQStringList dynwidgets; dynwidgets << "total-label" << "asset-label" << "fee-label" << "fee-amount-label" << "interest-label" << "interest-amount-label" << "price-label" << "shares-label"; @@ -833,11 +833,11 @@ void InvestTransactionEditor::slotUpdateActivity(MyMoneySplit::investTransaction d->m_activity->preloadAssetAccount(); cat = dynamic_cast(haveWidget("interest-account")); - if(cat->tqparentWidget()->isVisible()) + if(cat->parentWidget()->isVisible()) slotUpdateInterestVisibility(cat->currentText()); cat = dynamic_cast(haveWidget("fee-account")); - if(cat->tqparentWidget()->isVisible()) + if(cat->parentWidget()->isVisible()) slotUpdateFeeVisibility(cat->currentText()); } @@ -854,7 +854,7 @@ InvestTransactionEditor::priceModeE InvestTransactionEditor::priceMode(void) con while(!accId.isEmpty() && mode == 0) { MyMoneyAccount acc = MyMoneyFile::instance()->account(accId); if(acc.value("priceMode").isEmpty()) - accId = acc.tqparentAccountId(); + accId = acc.parentAccountId(); else mode = static_cast(acc.value("priceMode").toInt()); } -- cgit v1.2.1