summaryrefslogtreecommitdiffstats
path: root/parts/documentation/find_documentation.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'parts/documentation/find_documentation.cpp')
-rw-r--r--parts/documentation/find_documentation.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/parts/documentation/find_documentation.cpp b/parts/documentation/find_documentation.cpp
index 5e3b72f8..594c07c5 100644
--- a/parts/documentation/find_documentation.cpp
+++ b/parts/documentation/find_documentation.cpp
@@ -41,10 +41,10 @@
#include <klocale.h>
-FindDocumentation::FindDocumentation(DocumentationWidget* tqparent, const char* name)
- :FindDocumentationBase(tqparent, name),
+FindDocumentation::FindDocumentation(DocumentationWidget* parent, const char* name)
+ :FindDocumentationBase(parent, name),
man_item(0), info_item(0), index_item(0), google_item(0), contents_item(0),
- last_item(0), m_widget(tqparent)
+ last_item(0), m_widget(parent)
{
TQWidget* tmp = TQT_TQWIDGET(TQApplication::desktop());
setGeometry(tmp->width()/2 - width()/2, tmp->height()/2 - height()/2, width(), height());
@@ -94,11 +94,11 @@ void FindDocumentation::clickOnItem( TQListViewItem * item )
DocumentationItem* doc_item = dynamic_cast<DocumentationItem*>(item);
- if(item->tqparent() == man_item ||
- item->tqparent() == info_item ||
- item->tqparent() == google_item ||
- item->tqparent() == index_item ||
- item->tqparent() == contents_item)
+ if(item->parent() == man_item ||
+ item->parent() == info_item ||
+ item->parent() == google_item ||
+ item->parent() == index_item ||
+ item->parent() == contents_item)
m_widget->part()->partController()->showDocument(doc_item->url());
}