diff options
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(); |