summaryrefslogtreecommitdiffstats
path: root/parts/documentation/plugins/kdevtoc/dockdevtocplugin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'parts/documentation/plugins/kdevtoc/dockdevtocplugin.cpp')
-rw-r--r--parts/documentation/plugins/kdevtoc/dockdevtocplugin.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/parts/documentation/plugins/kdevtoc/dockdevtocplugin.cpp b/parts/documentation/plugins/kdevtoc/dockdevtocplugin.cpp
index 5829b0bb..6fc8a78e 100644
--- a/parts/documentation/plugins/kdevtoc/dockdevtocplugin.cpp
+++ b/parts/documentation/plugins/kdevtoc/dockdevtocplugin.cpp
@@ -43,13 +43,13 @@ class TOCDocumentationCatalogItem: public DocumentationCatalogItem
{
public:
TOCDocumentationCatalogItem(const TQString &tocFile, DocumentationPlugin* plugin,
- KListView *tqparent, const TQString &name)
- :DocumentationCatalogItem(plugin, tqparent, name), m_tocFile(tocFile)
+ KListView *parent, const TQString &name)
+ :DocumentationCatalogItem(plugin, parent, name), m_tocFile(tocFile)
{
}
TOCDocumentationCatalogItem(const TQString &tocFile, DocumentationPlugin* plugin,
- DocumentationItem *tqparent, const TQString &name)
- :DocumentationCatalogItem(plugin, tqparent, name), m_tocFile(tocFile)
+ DocumentationItem *parent, const TQString &name)
+ :DocumentationCatalogItem(plugin, parent, name), m_tocFile(tocFile)
{
}
TQString tocFile() const { return m_tocFile; }
@@ -63,9 +63,9 @@ static const KDevPluginInfo data("dockdevtocplugin");
typedef KDevGenericFactory<DocKDevTOCPlugin> DocKDevTOCPluginFactory;
K_EXPORT_COMPONENT_FACTORY( libdockdevtocplugin, DocKDevTOCPluginFactory(data) )
-DocKDevTOCPlugin::DocKDevTOCPlugin(TQObject* tqparent, const char* name,
+DocKDevTOCPlugin::DocKDevTOCPlugin(TQObject* parent, const char* name,
const TQStringList /*args*/)
- :DocumentationPlugin(DocKDevTOCPluginFactory::instance()->config(), tqparent, name)
+ :DocumentationPlugin(DocKDevTOCPluginFactory::instance()->config(), parent, name)
{
setCapabilities(Index);
autoSetup();
@@ -210,7 +210,7 @@ void DocKDevTOCPlugin::createTOC(DocumentationCatalogItem* item)
addTocSect(tocItem, childEl, base, 1);
}
-void DocKDevTOCPlugin::addTocSect(DocumentationItem *tqparent, TQDomElement childEl, const TQString &base, uint level)
+void DocKDevTOCPlugin::addTocSect(DocumentationItem *parent, TQDomElement childEl, const TQString &base, uint level)
{
while (!childEl.isNull())
{
@@ -219,7 +219,7 @@ void DocKDevTOCPlugin::addTocSect(DocumentationItem *tqparent, TQDomElement chil
TQString name = childEl.attribute("name");
TQString url = childEl.attribute("url");
- DocumentationItem *item = new DocumentationItem(level == 1 ? DocumentationItem::Book : DocumentationItem::Document, tqparent, name);
+ DocumentationItem *item = new DocumentationItem(level == 1 ? DocumentationItem::Book : DocumentationItem::Document, parent, name);
item->setURL(KURL(constructURL(base, url)));
TQDomElement grandchildEl = childEl.lastChild().toElement();