summaryrefslogtreecommitdiffstats
path: root/kmymoney2/views/kaccountsview.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-21 14:05:00 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-21 14:05:00 -0600
commit81ed92522a3cc6b80e9d790bd7a52b0eb4d412b9 (patch)
tree984088ab9d226a14ccfea73720e580c16884702f /kmymoney2/views/kaccountsview.cpp
parentc70e40bd3f54a2c4d9ef57a36f19c996f4e00ed6 (diff)
downloadkmymoney-81ed92522a3cc6b80e9d790bd7a52b0eb4d412b9.tar.gz
kmymoney-81ed92522a3cc6b80e9d790bd7a52b0eb4d412b9.zip
Rename obsolete tq methods to standard names
Diffstat (limited to 'kmymoney2/views/kaccountsview.cpp')
-rw-r--r--kmymoney2/views/kaccountsview.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kmymoney2/views/kaccountsview.cpp b/kmymoney2/views/kaccountsview.cpp
index 32a0043..8d28fb0 100644
--- a/kmymoney2/views/kaccountsview.cpp
+++ b/kmymoney2/views/kaccountsview.cpp
@@ -74,11 +74,11 @@ KAccountsView::KAccountsView(TQWidget *parent, const char *name) :
m_liabilityItem(0)
{
// create the searchline widget
- // and insert it into the existing tqlayout
+ // and insert it into the existing layout
m_searchWidget = new KListViewSearchLineWidget(m_accountTree, m_accountTree->parentWidget());
- TQVBoxLayout* tqlayout = dynamic_cast<TQVBoxLayout*>(m_accountTree->parentWidget()->tqlayout());
- if(tqlayout) {
- tqlayout->insertWidget(0, m_searchWidget);
+ TQVBoxLayout* layout = dynamic_cast<TQVBoxLayout*>(m_accountTree->parentWidget()->layout());
+ if(layout) {
+ layout->insertWidget(0, m_searchWidget);
}
// setup icons for collapse and expand button