diff options
Diffstat (limited to 'kmymoney2/dialogs/investactivities.cpp')
-rw-r--r-- | kmymoney2/dialogs/investactivities.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kmymoney2/dialogs/investactivities.cpp b/kmymoney2/dialogs/investactivities.cpp index be0f6d1..b03548a 100644 --- a/kmymoney2/dialogs/investactivities.cpp +++ b/kmymoney2/dialogs/investactivities.cpp @@ -182,13 +182,13 @@ void Buy::showWidgets(void) const { KMyMoneyCategory* cat; cat = dynamic_cast<KMyMoneyCategory*>(haveWidget("fee-account")); - cat->tqparentWidget()->show(); + cat->parentWidget()->show(); cat = dynamic_cast<KMyMoneyCategory*>(haveWidget("interest-account")); - cat->tqparentWidget()->show(); + cat->parentWidget()->show(); kMyMoneyEdit* shareEdit = dynamic_cast<kMyMoneyEdit*>(haveWidget("shares")); shareEdit->show(); shareEdit->setPrecision(MyMoneyMoney::denomToPrec(m_parent->security().smallestAccountFraction())); - cat->tqparentWidget()->show(); + cat->parentWidget()->show(); haveWidget("asset-account")->show(); haveWidget("price")->show(); haveWidget("total")->show(); @@ -271,9 +271,9 @@ void Sell::showWidgets(void) const { KMyMoneyCategory* cat; cat = dynamic_cast<KMyMoneyCategory*>(haveWidget("interest-account")); - cat->tqparentWidget()->show(); + cat->parentWidget()->show(); cat = dynamic_cast<KMyMoneyCategory*>(haveWidget("fee-account")); - cat->tqparentWidget()->show(); + cat->parentWidget()->show(); kMyMoneyEdit* shareEdit = dynamic_cast<kMyMoneyEdit*>(haveWidget("shares")); shareEdit->show(); shareEdit->setPrecision(MyMoneyMoney::denomToPrec(m_parent->security().smallestAccountFraction())); @@ -360,7 +360,7 @@ void Div::showWidgets(void) const { KMyMoneyCategory* cat; cat = dynamic_cast<KMyMoneyCategory*>(haveWidget("interest-account")); - cat->tqparentWidget()->show(); + cat->parentWidget()->show(); haveWidget("asset-account")->show(); haveWidget("total")->show(); @@ -413,9 +413,9 @@ void Reinvest::showWidgets(void) const { KMyMoneyCategory* cat; cat = dynamic_cast<KMyMoneyCategory*>(haveWidget("interest-account")); - cat->tqparentWidget()->show(); + cat->parentWidget()->show(); cat = dynamic_cast<KMyMoneyCategory*>(haveWidget("fee-account")); - cat->tqparentWidget()->show(); + cat->parentWidget()->show(); kMyMoneyEdit* shareEdit = dynamic_cast<kMyMoneyEdit*>(haveWidget("shares")); shareEdit->show(); shareEdit->setPrecision(MyMoneyMoney::denomToPrec(m_parent->security().smallestAccountFraction())); |