summaryrefslogtreecommitdiffstats
path: root/parts/documentation/indexview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'parts/documentation/indexview.cpp')
-rw-r--r--parts/documentation/indexview.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/parts/documentation/indexview.cpp b/parts/documentation/indexview.cpp
index 6a7eddcf..a9e240be 100644
--- a/parts/documentation/indexview.cpp
+++ b/parts/documentation/indexview.cpp
@@ -38,8 +38,8 @@
#include "documentation_part.h"
#include "documentation_widget.h"
-IndexView::IndexView(DocumentationWidget *parent, const char *name)
- :TQWidget(parent, name), m_widget(parent)
+IndexView::IndexView(DocumentationWidget *tqparent, const char *name)
+ :TQWidget(tqparent, name), m_widget(tqparent)
{
TQVBoxLayout *l = new TQVBoxLayout(this, 0, 0);
@@ -85,7 +85,7 @@ void IndexView::searchInIndex(TQListBoxItem *item)
else
{
SelectTopic *dia = new SelectTopic(urls);
- dia->topicLabel->setText(dia->topicLabel->text().arg(item->text()));
+ dia->topicLabel->setText(dia->topicLabel->text().tqarg(item->text()));
if (dia->exec())
m_widget->part()->partController()->showDocument(dia->selectedURL());
delete dia;
@@ -123,7 +123,7 @@ bool IndexView::eventFilter(TQObject *watched, TQEvent *e)
if (!watched || !e)
return true;
- if ((watched == m_edit) && (e->type() == TQEvent::KeyPress))
+ if ((TQT_BASE_OBJECT(watched) == TQT_BASE_OBJECT(m_edit)) && (e->type() == TQEvent::KeyPress))
{
TQKeyEvent *ke = (TQKeyEvent*)e;
if (ke->key() == Key_Up)