diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:56:07 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:56:07 +0000 |
commit | d6f8bbb45b267065a6907e71ff9c98bb6d161241 (patch) | |
tree | d109539636691d7b03036ca1c0ed29dbae6577cf /parts/documentation/documentation_widget.cpp | |
parent | 3331a47a9cad24795c7440ee8107143ce444ef34 (diff) | |
download | tdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.tar.gz tdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1157658 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'parts/documentation/documentation_widget.cpp')
-rw-r--r-- | parts/documentation/documentation_widget.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/parts/documentation/documentation_widget.cpp b/parts/documentation/documentation_widget.cpp index 6a19e896..90cd6234 100644 --- a/parts/documentation/documentation_widget.cpp +++ b/parts/documentation/documentation_widget.cpp @@ -19,8 +19,8 @@ ***************************************************************************/ #include "documentation_widget.h" -#include <qlayout.h> -#include <qtoolbox.h> +#include <tqlayout.h> +#include <tqtoolbox.h> #include <klineedit.h> #include <kparts/part.h> @@ -42,11 +42,11 @@ #include "find_documentation.h" DocumentationWidget::DocumentationWidget(DocumentationPart *part) - :QWidget(0, "documentation widget"), m_part(part) + :TQWidget(0, "documentation widget"), m_part(part) { - QVBoxLayout *l = new QVBoxLayout(this, 0, 0); + TQVBoxLayout *l = new TQVBoxLayout(this, 0, 0); - m_tab = new QToolBox(this); + m_tab = new TQToolBox(this); l->addWidget(m_tab); m_contents = new ContentsView(this); @@ -64,7 +64,7 @@ DocumentationWidget::DocumentationWidget(DocumentationPart *part) m_bookmarks = new BookmarkView(this); m_tab->addItem(m_bookmarks, i18n("Bookmarks")); - connect(m_tab, SIGNAL(currentChanged(int)), this, SLOT(tabChanged(int))); + connect(m_tab, TQT_SIGNAL(currentChanged(int)), this, TQT_SLOT(tabChanged(int))); } DocumentationWidget::~DocumentationWidget() @@ -94,7 +94,7 @@ void DocumentationWidget::searchInDocumentation() m_search->askSearchTerm(); } -void DocumentationWidget::searchInDocumentation(const QString &term) +void DocumentationWidget::searchInDocumentation(const TQString &term) { m_tab->setCurrentItem(m_search); m_search->setSearchTerm(term); @@ -107,7 +107,7 @@ void DocumentationWidget::lookInDocumentationIndex() m_index->askSearchTerm(); } -void DocumentationWidget::lookInDocumentationIndex(const QString &term) +void DocumentationWidget::lookInDocumentationIndex(const TQString &term) { m_tab->setCurrentItem(m_index); m_index->setSearchTerm(term); @@ -115,7 +115,7 @@ void DocumentationWidget::lookInDocumentationIndex(const QString &term) // m_index->searchInIndex(); } -void DocumentationWidget::findInDocumentation(const QString &term) +void DocumentationWidget::findInDocumentation(const TQString &term) { m_tab->setCurrentItem(m_finder); m_finder->setSearchTerm(term); @@ -128,7 +128,7 @@ void DocumentationWidget::findInDocumentation() m_finder->search_term->setFocus(); } -void DocumentationWidget::focusInEvent(QFocusEvent */*e*/) +void DocumentationWidget::focusInEvent(TQFocusEvent */*e*/) { if (m_tab->currentItem()) m_tab->currentItem()->setFocus(); |