diff options
Diffstat (limited to 'bibletime/frontend/keychooser/cbooktreechooser.cpp')
-rw-r--r-- | bibletime/frontend/keychooser/cbooktreechooser.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bibletime/frontend/keychooser/cbooktreechooser.cpp b/bibletime/frontend/keychooser/cbooktreechooser.cpp index 5ac18ae..3f972eb 100644 --- a/bibletime/frontend/keychooser/cbooktreechooser.cpp +++ b/bibletime/frontend/keychooser/cbooktreechooser.cpp @@ -15,7 +15,7 @@ #include "frontend/cbtconfig.h" //TQt includes -#include <tqlayout.h> +#include <layout.h> #include <tqheader.h> #include <tqlistview.h> #include <tqcursor.h> @@ -135,10 +135,10 @@ m_key( dynamic_cast<CSwordTreeKey*>(key) ) { } //now setup the keychooser widgets - TQHBoxLayout* tqlayout = new TQHBoxLayout(this); + TQHBoxLayout* layout = new TQHBoxLayout(this); m_treeView = new KListView(this); - tqlayout->addWidget(m_treeView); + layout->addWidget(m_treeView); m_treeView->addColumn("Tree"); m_treeView->header()->hide(); m_treeView->setSorting(-1); @@ -291,7 +291,7 @@ void CBookTreeChooser::show() { if (!m_treeView->childCount()) { KApplication::setOverrideCursor(WaitCursor); setupTree(); //create the first level of the tree structure - m_treeView->resize(m_treeView->tqsizeHint()); + m_treeView->resize(m_treeView->sizeHint()); KApplication::restoreOverrideCursor(); } } |