From 32b67ac0690de411b26b1d5e715b188c27442248 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 10 Aug 2011 22:19:39 +0000 Subject: rename the following methods: tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- parts/documentation/plugins/devhelp/docdevhelpplugin.cpp | 16 ++++++++-------- parts/documentation/plugins/devhelp/docdevhelpplugin.h | 4 ++-- 2 files changed, 10 insertions(+), 10 deletions(-) (limited to 'parts/documentation/plugins/devhelp') 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 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 &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 -- cgit v1.2.1