diff options
Diffstat (limited to 'parts/documentation')
52 files changed, 158 insertions, 158 deletions
diff --git a/parts/documentation/addcatalogdlg.cpp b/parts/documentation/addcatalogdlg.cpp index 28be5a8c..21913089 100644 --- a/parts/documentation/addcatalogdlg.cpp +++ b/parts/documentation/addcatalogdlg.cpp @@ -32,8 +32,8 @@ #include "kdevdocumentationplugin.h" AddCatalogDlg::AddCatalogDlg( TQValueList<DocumentationPlugin*> const & plugins, - TQWidget* tqparent, const char* name, bool modal, WFlags fl) - :AddCatalogDlgBase(tqparent,name, modal,fl), m_plugins( plugins ) + TQWidget* parent, const char* name, bool modal, WFlags fl) + :AddCatalogDlgBase(parent,name, modal,fl), m_plugins( plugins ) { for (TQValueList<DocumentationPlugin*>::const_iterator it = m_plugins.constBegin(); it != m_plugins.constEnd(); ++it) { diff --git a/parts/documentation/addcatalogdlg.h b/parts/documentation/addcatalogdlg.h index ec5654fa..b0c44a5d 100644 --- a/parts/documentation/addcatalogdlg.h +++ b/parts/documentation/addcatalogdlg.h @@ -31,7 +31,7 @@ class AddCatalogDlg: public AddCatalogDlgBase Q_OBJECT TQ_OBJECT public: - AddCatalogDlg( TQValueList<DocumentationPlugin*> const & plugins, TQWidget* tqparent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0); + AddCatalogDlg( TQValueList<DocumentationPlugin*> const & plugins, TQWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0); ~AddCatalogDlg(); TQString title() const; diff --git a/parts/documentation/bookmarkview.cpp b/parts/documentation/bookmarkview.cpp index c361947e..6ee782ee 100644 --- a/parts/documentation/bookmarkview.cpp +++ b/parts/documentation/bookmarkview.cpp @@ -84,16 +84,16 @@ TQString DocBookmarkOwner::currentTitle() const class DocBookmarkItem: public DocumentationItem { public: - DocBookmarkItem(Type type, KListView *tqparent, const TQString &name) - :DocumentationItem(type, tqparent, name) + DocBookmarkItem(Type type, KListView *parent, const TQString &name) + :DocumentationItem(type, parent, name) { } - DocBookmarkItem(Type type, KListView *tqparent, DocumentationItem *after, const TQString &name) - :DocumentationItem(type, tqparent, after, name) + DocBookmarkItem(Type type, KListView *parent, DocumentationItem *after, const TQString &name) + :DocumentationItem(type, parent, after, name) { } - DocBookmarkItem(Type type, DocumentationItem *tqparent, const TQString &name) - :DocumentationItem(type, tqparent, name) + DocBookmarkItem(Type type, DocumentationItem *parent, const TQString &name) + :DocumentationItem(type, parent, name) { } void setBookmark(const KBookmark &bm) { m_bm = bm; } @@ -107,8 +107,8 @@ private: //class BookmarkView -BookmarkView::BookmarkView(DocumentationWidget *tqparent, const char *name) - :TQWidget(tqparent, name), m_widget(tqparent) +BookmarkView::BookmarkView(DocumentationWidget *parent, const char *name) + :TQWidget(parent, name), m_widget(parent) { m_bmManager = new DocBookmarkManager(m_widget->part()); m_bmOwner = new DocBookmarkOwner(m_widget->part()); diff --git a/parts/documentation/bookmarkview.h b/parts/documentation/bookmarkview.h index b180478c..3dbe016a 100644 --- a/parts/documentation/bookmarkview.h +++ b/parts/documentation/bookmarkview.h @@ -52,7 +52,7 @@ class BookmarkView : public TQWidget Q_OBJECT TQ_OBJECT public: - BookmarkView(DocumentationWidget *tqparent = 0, const char *name = 0); + BookmarkView(DocumentationWidget *parent = 0, const char *name = 0); ~BookmarkView(); public slots: diff --git a/parts/documentation/contentsview.cpp b/parts/documentation/contentsview.cpp index 074f6e2b..2581f5a0 100644 --- a/parts/documentation/contentsview.cpp +++ b/parts/documentation/contentsview.cpp @@ -33,8 +33,8 @@ #include "documentation_part.h" #include "docutils.h" -ContentsView::ContentsView(DocumentationWidget *tqparent, const char *name) - :TQWidget(tqparent, name), m_widget(tqparent) +ContentsView::ContentsView(DocumentationWidget *parent, const char *name) + :TQWidget(parent, name), m_widget(parent) { TQVBoxLayout *cl = new TQVBoxLayout(this, 0, 0); m_view = new KListView(this); diff --git a/parts/documentation/contentsview.h b/parts/documentation/contentsview.h index ad323d01..34e74194 100644 --- a/parts/documentation/contentsview.h +++ b/parts/documentation/contentsview.h @@ -32,7 +32,7 @@ class ContentsView : public TQWidget Q_OBJECT TQ_OBJECT public: - ContentsView(DocumentationWidget *tqparent, const char *name = 0); + ContentsView(DocumentationWidget *parent, const char *name = 0); ~ContentsView(); KListView *view() const { return m_view; } diff --git a/parts/documentation/docconfiglistview.cpp b/parts/documentation/docconfiglistview.cpp index 9068c188..b8d6071c 100644 --- a/parts/documentation/docconfiglistview.cpp +++ b/parts/documentation/docconfiglistview.cpp @@ -23,8 +23,8 @@ #include "kdevdocumentationplugin.h" -DocConfigListView::DocConfigListView(TQWidget *tqparent, const char *name) - :KListView(tqparent, name) +DocConfigListView::DocConfigListView(TQWidget *parent, const char *name) + :KListView(parent, name) { // setSorting(-1); addColumn(i18n("TOC")); diff --git a/parts/documentation/docconfiglistview.h b/parts/documentation/docconfiglistview.h index b81b0203..22cd1eb9 100644 --- a/parts/documentation/docconfiglistview.h +++ b/parts/documentation/docconfiglistview.h @@ -27,7 +27,7 @@ class DocConfigListView : public KListView Q_OBJECT TQ_OBJECT public: - DocConfigListView(TQWidget *tqparent = 0, const char *name = 0); + DocConfigListView(TQWidget *parent = 0, const char *name = 0); ~DocConfigListView(); protected slots: diff --git a/parts/documentation/docglobalconfigwidget.cpp b/parts/documentation/docglobalconfigwidget.cpp index 69908881..0184c4c9 100644 --- a/parts/documentation/docglobalconfigwidget.cpp +++ b/parts/documentation/docglobalconfigwidget.cpp @@ -51,8 +51,8 @@ #include "docutils.h" DocGlobalConfigWidget::DocGlobalConfigWidget(DocumentationPart *part, - DocumentationWidget *widget, TQWidget *tqparent, const char *name, WFlags fl) - :DocGlobalConfigWidgetBase(tqparent, name, fl), m_part(part), m_widget(widget) + DocumentationWidget *widget, TQWidget *parent, const char *name, WFlags fl) + :DocGlobalConfigWidgetBase(parent, name, fl), m_part(part), m_widget(widget) { m_View = new DocConfigListView( viewHolder ); viewHolder->addWidget( m_View ); diff --git a/parts/documentation/docglobalconfigwidget.h b/parts/documentation/docglobalconfigwidget.h index dc2ab3f0..2d0ec0c3 100644 --- a/parts/documentation/docglobalconfigwidget.h +++ b/parts/documentation/docglobalconfigwidget.h @@ -35,7 +35,7 @@ class DocGlobalConfigWidget : public DocGlobalConfigWidgetBase TQ_OBJECT public: DocGlobalConfigWidget(DocumentationPart *part, DocumentationWidget *widget, - TQWidget *tqparent = 0, const char *name = 0, WFlags fl = 0); + TQWidget *parent = 0, const char *name = 0, WFlags fl = 0); ~DocGlobalConfigWidget(); /*$PUBLIC_FUNCTIONS$*/ diff --git a/parts/documentation/docprojectconfigwidget.cpp b/parts/documentation/docprojectconfigwidget.cpp index 910cd5d4..a37ad5cb 100644 --- a/parts/documentation/docprojectconfigwidget.cpp +++ b/parts/documentation/docprojectconfigwidget.cpp @@ -33,8 +33,8 @@ #include "documentation_part.h" #include "documentation_widget.h" -DocProjectConfigWidget::DocProjectConfigWidget(DocumentationPart *part, TQWidget *tqparent, const char *name) - :DocProjectConfigWidgetBase(tqparent, name), m_part(part) +DocProjectConfigWidget::DocProjectConfigWidget(DocumentationPart *part, TQWidget *parent, const char *name) + :DocProjectConfigWidgetBase(parent, name), m_part(part) { for (TQValueList<DocumentationPlugin*>::const_iterator it = m_part->m_plugins.constBegin(); it != m_part->m_plugins.constEnd(); ++it) diff --git a/parts/documentation/docprojectconfigwidget.h b/parts/documentation/docprojectconfigwidget.h index 8a925a50..e770062d 100644 --- a/parts/documentation/docprojectconfigwidget.h +++ b/parts/documentation/docprojectconfigwidget.h @@ -29,7 +29,7 @@ class DocProjectConfigWidget: public DocProjectConfigWidgetBase { Q_OBJECT TQ_OBJECT public: - DocProjectConfigWidget(DocumentationPart *part, TQWidget *tqparent = 0, const char *name = 0); + DocProjectConfigWidget(DocumentationPart *part, TQWidget *parent = 0, const char *name = 0); public slots: virtual void changeDocSystem(const TQString &text); diff --git a/parts/documentation/documentation_part.cpp b/parts/documentation/documentation_part.cpp index b17216d1..1e9727d1 100644 --- a/parts/documentation/documentation_part.cpp +++ b/parts/documentation/documentation_part.cpp @@ -76,8 +76,8 @@ static const KDevPluginInfo data("kdevdocumentation"); typedef KDevGenericFactory<DocumentationPart> DocumentationFactory; K_EXPORT_COMPONENT_FACTORY( libkdevdocumentation, DocumentationFactory( data ) ) -DocumentationPart::DocumentationPart(TQObject *tqparent, const char *name, const TQStringList& ) - :KDevPlugin(&data, tqparent, name ? name : "DocumentationPart" ), +DocumentationPart::DocumentationPart(TQObject *parent, const char *name, const TQStringList& ) + :KDevPlugin(&data, parent, name ? name : "DocumentationPart" ), m_projectDocumentationPlugin(0), m_userManualPlugin(0), m_hasIndex(false) { setInstance(DocumentationFactory::instance()); diff --git a/parts/documentation/documentation_part.h b/parts/documentation/documentation_part.h index 1334b8ca..586002c5 100644 --- a/parts/documentation/documentation_part.h +++ b/parts/documentation/documentation_part.h @@ -46,7 +46,7 @@ class DocumentationPart : public KDevPlugin public: enum ContextFeature { Finder, IndexLookup, FullTextSearch, GotoMan, GotoInfo }; - DocumentationPart(TQObject *tqparent, const char *name, const TQStringList &); + DocumentationPart(TQObject *parent, const char *name, const TQStringList &); ~DocumentationPart(); void emitIndexSelected(IndexBox *indexBox); diff --git a/parts/documentation/editcatalogdlg.cpp b/parts/documentation/editcatalogdlg.cpp index ed8c2467..8bdc19d5 100644 --- a/parts/documentation/editcatalogdlg.cpp +++ b/parts/documentation/editcatalogdlg.cpp @@ -28,9 +28,9 @@ #include "docutils.h" #include "kdevdocumentationplugin.h" -EditCatalogDlg::EditCatalogDlg(DocumentationPlugin *plugin, TQWidget* tqparent, +EditCatalogDlg::EditCatalogDlg(DocumentationPlugin *plugin, TQWidget* parent, const char* name, bool modal, WFlags fl) - :EditCatalogBase(tqparent,name, modal,fl), m_plugin(plugin) + :EditCatalogBase(parent,name, modal,fl), m_plugin(plugin) { if (m_plugin->hasCapability(DocumentationPlugin::CustomDocumentationTitles)) { diff --git a/parts/documentation/editcatalogdlg.h b/parts/documentation/editcatalogdlg.h index 9f54faf8..6ee793fc 100644 --- a/parts/documentation/editcatalogdlg.h +++ b/parts/documentation/editcatalogdlg.h @@ -30,7 +30,7 @@ class EditCatalogDlg : public EditCatalogBase TQ_OBJECT public: EditCatalogDlg(DocumentationPlugin *plugin, - TQWidget* tqparent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0); + TQWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0); ~EditCatalogDlg(); /*$PUBLIC_FUNCTIONS$*/ 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()); } diff --git a/parts/documentation/find_documentation.h b/parts/documentation/find_documentation.h index 25088d9a..2a9af12d 100644 --- a/parts/documentation/find_documentation.h +++ b/parts/documentation/find_documentation.h @@ -33,7 +33,7 @@ class FindDocumentation : public FindDocumentationBase Q_OBJECT TQ_OBJECT public: - FindDocumentation(DocumentationWidget* tqparent, const char* name = 0); + FindDocumentation(DocumentationWidget* parent, const char* name = 0); ~FindDocumentation(); /*$PUBLIC_FUNCTIONS$*/ diff --git a/parts/documentation/find_documentation_options.cpp b/parts/documentation/find_documentation_options.cpp index 823aad2c..df04ca81 100644 --- a/parts/documentation/find_documentation_options.cpp +++ b/parts/documentation/find_documentation_options.cpp @@ -28,8 +28,8 @@ #include <kconfig.h> #include <kapplication.h> -FindDocumentationOptions::FindDocumentationOptions(TQWidget* tqparent, const char* name, bool modal) - :FindDocumentationOptionsBase(tqparent,name, modal), +FindDocumentationOptions::FindDocumentationOptions(TQWidget* parent, const char* name, bool modal) + :FindDocumentationOptionsBase(parent,name, modal), m_man_item(0), m_info_item(0), m_index_item(0), m_google_item(0), m_contents_item(0) { readOptions(); diff --git a/parts/documentation/find_documentation_options.h b/parts/documentation/find_documentation_options.h index 3fb2ed7c..1337a870 100644 --- a/parts/documentation/find_documentation_options.h +++ b/parts/documentation/find_documentation_options.h @@ -31,7 +31,7 @@ class FindDocumentationOptions : public FindDocumentationOptionsBase Q_OBJECT TQ_OBJECT public: - FindDocumentationOptions(TQWidget* tqparent = 0, const char* name = 0, bool modal = FALSE); + FindDocumentationOptions(TQWidget* parent = 0, const char* name = 0, bool modal = FALSE); ~FindDocumentationOptions(); /*$PUBLIC_FUNCTIONS$*/ virtual bool isContents( TQCheckListItem * item ); diff --git a/parts/documentation/indexview.cpp b/parts/documentation/indexview.cpp index a9e240be..3f323fc5 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 *tqparent, const char *name) - :TQWidget(tqparent, name), m_widget(tqparent) +IndexView::IndexView(DocumentationWidget *parent, const char *name) + :TQWidget(parent, name), m_widget(parent) { TQVBoxLayout *l = new TQVBoxLayout(this, 0, 0); diff --git a/parts/documentation/indexview.h b/parts/documentation/indexview.h index 8fb04e4d..9ff1e12d 100644 --- a/parts/documentation/indexview.h +++ b/parts/documentation/indexview.h @@ -33,7 +33,7 @@ class IndexView : public TQWidget Q_OBJECT TQ_OBJECT public: - IndexView(DocumentationWidget *tqparent = 0, const char *name = 0); + IndexView(DocumentationWidget *parent = 0, const char *name = 0); ~IndexView(); virtual bool eventFilter(TQObject *watched, TQEvent *e); diff --git a/parts/documentation/interfaces/kdevdocumentationplugin.cpp b/parts/documentation/interfaces/kdevdocumentationplugin.cpp index 14a72900..a7db4555 100644 --- a/parts/documentation/interfaces/kdevdocumentationplugin.cpp +++ b/parts/documentation/interfaces/kdevdocumentationplugin.cpp @@ -33,30 +33,30 @@ //class DocumentationItem -DocumentationItem::DocumentationItem(DocumentationItem::Type type, KListView *tqparent, +DocumentationItem::DocumentationItem(DocumentationItem::Type type, KListView *parent, const TQString &name) - :KListViewItem(tqparent, name), m_type(type) + :KListViewItem(parent, name), m_type(type) { init(); } -DocumentationItem::DocumentationItem(DocumentationItem::Type type, KListViewItem *tqparent, +DocumentationItem::DocumentationItem(DocumentationItem::Type type, KListViewItem *parent, const TQString &name) - :KListViewItem(tqparent, name), m_type(type) + :KListViewItem(parent, name), m_type(type) { init(); } -DocumentationItem::DocumentationItem(DocumentationItem::Type type, KListView *tqparent, +DocumentationItem::DocumentationItem(DocumentationItem::Type type, KListView *parent, KListViewItem *after, const TQString &name) - :KListViewItem(tqparent, after, name), m_type(type) + :KListViewItem(parent, after, name), m_type(type) { init(); } -DocumentationItem::DocumentationItem(DocumentationItem::Type type, KListViewItem * tqparent, +DocumentationItem::DocumentationItem(DocumentationItem::Type type, KListViewItem * parent, KListViewItem * after, const TQString & name ) - :KListViewItem(tqparent, after, name), m_type(type) + :KListViewItem(parent, after, name), m_type(type) { init(); } @@ -90,8 +90,8 @@ void DocumentationItem::init( ) DocumentationCatalogItem::DocumentationCatalogItem(DocumentationPlugin* plugin, - KListView *tqparent, const TQString &name) - :DocumentationItem(DocumentationItem::Catalog, tqparent, name), m_plugin(plugin), + KListView *parent, const TQString &name) + :DocumentationItem(DocumentationItem::Catalog, parent, name), m_plugin(plugin), isLoaded(false), isActivated(false), m_isProjectDocumentationItem(false) { setExpandable(true); @@ -99,8 +99,8 @@ DocumentationCatalogItem::DocumentationCatalogItem(DocumentationPlugin* plugin, } DocumentationCatalogItem::DocumentationCatalogItem(DocumentationPlugin* plugin, - DocumentationItem *tqparent, const TQString &name) - :DocumentationItem(DocumentationItem::Catalog, tqparent, name), m_plugin(plugin), + DocumentationItem *parent, const TQString &name) + :DocumentationItem(DocumentationItem::Catalog, parent, name), m_plugin(plugin), isLoaded(false), isActivated(false), m_isProjectDocumentationItem(false) { setExpandable(true); @@ -181,9 +181,9 @@ IndexItem::List IndexItem::urls() const //class ConfigurationItem -ConfigurationItem::ConfigurationItem(TQListView *tqparent, DocumentationPlugin * plugin, const TQString &title, const TQString &url, +ConfigurationItem::ConfigurationItem(TQListView *parent, DocumentationPlugin * plugin, const TQString &title, const TQString &url, bool indexPossible, bool fullTextSearchPossible) - :TQCheckListItem(tqparent, "", TQCheckListItem::CheckBox), m_title(title), m_url(url), + :TQCheckListItem(parent, "", TQCheckListItem::CheckBox), m_title(title), m_url(url), m_origTitle(title), m_contents(true), m_index(false), m_fullTextSearch(false), m_indexPossible(indexPossible), m_fullTextSearchPossible(fullTextSearchPossible), m_docPlugin( plugin ) @@ -253,8 +253,8 @@ int ConfigurationItem::width(const TQFontMetrics &fm, const TQListView *lv, int //class DocumentationPlugin -DocumentationPlugin::DocumentationPlugin(KConfig *pluginConfig, TQObject *tqparent, const char *name) - :TQObject(tqparent, name), config(pluginConfig), m_indexCreated(false) +DocumentationPlugin::DocumentationPlugin(KConfig *pluginConfig, TQObject *parent, const char *name) + :TQObject(parent, name), config(pluginConfig), m_indexCreated(false) { } @@ -613,8 +613,8 @@ void DocumentationPlugin::setCatalogEnabled(const TQString &name, bool e) //class IndexBox -IndexBox::IndexBox(TQWidget *tqparent, const char *name) - :KListBox(tqparent, name), m_dirty(false) +IndexBox::IndexBox(TQWidget *parent, const char *name) + :KListBox(parent, name), m_dirty(false) { } diff --git a/parts/documentation/interfaces/kdevdocumentationplugin.h b/parts/documentation/interfaces/kdevdocumentationplugin.h index fc7af7e3..1e70b968 100644 --- a/parts/documentation/interfaces/kdevdocumentationplugin.h +++ b/parts/documentation/interfaces/kdevdocumentationplugin.h @@ -43,10 +43,10 @@ public: Document /**<Document.*/ }; - DocumentationItem(Type type, KListView *tqparent, const TQString &name); - DocumentationItem(Type type, KListView *tqparent, KListViewItem *after, const TQString &name); - DocumentationItem(Type type, KListViewItem *tqparent, const TQString &name); - DocumentationItem(Type type, KListViewItem *tqparent, KListViewItem *after, const TQString &name); + DocumentationItem(Type type, KListView *parent, const TQString &name); + DocumentationItem(Type type, KListView *parent, KListViewItem *after, const TQString &name); + DocumentationItem(Type type, KListViewItem *parent, const TQString &name); + DocumentationItem(Type type, KListViewItem *parent, KListViewItem *after, const TQString &name); virtual void setURL(const KURL &url) { m_url = url; } virtual KURL url() const { return m_url; } @@ -72,8 +72,8 @@ class DocumentationPlugin; class DocumentationCatalogItem: public DocumentationItem { public: - DocumentationCatalogItem(DocumentationPlugin* plugin, KListView *tqparent, const TQString &name); - DocumentationCatalogItem(DocumentationPlugin* plugin, DocumentationItem *tqparent, const TQString &name); + DocumentationCatalogItem(DocumentationPlugin* plugin, KListView *parent, const TQString &name); + DocumentationCatalogItem(DocumentationPlugin* plugin, DocumentationItem *parent, const TQString &name); virtual ~DocumentationCatalogItem(); DocumentationPlugin* plugin() const { return m_plugin; } @@ -136,7 +136,7 @@ private: /**Documentation index view.*/ class IndexBox: public KListBox{ public: - IndexBox(TQWidget *tqparent = 0, const char *name = 0); + IndexBox(TQWidget *parent = 0, const char *name = 0); virtual void addIndexItem(IndexItemProto *item); virtual void removeIndexItem(IndexItemProto *item); @@ -161,7 +161,7 @@ class DocumentationPlugin; class ConfigurationItem: public TQCheckListItem { public: - ConfigurationItem(TQListView *tqparent, DocumentationPlugin * plugin, const TQString &title, const TQString &url, + ConfigurationItem(TQListView *parent, DocumentationPlugin * plugin, const TQString &title, const TQString &url, bool indexPossible, bool fullTextSearchPossible); virtual TQString title() const { return m_title; } @@ -234,7 +234,7 @@ public: setCapabilities(Index | FullTextSearch); @endcode */ - DocumentationPlugin(KConfig *pluginConfig, TQObject *tqparent =0, const char *name =0); + DocumentationPlugin(KConfig *pluginConfig, TQObject *parent =0, const char *name =0); virtual ~DocumentationPlugin(); /**Returns the i18n name of the plugin.*/ diff --git a/parts/documentation/plugins/chm/docchmplugin.cpp b/parts/documentation/plugins/chm/docchmplugin.cpp index 83263fce..21b07207 100644 --- a/parts/documentation/plugins/chm/docchmplugin.cpp +++ b/parts/documentation/plugins/chm/docchmplugin.cpp @@ -38,9 +38,9 @@ static const KDevPluginInfo data("docchmplugin"); typedef KDevGenericFactory<DocCHMPlugin> DocCHMPluginFactory; K_EXPORT_COMPONENT_FACTORY( libdocchmplugin, DocCHMPluginFactory(data) ) -DocCHMPlugin::DocCHMPlugin(TQObject* tqparent, const char* name, TQStringList // args +DocCHMPlugin::DocCHMPlugin(TQObject* parent, const char* name, TQStringList // args ) - :DocumentationPlugin(DocCHMPluginFactory::instance()->config(), tqparent, name) + :DocumentationPlugin(DocCHMPluginFactory::instance()->config(), parent, name) { setCapabilities(CustomDocumentationTitles); // | Index | FullTextSearch | ProjectDocumentation autoSetup(); @@ -127,9 +127,9 @@ void DocCHMPlugin::createIndex(IndexBox* // index } -static KListViewItem* chainEnd(KListViewItem *tqparent) { - if(tqparent == 0) return 0; - KListViewItem* ret = dynamic_cast<KListViewItem*>(tqparent->firstChild()); +static KListViewItem* chainEnd(KListViewItem *parent) { + if(parent == 0) return 0; + KListViewItem* ret = dynamic_cast<KListViewItem*>(parent->firstChild()); if(ret == 0) return 0; while(ret->nextSibling() != 0) { ret = dynamic_cast<KListViewItem*>(ret->nextSibling()); @@ -163,11 +163,11 @@ void DocCHMPlugin::createTOC(DocumentationCatalogItem* item) items.push_back(item); for(TQStringList::Iterator it = lines.begin(); it != lines.end();) { bool ok1 = true, ok2 = true; - int tqparent = (*it).toInt(&ok1); + int parent = (*it).toInt(&ok1); ++it; int current = (*it).toInt(&ok2); ++it; - if(int(items.size()) != current || !ok1 || !ok2 || tqparent < 0 || tqparent >= int(items.size()) || current < 0 || current != int(items.size())) { + if(int(items.size()) != current || !ok1 || !ok2 || parent < 0 || parent >= int(items.size()) || current < 0 || current != int(items.size())) { kdDebug(9002) << "DocCHMPlugin::createTOC error while parsing output of ioslave" << endl; break; } @@ -178,9 +178,9 @@ void DocCHMPlugin::createTOC(DocumentationCatalogItem* item) ++it; items.push_back(new DocumentationItem( - DocumentationItem::Document, items[tqparent], chainEnd(items[tqparent]), decodeHTML(name))); + DocumentationItem::Document, items[parent], chainEnd(items[parent]), decodeHTML(name))); items[current]->setURL(url); - if(tqparent != 0) items[tqparent]->setType(DocumentationItem::Book); + if(parent != 0) items[parent]->setType(DocumentationItem::Book); } diff --git a/parts/documentation/plugins/chm/docchmplugin.h b/parts/documentation/plugins/chm/docchmplugin.h index 3f069faf..f9d9be61 100644 --- a/parts/documentation/plugins/chm/docchmplugin.h +++ b/parts/documentation/plugins/chm/docchmplugin.h @@ -27,7 +27,7 @@ class DocCHMPlugin :public DocumentationPlugin Q_OBJECT TQ_OBJECT public: - DocCHMPlugin(TQObject* tqparent, const char* name, TQStringList args = TQStringList()); + DocCHMPlugin(TQObject* parent, const char* name, TQStringList args = TQStringList()); ~DocCHMPlugin(); virtual TQString pluginName() const; diff --git a/parts/documentation/plugins/custom/doccustomplugin.cpp b/parts/documentation/plugins/custom/doccustomplugin.cpp index 47012a2b..fb1a028b 100644 --- a/parts/documentation/plugins/custom/doccustomplugin.cpp +++ b/parts/documentation/plugins/custom/doccustomplugin.cpp @@ -32,9 +32,9 @@ static const KDevPluginInfo data("doccustomplugin"); typedef KDevGenericFactory<DocCustomPlugin> DocCustomPluginFactory; K_EXPORT_COMPONENT_FACTORY( libdoccustomplugin, DocCustomPluginFactory(data) ) -DocCustomPlugin::DocCustomPlugin(TQObject* tqparent, const char* name, const TQStringList // args +DocCustomPlugin::DocCustomPlugin(TQObject* parent, const char* name, const TQStringList // args ) - :DocumentationPlugin(DocCustomPluginFactory::instance()->config(), tqparent, name) + :DocumentationPlugin(DocCustomPluginFactory::instance()->config(), parent, name) { setCapabilities(CustomDocumentationTitles | ProjectUserManual); autoSetup(); diff --git a/parts/documentation/plugins/custom/doccustomplugin.h b/parts/documentation/plugins/custom/doccustomplugin.h index 33efec8f..cabd2554 100644 --- a/parts/documentation/plugins/custom/doccustomplugin.h +++ b/parts/documentation/plugins/custom/doccustomplugin.h @@ -24,7 +24,7 @@ class DocCustomPlugin : public DocumentationPlugin { public: - DocCustomPlugin(TQObject* tqparent, const char* name, const TQStringList args = TQStringList()); + DocCustomPlugin(TQObject* parent, const char* name, const TQStringList args = TQStringList()); ~DocCustomPlugin(); virtual TQString pluginName() const; 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 diff --git a/parts/documentation/plugins/djvu/docdjvuplugin.cpp b/parts/documentation/plugins/djvu/docdjvuplugin.cpp index 77997d6b..c93812ad 100644 --- a/parts/documentation/plugins/djvu/docdjvuplugin.cpp +++ b/parts/documentation/plugins/djvu/docdjvuplugin.cpp @@ -31,8 +31,8 @@ static const KAboutData data("docdjvuplugin", I18N_NOOP("Djvu documentation plug typedef KDevGenericFactory<DocDjvuPlugin> DocDjvuPluginFactory; K_EXPORT_COMPONENT_FACTORY( libdocdjvuplugin, DocDjvuPluginFactory(&data) ) -DocDjvuPlugin::DocDjvuPlugin(TQObject* tqparent, const char* name, const TQStringList args) - :DocumentationPlugin(DocDjvuPluginFactory::instance()->config(), tqparent, name) +DocDjvuPlugin::DocDjvuPlugin(TQObject* parent, const char* name, const TQStringList args) + :DocumentationPlugin(DocDjvuPluginFactory::instance()->config(), parent, name) { setCapabilities(CustomDocumentationTitles | ProjectUserManual); autoSetup(); diff --git a/parts/documentation/plugins/djvu/docdjvuplugin.h b/parts/documentation/plugins/djvu/docdjvuplugin.h index ec99e024..4dda28fc 100644 --- a/parts/documentation/plugins/djvu/docdjvuplugin.h +++ b/parts/documentation/plugins/djvu/docdjvuplugin.h @@ -24,7 +24,7 @@ class DocDjvuPlugin : public DocumentationPlugin { public: - DocDjvuPlugin(TQObject* tqparent, const char* name, const TQStringList args = TQStringList()); + DocDjvuPlugin(TQObject* parent, const char* name, const TQStringList args = TQStringList()); ~DocDjvuPlugin(); virtual TQString pluginName() const; diff --git a/parts/documentation/plugins/doxygen/docdoxygenplugin.cpp b/parts/documentation/plugins/doxygen/docdoxygenplugin.cpp index 999eaf4a..617988e9 100644 --- a/parts/documentation/plugins/doxygen/docdoxygenplugin.cpp +++ b/parts/documentation/plugins/doxygen/docdoxygenplugin.cpp @@ -44,13 +44,13 @@ class DoxyDocumentationCatalogItem: public DocumentationCatalogItem { public: DoxyDocumentationCatalogItem(const TQString &origUrl, DocumentationPlugin* plugin, - KListView *tqparent, const TQString &name) - :DocumentationCatalogItem(plugin, tqparent, name), m_origUrl(origUrl) + KListView *parent, const TQString &name) + :DocumentationCatalogItem(plugin, parent, name), m_origUrl(origUrl) { } DoxyDocumentationCatalogItem(const TQString &origUrl, DocumentationPlugin* plugin, - DocumentationItem *tqparent, const TQString &name) - :DocumentationCatalogItem(plugin, tqparent, name), m_origUrl(origUrl) + DocumentationItem *parent, const TQString &name) + :DocumentationCatalogItem(plugin, parent, name), m_origUrl(origUrl) { } TQString origUrl() const { return m_origUrl; } @@ -64,8 +64,8 @@ static const KDevPluginInfo data("docdoxygenplugin"); typedef KDevGenericFactory<DocDoxygenPlugin> DocDoxygenPluginFactory; K_EXPORT_COMPONENT_FACTORY( libdocdoxygenplugin, DocDoxygenPluginFactory(data) ) -DocDoxygenPlugin::DocDoxygenPlugin(TQObject* tqparent, const char* name, const TQStringList) - :DocumentationPlugin(DocDoxygenPluginFactory::instance()->config(), tqparent, name) +DocDoxygenPlugin::DocDoxygenPlugin(TQObject* parent, const char* name, const TQStringList) + :DocumentationPlugin(DocDoxygenPluginFactory::instance()->config(), parent, name) { setCapabilities(Index | FullTextSearch | ProjectDocumentation | CustomDocumentationTitles ); autoSetup(); diff --git a/parts/documentation/plugins/doxygen/docdoxygenplugin.h b/parts/documentation/plugins/doxygen/docdoxygenplugin.h index b3755cbe..2a593655 100644 --- a/parts/documentation/plugins/doxygen/docdoxygenplugin.h +++ b/parts/documentation/plugins/doxygen/docdoxygenplugin.h @@ -30,7 +30,7 @@ class DocDoxygenPlugin: public DocumentationPlugin Q_OBJECT TQ_OBJECT public: - DocDoxygenPlugin(TQObject* tqparent, const char* name, const TQStringList args = TQStringList()); + DocDoxygenPlugin(TQObject* parent, const char* name, const TQStringList args = TQStringList()); ~DocDoxygenPlugin(); virtual TQString pluginName() const; 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(); diff --git a/parts/documentation/plugins/kdevtoc/dockdevtocplugin.h b/parts/documentation/plugins/kdevtoc/dockdevtocplugin.h index fc980247..4fa08a38 100644 --- a/parts/documentation/plugins/kdevtoc/dockdevtocplugin.h +++ b/parts/documentation/plugins/kdevtoc/dockdevtocplugin.h @@ -29,7 +29,7 @@ class DocKDevTOCPlugin : public DocumentationPlugin Q_OBJECT TQ_OBJECT public: - DocKDevTOCPlugin(TQObject* tqparent, const char* name, const TQStringList args = TQStringList()); + DocKDevTOCPlugin(TQObject* parent, const char* name, const TQStringList args = TQStringList()); ~DocKDevTOCPlugin(); virtual TQString pluginName() const; @@ -48,7 +48,7 @@ public: virtual void autoSetupPlugin(); protected: - void addTocSect(DocumentationItem *tqparent, TQDomElement childEl, const TQString &base, uint level); + void addTocSect(DocumentationItem *parent, TQDomElement childEl, const TQString &base, uint level); static TQString constructURL(const TQString &base, const TQString &url) ; }; diff --git a/parts/documentation/plugins/pdb/docpdbplugin.cpp b/parts/documentation/plugins/pdb/docpdbplugin.cpp index 17089c89..cddc9106 100644 --- a/parts/documentation/plugins/pdb/docpdbplugin.cpp +++ b/parts/documentation/plugins/pdb/docpdbplugin.cpp @@ -31,8 +31,8 @@ static const KAboutData data("docpdbplugin", I18N_NOOP("PalmDoc documentation pl typedef KDevGenericFactory<DocPDBPlugin> DocPDBPluginFactory; K_EXPORT_COMPONENT_FACTORY( libdocpdbplugin, DocPDBPluginFactory(&data) ) -DocPDBPlugin::DocPDBPlugin(TQObject* tqparent, const char* name, const TQStringList args) - :DocumentationPlugin(DocPDBPluginFactory::instance()->config(), tqparent, name) +DocPDBPlugin::DocPDBPlugin(TQObject* parent, const char* name, const TQStringList args) + :DocumentationPlugin(DocPDBPluginFactory::instance()->config(), parent, name) { setCapabilities(CustomDocumentationTitles | ProjectUserManual); autoSetup(); diff --git a/parts/documentation/plugins/pdb/docpdbplugin.h b/parts/documentation/plugins/pdb/docpdbplugin.h index 33bb5ded..5fb85cdd 100644 --- a/parts/documentation/plugins/pdb/docpdbplugin.h +++ b/parts/documentation/plugins/pdb/docpdbplugin.h @@ -24,7 +24,7 @@ class DocPDBPlugin : public DocumentationPlugin { public: - DocPDBPlugin(TQObject* tqparent, const char* name, const TQStringList args = TQStringList()); + DocPDBPlugin(TQObject* parent, const char* name, const TQStringList args = TQStringList()); ~DocPDBPlugin(); virtual TQString pluginName() const; diff --git a/parts/documentation/plugins/pdf/docpdfplugin.cpp b/parts/documentation/plugins/pdf/docpdfplugin.cpp index 8fa76deb..898fcc0e 100644 --- a/parts/documentation/plugins/pdf/docpdfplugin.cpp +++ b/parts/documentation/plugins/pdf/docpdfplugin.cpp @@ -31,8 +31,8 @@ static const KAboutData data("docpdfplugin", I18N_NOOP("PDF documentation plugin typedef KDevGenericFactory<DocPDFPlugin> DocPDFPluginFactory; K_EXPORT_COMPONENT_FACTORY( libdocpdfplugin, DocPDFPluginFactory(&data) ) -DocPDFPlugin::DocPDFPlugin(TQObject* tqparent, const char* name, const TQStringList args) - :DocumentationPlugin(DocPDFPluginFactory::instance()->config(), tqparent, name) +DocPDFPlugin::DocPDFPlugin(TQObject* parent, const char* name, const TQStringList args) + :DocumentationPlugin(DocPDFPluginFactory::instance()->config(), parent, name) { setCapabilities(CustomDocumentationTitles | ProjectUserManual); autoSetup(); diff --git a/parts/documentation/plugins/pdf/docpdfplugin.h b/parts/documentation/plugins/pdf/docpdfplugin.h index e3a9c099..0d97101b 100644 --- a/parts/documentation/plugins/pdf/docpdfplugin.h +++ b/parts/documentation/plugins/pdf/docpdfplugin.h @@ -24,7 +24,7 @@ class DocPDFPlugin : public DocumentationPlugin { public: - DocPDFPlugin(TQObject* tqparent, const char* name, const TQStringList args = TQStringList()); + DocPDFPlugin(TQObject* parent, const char* name, const TQStringList args = TQStringList()); ~DocPDFPlugin(); virtual TQString pluginName() const; diff --git a/parts/documentation/plugins/qt/docqtplugin.cpp b/parts/documentation/plugins/qt/docqtplugin.cpp index ee90caa0..257a8cc2 100644 --- a/parts/documentation/plugins/qt/docqtplugin.cpp +++ b/parts/documentation/plugins/qt/docqtplugin.cpp @@ -41,13 +41,13 @@ class TQtDocumentationCatalogItem: public DocumentationCatalogItem { public: TQtDocumentationCatalogItem(const TQString &dcfFile, DocumentationPlugin* plugin, - KListView *tqparent, const TQString &name) - :DocumentationCatalogItem(plugin, tqparent, name), m_dcfFile(dcfFile) + KListView *parent, const TQString &name) + :DocumentationCatalogItem(plugin, parent, name), m_dcfFile(dcfFile) { } TQtDocumentationCatalogItem(const TQString &dcfFile, DocumentationPlugin* plugin, - DocumentationItem *tqparent, const TQString &name) - :DocumentationCatalogItem(plugin, tqparent, name), m_dcfFile(dcfFile) + DocumentationItem *parent, const TQString &name) + :DocumentationCatalogItem(plugin, parent, name), m_dcfFile(dcfFile) { } TQString dcfFile() const { return m_dcfFile; } @@ -60,8 +60,8 @@ static const KDevPluginInfo data("docqtplugin"); typedef KDevGenericFactory<DocQtPlugin> DocQtPluginFactory; K_EXPORT_COMPONENT_FACTORY( libdocqtplugin, DocQtPluginFactory(data) ) -DocQtPlugin::DocQtPlugin(TQObject* tqparent, const char* name, const TQStringList) - :DocumentationPlugin(DocQtPluginFactory::instance()->config(), tqparent, name) +DocQtPlugin::DocQtPlugin(TQObject* parent, const char* name, const TQStringList) + :DocumentationPlugin(DocQtPluginFactory::instance()->config(), parent, name) { setCapabilities(Index | FullTextSearch | CustomDocumentationTitles); autoSetup(); diff --git a/parts/documentation/plugins/qt/docqtplugin.h b/parts/documentation/plugins/qt/docqtplugin.h index afc7cf76..256be733 100644 --- a/parts/documentation/plugins/qt/docqtplugin.h +++ b/parts/documentation/plugins/qt/docqtplugin.h @@ -30,7 +30,7 @@ class DocQtPlugin : public DocumentationPlugin Q_OBJECT TQ_OBJECT public: - DocQtPlugin(TQObject* tqparent, const char* name, const TQStringList args = TQStringList()); + DocQtPlugin(TQObject* parent, const char* name, const TQStringList args = TQStringList()); ~DocQtPlugin(); virtual TQString pluginName() const; diff --git a/parts/documentation/protocols/chm/chm.cpp b/parts/documentation/protocols/chm/chm.cpp index e40ad5a9..e1528d03 100644 --- a/parts/documentation/protocols/chm/chm.cpp +++ b/parts/documentation/protocols/chm/chm.cpp @@ -76,7 +76,7 @@ ChmProtocol::~ChmProtocol() void ChmProtocol::get( const KURL& url ) { /** When :catalog is appended to the end, a plain-text representation of the catalog - * is given out where each entry consists of four lines, an integer representing the tqparent + * is given out where each entry consists of four lines, an integer representing the parent * of the node, an integer representing a node's ID, the Title of the Node, and it's hyperlink. * When :contents is appended, all contained htm- and html-files will be printed, each in a line. */ diff --git a/parts/documentation/protocols/chm/decompress.cpp b/parts/documentation/protocols/chm/decompress.cpp index 212eb244..f411e8ec 100644 --- a/parts/documentation/protocols/chm/decompress.cpp +++ b/parts/documentation/protocols/chm/decompress.cpp @@ -228,7 +228,7 @@ int LZXinit(int window) { * REMOVE_BITS(n) removes N bits from the bit buffer * * These bit access routines work by using the area beyond the MSB and the - * LSB as a free source of zeroes. This avoids having to tqmask any bits. + * LSB as a free source of zeroes. This avoids having to mask any bits. * So we have to know the bit width of the bitbuffer variable. This is * sizeof(ULONG) * 8, also defined as ULONG_BITS */ @@ -328,9 +328,9 @@ int make_decode_table(ULONG nsyms, ULONG nbits, UBYTE *length, UWORD *table) { register UBYTE bit_num = 1; ULONG fill; ULONG pos = 0; /* the current position in the decode table */ - ULONG table_tqmask = 1 << nbits; - ULONG bit_tqmask = table_tqmask >> 1; /* don't do 0 length codes */ - ULONG next_symbol = bit_tqmask; /* base of allocation for long codes */ + ULONG table_mask = 1 << nbits; + ULONG bit_mask = table_mask >> 1; /* don't do 0 length codes */ + ULONG next_symbol = bit_mask; /* base of allocation for long codes */ /* fill entries for codes short enough for a direct mapping */ while (bit_num <= nbits) @@ -341,27 +341,27 @@ int make_decode_table(ULONG nsyms, ULONG nbits, UBYTE *length, UWORD *table) { { leaf = pos; - if ((pos += bit_tqmask) > table_tqmask) return 1; /* table overrun */ + if ((pos += bit_mask) > table_mask) return 1; /* table overrun */ /* fill all possible lookups of this symbol with the symbol itself */ - fill = bit_tqmask; + fill = bit_mask; while (fill-- > 0) table[leaf++] = sym; } } - bit_tqmask >>= 1; + bit_mask >>= 1; bit_num++; } /* if there are any codes longer than nbits */ - if (pos != table_tqmask) + if (pos != table_mask) { /* clear the remainder of the table */ - for (sym = pos; sym < table_tqmask; sym++) table[sym] = 0; + for (sym = pos; sym < table_mask; sym++) table[sym] = 0; /* give ourselves room for codes to grow by up to 16 more bits */ pos <<= 16; - table_tqmask <<= 16; - bit_tqmask = 1 << 15; + table_mask <<= 16; + bit_mask = 1 << 15; while (bit_num <= 16) { @@ -385,16 +385,16 @@ int make_decode_table(ULONG nsyms, ULONG nbits, UBYTE *length, UWORD *table) { } table[leaf] = sym; - if ((pos += bit_tqmask) > table_tqmask) return 1; /* table overflow */ + if ((pos += bit_mask) > table_mask) return 1; /* table overflow */ } } - bit_tqmask >>= 1; + bit_mask >>= 1; bit_num++; } } /* full table? */ - if (pos == table_tqmask) return 0; + if (pos == table_mask) return 0; /* either erroneous table, or all elements are 0 - let's find out. */ for (sym = 0; sym < nsyms; sym++) if (length[sym]) return 1; @@ -555,7 +555,7 @@ int LZXdecompress(UBYTE* inpos, int inlen, UBYTE* outpos, int outlen) { togo -= this_run; LZX(block_remaining) -= this_run; - /* apply 2^x-1 tqmask */ + /* apply 2^x-1 mask */ window_posn &= window_size - 1; /* runs can't straddle the window wraparound */ if ((window_posn + this_run) > window_size) diff --git a/parts/documentation/protocols/chm/kchmpart.cpp b/parts/documentation/protocols/chm/kchmpart.cpp index 951c718a..b1d9d166 100644 --- a/parts/documentation/protocols/chm/kchmpart.cpp +++ b/parts/documentation/protocols/chm/kchmpart.cpp @@ -35,8 +35,8 @@ extern "C" KInstance* KChmPartFactory::s_instance = 0L; KAboutData* KChmPartFactory::s_about = 0L; -KChmPartFactory::KChmPartFactory( TQObject* tqparent, const char* name ) - : KParts::Factory( tqparent, name ) +KChmPartFactory::KChmPartFactory( TQObject* parent, const char* name ) + : KParts::Factory( parent, name ) { } @@ -66,7 +66,7 @@ KInstance* KChmPartFactory::instance() } -KChmPart::KChmPart( TQWidget * tqparent, const char * name ) +KChmPart::KChmPart( TQWidget * parent, const char * name ) : KDevHTMLPart( ), m_job(0) { KInstance * instance = new KInstance( "kchmpart" ); diff --git a/parts/documentation/protocols/chm/kchmpart.h b/parts/documentation/protocols/chm/kchmpart.h index 7cbda958..7b5209fd 100644 --- a/parts/documentation/protocols/chm/kchmpart.h +++ b/parts/documentation/protocols/chm/kchmpart.h @@ -35,12 +35,12 @@ class KChmPartFactory: public KParts::Factory Q_OBJECT TQ_OBJECT public: - KChmPartFactory( TQObject *tqparent = 0, const char *name = 0 ); + KChmPartFactory( TQObject *parent = 0, const char *name = 0 ); virtual ~KChmPartFactory(); virtual KParts::Part* createPartObject( TQWidget *parentWidget, const char *widgetName, - TQObject *tqparent, const char *name, + TQObject *parent, const char *name, const char *classname, const TQStringList &args ); static KInstance *instance(); diff --git a/parts/documentation/searchview.cpp b/parts/documentation/searchview.cpp index 51700470..73afd9d0 100644 --- a/parts/documentation/searchview.cpp +++ b/parts/documentation/searchview.cpp @@ -49,8 +49,8 @@ #include "documentation_part.h" #include "docutils.h" -SearchView::SearchView(DocumentationPart *part, TQWidget *tqparent, const char *name) - :TQWidget(tqparent, name), m_part(part) +SearchView::SearchView(DocumentationPart *part, TQWidget *parent, const char *name) + :TQWidget(parent, name), m_part(part) { TQVBoxLayout *l = new TQVBoxLayout(this, 0, KDialog::spacingHint()); diff --git a/parts/documentation/searchview.h b/parts/documentation/searchview.h index e1d9d106..b2820eb3 100644 --- a/parts/documentation/searchview.h +++ b/parts/documentation/searchview.h @@ -35,7 +35,7 @@ class SearchView: public TQWidget Q_OBJECT TQ_OBJECT public: - SearchView(DocumentationPart *part, TQWidget *tqparent = 0, const char *name = 0); + SearchView(DocumentationPart *part, TQWidget *parent = 0, const char *name = 0); ~SearchView(); public slots: diff --git a/parts/documentation/selecttopic.cpp b/parts/documentation/selecttopic.cpp index ef35a2a1..4dab4d83 100644 --- a/parts/documentation/selecttopic.cpp +++ b/parts/documentation/selecttopic.cpp @@ -19,8 +19,8 @@ ***************************************************************************/ #include "selecttopic.h" -SelectTopic::SelectTopic(IndexItem::List &urls, TQWidget *tqparent, const char *name) - :SelectTopicBase(tqparent, name), m_urls(urls) +SelectTopic::SelectTopic(IndexItem::List &urls, TQWidget *parent, const char *name) + :SelectTopicBase(parent, name), m_urls(urls) { for (IndexItem::List::const_iterator it = m_urls.begin(); it != m_urls.end(); ++it) topicBox->insertItem((*it).first); diff --git a/parts/documentation/selecttopic.h b/parts/documentation/selecttopic.h index e90f893c..df45365a 100644 --- a/parts/documentation/selecttopic.h +++ b/parts/documentation/selecttopic.h @@ -28,7 +28,7 @@ class SelectTopic: public SelectTopicBase{ Q_OBJECT TQ_OBJECT public: - SelectTopic(IndexItem::List &urls, TQWidget *tqparent = 0, const char *name = 0); + SelectTopic(IndexItem::List &urls, TQWidget *parent = 0, const char *name = 0); KURL selectedURL(); public slots: diff --git a/parts/documentation/tools/htdig/htdigindex.cpp b/parts/documentation/tools/htdig/htdigindex.cpp index cec37b02..56877315 100644 --- a/parts/documentation/tools/htdig/htdigindex.cpp +++ b/parts/documentation/tools/htdig/htdigindex.cpp @@ -39,9 +39,9 @@ #define INDEXER -ProgressDialog::ProgressDialog(bool index, TQWidget *tqparent, const char *name) +ProgressDialog::ProgressDialog(bool index, TQWidget *parent, const char *name) :KDialogBase(KDialogBase::Plain, i18n("Generating Search Index"), Cancel | Ok, Close, - tqparent, name, false) + parent, name, false) { proc = 0; diff --git a/parts/documentation/tools/htdig/htdigindex.h b/parts/documentation/tools/htdig/htdigindex.h index 06746ad5..661eed74 100644 --- a/parts/documentation/tools/htdig/htdigindex.h +++ b/parts/documentation/tools/htdig/htdigindex.h @@ -27,7 +27,7 @@ class ProgressDialog : public KDialogBase Q_OBJECT TQ_OBJECT public: - ProgressDialog(bool index, TQWidget *tqparent=0, const char *name=0); + ProgressDialog(bool index, TQWidget *parent=0, const char *name=0); ~ProgressDialog(); void addDir(const TQString &dir); |