summaryrefslogtreecommitdiffstats
path: root/kmymoney2/views/kcategoriesview.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:31:01 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:31:01 -0600
commit252fce5a2a5384702fbcc1c9987284d7bd2e6943 (patch)
treed5768ff1e9065f29bec60c94d31880b38b4e82f2 /kmymoney2/views/kcategoriesview.cpp
parent69ef6c4beaa37474a2170d0bfe842de647f53102 (diff)
downloadkmymoney-252fce5a2a5384702fbcc1c9987284d7bd2e6943.tar.gz
kmymoney-252fce5a2a5384702fbcc1c9987284d7bd2e6943.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'kmymoney2/views/kcategoriesview.cpp')
-rw-r--r--kmymoney2/views/kcategoriesview.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kmymoney2/views/kcategoriesview.cpp b/kmymoney2/views/kcategoriesview.cpp
index 6bfbbea..4c1e725 100644
--- a/kmymoney2/views/kcategoriesview.cpp
+++ b/kmymoney2/views/kcategoriesview.cpp
@@ -24,7 +24,7 @@
// QT Includes
#include <tqlabel.h>
-#include <tqlayout.h>
+#include <layout.h>
// ----------------------------------------------------------------------------
// KDE Includes
@@ -53,11 +53,11 @@ KCategoriesView::KCategoriesView(TQWidget *parent, const char *name ) :
m_needReload(false)
{
// 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