diff options
Diffstat (limited to 'parts/documentation/plugins/devhelp')
-rw-r--r-- | parts/documentation/plugins/devhelp/docdevhelpplugin.cpp | 16 | ||||
-rw-r--r-- | parts/documentation/plugins/devhelp/docdevhelpplugin.h | 4 |
2 files changed, 10 insertions, 10 deletions
diff --git a/parts/documentation/plugins/devhelp/docdevhelpplugin.cpp b/parts/documentation/plugins/devhelp/docdevhelpplugin.cpp index 21e450a6..33a1fc77 100644 --- a/parts/documentation/plugins/devhelp/docdevhelpplugin.cpp +++ b/parts/documentation/plugins/devhelp/docdevhelpplugin.cpp @@ -41,13 +41,13 @@ class DevHelpDocumentationCatalogItem: public DocumentationCatalogItem { public: DevHelpDocumentationCatalogItem(const TQString &devHelpFile, DocumentationPlugin* plugin, - KListView *tqparent, const TQString &name) - :DocumentationCatalogItem(plugin, tqparent, name), m_devHelpFile(devHelpFile) + KListView *parent, const TQString &name) + :DocumentationCatalogItem(plugin, parent, name), m_devHelpFile(devHelpFile) { } DevHelpDocumentationCatalogItem(const TQString &devHelpFile, DocumentationPlugin* plugin, - DocumentationItem *tqparent, const TQString &name) - :DocumentationCatalogItem(plugin, tqparent, name), m_devHelpFile(devHelpFile) + DocumentationItem *parent, const TQString &name) + :DocumentationCatalogItem(plugin, parent, name), m_devHelpFile(devHelpFile) { } TQString devHelpFile() const { return m_devHelpFile; } @@ -73,9 +73,9 @@ static const KDevPluginInfo data("docdevhelpplugin"); typedef KDevGenericFactory<DocDevHelpPlugin> DocDevHelpPluginFactory; K_EXPORT_COMPONENT_FACTORY( libdocdevhelpplugin, DocDevHelpPluginFactory(data) ) -DocDevHelpPlugin::DocDevHelpPlugin(TQObject* tqparent, const char* name, +DocDevHelpPlugin::DocDevHelpPlugin(TQObject* parent, const char* name, const TQStringList /*args*/) - :DocumentationPlugin(DocDevHelpPluginFactory::instance()->config(), tqparent, name) + :DocumentationPlugin(DocDevHelpPluginFactory::instance()->config(), parent, name) { setCapabilities(Index | FullTextSearch | ProjectDocumentation); autoSetup(); @@ -320,7 +320,7 @@ void DocDevHelpPlugin::createTOC(DocumentationCatalogItem* item) addTocSect(dhItem, childEl, baseUrl, true); } -void DocDevHelpPlugin::addTocSect(DocumentationItem *tqparent, TQDomElement childEl, +void DocDevHelpPlugin::addTocSect(DocumentationItem *parent, TQDomElement childEl, TQString baseUrl, bool book) { while (!childEl.isNull()) @@ -334,7 +334,7 @@ void DocDevHelpPlugin::addTocSect(DocumentationItem *tqparent, TQDomElement chil name = "Index"; DocumentationItem *item = new DocumentationItem( - book ? DocumentationItem::Book : DocumentationItem::Document, tqparent, name); + book ? DocumentationItem::Book : DocumentationItem::Document, parent, name); item->setURL(KURL(baseUrl+"/"+url)); TQDomElement grandchildEl = childEl.lastChild().toElement(); diff --git a/parts/documentation/plugins/devhelp/docdevhelpplugin.h b/parts/documentation/plugins/devhelp/docdevhelpplugin.h index dde545d3..f5deb763 100644 --- a/parts/documentation/plugins/devhelp/docdevhelpplugin.h +++ b/parts/documentation/plugins/devhelp/docdevhelpplugin.h @@ -30,7 +30,7 @@ class DocDevHelpPlugin: public DocumentationPlugin Q_OBJECT TQ_OBJECT public: - DocDevHelpPlugin(TQObject* tqparent, const char* name, const TQStringList args = TQStringList()); + DocDevHelpPlugin(TQObject* parent, const char* name, const TQStringList args = TQStringList()); ~DocDevHelpPlugin(); virtual TQString pluginName() const; @@ -55,7 +55,7 @@ public: protected: void pushToScanStack(TQValueStack<TQString> &stack, const TQString &value); void scanDevHelpDir(const TQString &path); - void addTocSect(DocumentationItem *tqparent, TQDomElement childEl, TQString baseUrl, bool book=false); + void addTocSect(DocumentationItem *parent, TQDomElement childEl, TQString baseUrl, bool book=false); }; #endif |