summaryrefslogtreecommitdiffstats
path: root/parts
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
commit32b67ac0690de411b26b1d5e715b188c27442248 (patch)
tree43167816a3df6b3a877d71c9a7963ed270dcc8c9 /parts
parent330c33ab6f97b279737bf9527c9add7bb1475450 (diff)
downloadtdevelop-32b67ac0690de411b26b1d5e715b188c27442248.tar.gz
tdevelop-32b67ac0690de411b26b1d5e715b188c27442248.zip
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
Diffstat (limited to 'parts')
-rw-r--r--parts/abbrev/abbrevconfigwidget.cpp4
-rw-r--r--parts/abbrev/abbrevconfigwidget.h2
-rw-r--r--parts/abbrev/abbrevpart.cpp4
-rw-r--r--parts/abbrev/abbrevpart.h2
-rw-r--r--parts/abbrev/addtemplatedlg.cpp4
-rw-r--r--parts/abbrev/addtemplatedlg.h2
-rw-r--r--parts/appwizard/appwizarddlg.cpp4
-rw-r--r--parts/appwizard/appwizarddlg.h2
-rw-r--r--parts/appwizard/appwizardpart.cpp4
-rw-r--r--parts/appwizard/appwizardpart.h2
-rwxr-xr-xparts/appwizard/common/incadmin/config.guess2
-rw-r--r--parts/appwizard/common/kde-index.docbook10
-rw-r--r--parts/appwizard/filepropspage.cpp6
-rw-r--r--parts/appwizard/filepropspage.h2
-rw-r--r--parts/appwizard/importdlg.cpp4
-rw-r--r--parts/appwizard/importdlg.h2
-rw-r--r--parts/appwizard/profilesupport.cpp4
-rw-r--r--parts/appwizard/profilesupport.h2
-rw-r--r--parts/astyle/astyle_part.cpp4
-rw-r--r--parts/astyle/astyle_part.h2
-rw-r--r--parts/astyle/astyle_widget.cpp4
-rw-r--r--parts/astyle/astyle_widget.h2
-rw-r--r--parts/bookmarks/bookmarks_part.cpp4
-rw-r--r--parts/bookmarks/bookmarks_part.h2
-rw-r--r--parts/bookmarks/bookmarks_settings.cpp4
-rw-r--r--parts/bookmarks/bookmarks_settings.h2
-rw-r--r--parts/bookmarks/bookmarks_widget.cpp8
-rw-r--r--parts/classview/classtoolwidget.cpp4
-rw-r--r--parts/classview/classtoolwidget.h2
-rw-r--r--parts/classview/classtreebase.cpp24
-rw-r--r--parts/classview/classtreebase.h42
-rw-r--r--parts/classview/classviewpart.cpp6
-rw-r--r--parts/classview/classviewpart.h2
-rw-r--r--parts/classview/classviewwidget.cpp2
-rw-r--r--parts/classview/classviewwidget.h56
-rw-r--r--parts/classview/digraphview.cpp4
-rw-r--r--parts/classview/digraphview.h2
-rw-r--r--parts/classview/navigator.cpp12
-rw-r--r--parts/classview/navigator.h2
-rw-r--r--parts/classview/viewcombos.cpp24
-rw-r--r--parts/classview/viewcombos.h12
-rw-r--r--parts/ctags2/ctags2_createtagfile.cpp4
-rw-r--r--parts/ctags2/ctags2_createtagfile.h2
-rw-r--r--parts/ctags2/ctags2_part.cpp4
-rw-r--r--parts/ctags2/ctags2_part.h2
-rw-r--r--parts/ctags2/ctags2_selecttagfile.cpp4
-rw-r--r--parts/ctags2/ctags2_selecttagfile.h2
-rw-r--r--parts/ctags2/ctags2_settingswidget.cpp4
-rw-r--r--parts/ctags2/ctags2_settingswidget.h6
-rw-r--r--parts/diff/diffdlg.cpp4
-rw-r--r--parts/diff/diffdlg.h2
-rw-r--r--parts/diff/diffpart.cpp4
-rw-r--r--parts/diff/diffpart.h2
-rw-r--r--parts/diff/diffwidget.cpp8
-rw-r--r--parts/diff/diffwidget.h4
-rw-r--r--parts/distpart/distpart_part.cpp4
-rw-r--r--parts/distpart/distpart_part.h2
-rw-r--r--parts/distpart/distpart_widget.cpp4
-rw-r--r--parts/distpart/distpart_widget.h2
-rw-r--r--parts/documentation/addcatalogdlg.cpp4
-rw-r--r--parts/documentation/addcatalogdlg.h2
-rw-r--r--parts/documentation/bookmarkview.cpp16
-rw-r--r--parts/documentation/bookmarkview.h2
-rw-r--r--parts/documentation/contentsview.cpp4
-rw-r--r--parts/documentation/contentsview.h2
-rw-r--r--parts/documentation/docconfiglistview.cpp4
-rw-r--r--parts/documentation/docconfiglistview.h2
-rw-r--r--parts/documentation/docglobalconfigwidget.cpp4
-rw-r--r--parts/documentation/docglobalconfigwidget.h2
-rw-r--r--parts/documentation/docprojectconfigwidget.cpp4
-rw-r--r--parts/documentation/docprojectconfigwidget.h2
-rw-r--r--parts/documentation/documentation_part.cpp4
-rw-r--r--parts/documentation/documentation_part.h2
-rw-r--r--parts/documentation/editcatalogdlg.cpp4
-rw-r--r--parts/documentation/editcatalogdlg.h2
-rw-r--r--parts/documentation/find_documentation.cpp16
-rw-r--r--parts/documentation/find_documentation.h2
-rw-r--r--parts/documentation/find_documentation_options.cpp4
-rw-r--r--parts/documentation/find_documentation_options.h2
-rw-r--r--parts/documentation/indexview.cpp4
-rw-r--r--parts/documentation/indexview.h2
-rw-r--r--parts/documentation/interfaces/kdevdocumentationplugin.cpp36
-rw-r--r--parts/documentation/interfaces/kdevdocumentationplugin.h18
-rw-r--r--parts/documentation/plugins/chm/docchmplugin.cpp18
-rw-r--r--parts/documentation/plugins/chm/docchmplugin.h2
-rw-r--r--parts/documentation/plugins/custom/doccustomplugin.cpp4
-rw-r--r--parts/documentation/plugins/custom/doccustomplugin.h2
-rw-r--r--parts/documentation/plugins/devhelp/docdevhelpplugin.cpp16
-rw-r--r--parts/documentation/plugins/devhelp/docdevhelpplugin.h4
-rw-r--r--parts/documentation/plugins/djvu/docdjvuplugin.cpp4
-rw-r--r--parts/documentation/plugins/djvu/docdjvuplugin.h2
-rw-r--r--parts/documentation/plugins/doxygen/docdoxygenplugin.cpp12
-rw-r--r--parts/documentation/plugins/doxygen/docdoxygenplugin.h2
-rw-r--r--parts/documentation/plugins/kdevtoc/dockdevtocplugin.cpp16
-rw-r--r--parts/documentation/plugins/kdevtoc/dockdevtocplugin.h4
-rw-r--r--parts/documentation/plugins/pdb/docpdbplugin.cpp4
-rw-r--r--parts/documentation/plugins/pdb/docpdbplugin.h2
-rw-r--r--parts/documentation/plugins/pdf/docpdfplugin.cpp4
-rw-r--r--parts/documentation/plugins/pdf/docpdfplugin.h2
-rw-r--r--parts/documentation/plugins/qt/docqtplugin.cpp12
-rw-r--r--parts/documentation/plugins/qt/docqtplugin.h2
-rw-r--r--parts/documentation/protocols/chm/chm.cpp2
-rw-r--r--parts/documentation/protocols/chm/decompress.cpp30
-rw-r--r--parts/documentation/protocols/chm/kchmpart.cpp6
-rw-r--r--parts/documentation/protocols/chm/kchmpart.h4
-rw-r--r--parts/documentation/searchview.cpp4
-rw-r--r--parts/documentation/searchview.h2
-rw-r--r--parts/documentation/selecttopic.cpp4
-rw-r--r--parts/documentation/selecttopic.h2
-rw-r--r--parts/documentation/tools/htdig/htdigindex.cpp4
-rw-r--r--parts/documentation/tools/htdig/htdigindex.h2
-rw-r--r--parts/doxygen/doxygenconfigwidget.cpp10
-rw-r--r--parts/doxygen/doxygenconfigwidget.h2
-rw-r--r--parts/doxygen/doxygenpart.cpp4
-rw-r--r--parts/doxygen/doxygenpart.h2
-rw-r--r--parts/doxygen/input.cpp16
-rw-r--r--parts/doxygen/input.h8
-rw-r--r--parts/filecreate/addglobaldlg.cpp6
-rw-r--r--parts/filecreate/addglobaldlg.h2
-rw-r--r--parts/filecreate/fcconfigwidget.cpp38
-rw-r--r--parts/filecreate/fcconfigwidget.h2
-rw-r--r--parts/filecreate/fctemplateedit.cpp4
-rw-r--r--parts/filecreate/fctemplateedit.h2
-rw-r--r--parts/filecreate/fctypeedit.cpp4
-rw-r--r--parts/filecreate/fctypeedit.h2
-rw-r--r--parts/filecreate/filecreate_filedialog.cpp4
-rw-r--r--parts/filecreate/filecreate_filedialog.h2
-rw-r--r--parts/filecreate/filecreate_newfile.cpp4
-rw-r--r--parts/filecreate/filecreate_newfile.h2
-rw-r--r--parts/filecreate/filecreate_part.cpp8
-rw-r--r--parts/filecreate/filecreate_part.h2
-rw-r--r--parts/filecreate/filecreate_widget2.cpp2
-rw-r--r--parts/filecreate/filecreate_widget3.cpp2
-rw-r--r--parts/filelist/filelist_item.cpp4
-rw-r--r--parts/filelist/filelist_item.h2
-rw-r--r--parts/filelist/filelist_widget.cpp4
-rw-r--r--parts/filelist/filelist_widget.h2
-rw-r--r--parts/filelist/projectviewconfig.cpp4
-rw-r--r--parts/filelist/projectviewconfig.h2
-rw-r--r--parts/filelist/projectviewpart.cpp4
-rw-r--r--parts/filelist/projectviewpart.h2
-rw-r--r--parts/filelist/projectviewprojectconfig.cpp4
-rw-r--r--parts/filelist/projectviewprojectconfig.h2
-rw-r--r--parts/filelist/toolbarguibuilder.cpp12
-rw-r--r--parts/filelist/toolbarguibuilder.h6
-rw-r--r--parts/fileselector/fileselector_part.cpp4
-rw-r--r--parts/fileselector/fileselector_part.h2
-rw-r--r--parts/fileselector/fileselector_widget.cpp16
-rw-r--r--parts/fileselector/fileselector_widget.h12
-rw-r--r--parts/fileselector/kactionselector.cpp4
-rw-r--r--parts/fileselector/kactionselector.h2
-rw-r--r--parts/fileselector/kbookmarkhandler.cpp8
-rw-r--r--parts/fileselector/kbookmarkhandler.h2
-rw-r--r--parts/fileview/addfilegroupdlg.cpp4
-rw-r--r--parts/fileview/addfilegroupdlg.h2
-rw-r--r--parts/fileview/filegroupsconfigwidget.cpp4
-rw-r--r--parts/fileview/filegroupsconfigwidget.h2
-rw-r--r--parts/fileview/filegroupspart.cpp4
-rw-r--r--parts/fileview/filegroupspart.h2
-rw-r--r--parts/fileview/filegroupswidget.cpp16
-rw-r--r--parts/fileview/fileitemfactory.h8
-rw-r--r--parts/fileview/filetreeviewwidgetimpl.cpp8
-rw-r--r--parts/fileview/filetreeviewwidgetimpl.h2
-rw-r--r--parts/fileview/filetreewidget.cpp8
-rw-r--r--parts/fileview/filetreewidget.h2
-rw-r--r--parts/fileview/fileviewpart.cpp4
-rw-r--r--parts/fileview/fileviewpart.h2
-rw-r--r--parts/fileview/partwidget.cpp6
-rw-r--r--parts/fileview/partwidget.h2
-rw-r--r--parts/fileview/stdfiletreewidgetimpl.cpp24
-rw-r--r--parts/fileview/stdfiletreewidgetimpl.h2
-rw-r--r--parts/fileview/vcscolorsconfigwidget.cpp4
-rw-r--r--parts/fileview/vcscolorsconfigwidget.h2
-rw-r--r--parts/fileview/vcsfiletreewidgetimpl.cpp32
-rw-r--r--parts/fileview/vcsfiletreewidgetimpl.h2
-rw-r--r--parts/filter/filterpart.cpp4
-rw-r--r--parts/filter/filterpart.h2
-rw-r--r--parts/fullscreen/fullscreen_part.cpp4
-rw-r--r--parts/fullscreen/fullscreen_part.h2
-rw-r--r--parts/grepview/grepdlg.cpp4
-rw-r--r--parts/grepview/grepdlg.h2
-rw-r--r--parts/grepview/grepviewpart.cpp4
-rw-r--r--parts/grepview/grepviewpart.h2
-rw-r--r--parts/grepview/grepviewwidget.h2
-rw-r--r--parts/konsole/konsoleviewpart.cpp4
-rw-r--r--parts/konsole/konsoleviewpart.h2
-rw-r--r--parts/openwith/openwithpart.cpp4
-rw-r--r--parts/openwith/openwithpart.h2
-rw-r--r--parts/outputviews/appoutputviewpart.cpp4
-rw-r--r--parts/outputviews/appoutputviewpart.h2
-rw-r--r--parts/outputviews/makeviewpart.cpp4
-rw-r--r--parts/outputviews/makeviewpart.h2
-rw-r--r--parts/partexplorer/partexplorer_plugin.cpp4
-rw-r--r--parts/partexplorer/partexplorer_plugin.h2
-rw-r--r--parts/partexplorer/partexplorerform.cpp18
-rw-r--r--parts/partexplorer/partexplorerform.h2
-rw-r--r--parts/quickopen/quickopen_part.cpp4
-rw-r--r--parts/quickopen/quickopen_part.h2
-rw-r--r--parts/quickopen/quickopenclassdialog.cpp4
-rw-r--r--parts/quickopen/quickopenclassdialog.h2
-rw-r--r--parts/quickopen/quickopendialog.cpp4
-rw-r--r--parts/quickopen/quickopendialog.h2
-rw-r--r--parts/quickopen/quickopenfiledialog.cpp8
-rw-r--r--parts/quickopen/quickopenfiledialog.h4
-rw-r--r--parts/quickopen/quickopenfunctionchooseform.cpp4
-rw-r--r--parts/quickopen/quickopenfunctionchooseform.h2
-rw-r--r--parts/quickopen/quickopenfunctiondialog.cpp4
-rw-r--r--parts/quickopen/quickopenfunctiondialog.h2
-rw-r--r--parts/regexptest/regexptestpart.cpp4
-rw-r--r--parts/regexptest/regexptestpart.h2
-rw-r--r--parts/replace/replace_part.cpp4
-rw-r--r--parts/replace/replace_part.h2
-rw-r--r--parts/replace/replacedlgimpl.cpp4
-rw-r--r--parts/replace/replacedlgimpl.h2
-rw-r--r--parts/replace/replaceitem.cpp10
-rw-r--r--parts/replace/replaceitem.h12
-rw-r--r--parts/replace/replaceview.cpp2
-rw-r--r--parts/scripting/scriptingglobalconfig.cpp4
-rw-r--r--parts/scripting/scriptingglobalconfig.h2
-rw-r--r--parts/scripting/scriptingpart.cpp4
-rw-r--r--parts/scripting/scriptingpart.h2
-rw-r--r--parts/snippet/snippet_part.cpp4
-rw-r--r--parts/snippet/snippet_part.h2
-rw-r--r--parts/snippet/snippet_widget.cpp10
-rw-r--r--parts/snippet/snippetitem.cpp16
-rw-r--r--parts/snippet/snippetitem.h6
-rw-r--r--parts/snippet/snippetsettings.cpp8
-rw-r--r--parts/snippet/snippetsettings.h4
-rw-r--r--parts/texttools/texttoolspart.cpp4
-rw-r--r--parts/texttools/texttoolspart.h2
-rw-r--r--parts/texttools/texttoolswidget.cpp20
-rw-r--r--parts/texttools/texttoolswidget.h2
-rw-r--r--parts/tipofday/tipofday_part.cpp4
-rw-r--r--parts/tipofday/tipofday_part.h2
-rw-r--r--parts/tools/kapplicationtree.cpp14
-rw-r--r--parts/tools/kapplicationtree.h6
-rw-r--r--parts/tools/tools_part.cpp4
-rw-r--r--parts/tools/tools_part.h2
-rw-r--r--parts/tools/toolsconfig.cpp4
-rw-r--r--parts/tools/toolsconfig.h2
-rw-r--r--parts/tools/toolsconfigwidget.cpp4
-rw-r--r--parts/tools/toolsconfigwidget.h2
-rw-r--r--parts/uimode/uichooser_part.cpp4
-rw-r--r--parts/uimode/uichooser_part.h2
-rw-r--r--parts/uimode/uichooser_widget.cpp4
-rw-r--r--parts/uimode/uichooser_widget.h2
-rw-r--r--parts/valgrind/valgrind_dialog.cpp4
-rw-r--r--parts/valgrind/valgrind_dialog.h2
-rw-r--r--parts/valgrind/valgrind_part.cpp4
-rw-r--r--parts/valgrind/valgrind_part.h2
-rw-r--r--parts/valgrind/valgrind_widget.cpp10
-rw-r--r--parts/vcsmanager/vcsmanagerpart.cpp4
-rw-r--r--parts/vcsmanager/vcsmanagerpart.h2
-rw-r--r--parts/vcsmanager/vcsmanagerprojectconfig.cpp4
-rw-r--r--parts/vcsmanager/vcsmanagerprojectconfig.h2
255 files changed, 688 insertions, 688 deletions
diff --git a/parts/abbrev/abbrevconfigwidget.cpp b/parts/abbrev/abbrevconfigwidget.cpp
index 675145b5..6e174603 100644
--- a/parts/abbrev/abbrevconfigwidget.cpp
+++ b/parts/abbrev/abbrevconfigwidget.cpp
@@ -25,8 +25,8 @@
#include "addtemplatedlg.h"
#include "abbrevpart.h"
-AbbrevConfigWidget::AbbrevConfigWidget(AbbrevPart *part, TQWidget *tqparent, const char *name)
- : AbbrevConfigWidgetBase(tqparent, name)
+AbbrevConfigWidget::AbbrevConfigWidget(AbbrevPart *part, TQWidget *parent, const char *name)
+ : AbbrevConfigWidgetBase(parent, name)
{
m_part = part;
diff --git a/parts/abbrev/abbrevconfigwidget.h b/parts/abbrev/abbrevconfigwidget.h
index 514c53c4..071bff70 100644
--- a/parts/abbrev/abbrevconfigwidget.h
+++ b/parts/abbrev/abbrevconfigwidget.h
@@ -26,7 +26,7 @@ class AbbrevConfigWidget : public AbbrevConfigWidgetBase
TQ_OBJECT
public:
- AbbrevConfigWidget(AbbrevPart *part, TQWidget *tqparent=0, const char *name=0);
+ AbbrevConfigWidget(AbbrevPart *part, TQWidget *parent=0, const char *name=0);
~AbbrevConfigWidget();
public slots:
diff --git a/parts/abbrev/abbrevpart.cpp b/parts/abbrev/abbrevpart.cpp
index a5d6c777..5a13a32a 100644
--- a/parts/abbrev/abbrevpart.cpp
+++ b/parts/abbrev/abbrevpart.cpp
@@ -65,8 +65,8 @@ public:
K_EXPORT_COMPONENT_FACTORY( libkdevabbrev, AbbrevFactory )
-AbbrevPart::AbbrevPart(TQObject *tqparent, const char *name, const TQStringList &)
- : KDevPlugin(&data, tqparent, name ? name : "AbbrevPart")
+AbbrevPart::AbbrevPart(TQObject *parent, const char *name, const TQStringList &)
+ : KDevPlugin(&data, parent, name ? name : "AbbrevPart")
{
setInstance(AbbrevFactory::instance());
setXMLFile("kdevabbrev.rc");
diff --git a/parts/abbrev/abbrevpart.h b/parts/abbrev/abbrevpart.h
index 566e7896..2a1f9416 100644
--- a/parts/abbrev/abbrevpart.h
+++ b/parts/abbrev/abbrevpart.h
@@ -66,7 +66,7 @@ class AbbrevPart : public KDevPlugin
TQ_OBJECT
public:
- AbbrevPart( TQObject *tqparent, const char *name, const TQStringList & );
+ AbbrevPart( TQObject *parent, const char *name, const TQStringList & );
~AbbrevPart();
bool autoWordCompletionEnabled() const;
diff --git a/parts/abbrev/addtemplatedlg.cpp b/parts/abbrev/addtemplatedlg.cpp
index 6be8c703..a837c08a 100644
--- a/parts/abbrev/addtemplatedlg.cpp
+++ b/parts/abbrev/addtemplatedlg.cpp
@@ -22,8 +22,8 @@
#include <klineedit.h>
#include <tqpushbutton.h>
-AddTemplateDialog::AddTemplateDialog( TQStringList suffixesList, TQWidget *tqparent, const char *name )
- : AddTemplateDialogBase( tqparent, name )
+AddTemplateDialog::AddTemplateDialog( TQStringList suffixesList, TQWidget *parent, const char *name )
+ : AddTemplateDialogBase( parent, name )
{
setFocusProxy( editTemplate );
comboSuffixes->insertStringList(suffixesList);
diff --git a/parts/abbrev/addtemplatedlg.h b/parts/abbrev/addtemplatedlg.h
index 04298214..2721ec3b 100644
--- a/parts/abbrev/addtemplatedlg.h
+++ b/parts/abbrev/addtemplatedlg.h
@@ -29,7 +29,7 @@ class AddTemplateDialog: public AddTemplateDialogBase
TQ_OBJECT
public:
- AddTemplateDialog( TQStringList suffixesList, TQWidget *tqparent=0, const char *name=0 );
+ AddTemplateDialog( TQStringList suffixesList, TQWidget *parent=0, const char *name=0 );
virtual ~AddTemplateDialog();
TQString templ() const;
diff --git a/parts/appwizard/appwizarddlg.cpp b/parts/appwizard/appwizarddlg.cpp
index bfcdc91b..1799c2e9 100644
--- a/parts/appwizard/appwizarddlg.cpp
+++ b/parts/appwizard/appwizarddlg.cpp
@@ -90,8 +90,8 @@
#include "propeditor/propertylist.h"
#include "propeditor/propertyeditor.h"
-AppWizardDialog::AppWizardDialog(AppWizardPart *part, TQWidget *tqparent, const char *name)
- : AppWizardDialogBase(tqparent, name,true), m_pCurrentAppInfo(0),
+AppWizardDialog::AppWizardDialog(AppWizardPart *part, TQWidget *parent, const char *name)
+ : AppWizardDialogBase(parent, name,true), m_pCurrentAppInfo(0),
m_profileSupport(new ProfileSupport(part))
{
kdDebug( 9010 ) << " ** AppWizardDialog::AppWizardDialog()" << endl;
diff --git a/parts/appwizard/appwizarddlg.h b/parts/appwizard/appwizarddlg.h
index d1892c7a..d441fb6e 100644
--- a/parts/appwizard/appwizarddlg.h
+++ b/parts/appwizard/appwizarddlg.h
@@ -124,7 +124,7 @@ class AppWizardDialog : public AppWizardDialogBase
TQ_OBJECT
public:
- AppWizardDialog( AppWizardPart *part, TQWidget *tqparent=0, const char *name=0 );
+ AppWizardDialog( AppWizardPart *part, TQWidget *parent=0, const char *name=0 );
~AppWizardDialog();
TQString getProjectName() { return appname_edit->text(); }
TQString getProjectLocation() { return finalLoc_label->text(); }
diff --git a/parts/appwizard/appwizardpart.cpp b/parts/appwizard/appwizardpart.cpp
index e29fd98b..6b57b320 100644
--- a/parts/appwizard/appwizardpart.cpp
+++ b/parts/appwizard/appwizardpart.cpp
@@ -34,8 +34,8 @@
#include <kdevcore.h>
#include <codemodel.h>
-AppWizardPart::AppWizardPart(TQObject *tqparent, const char *name, const TQStringList &)
- : KDevPlugin(AppWizardFactory::info(), tqparent, name ? name : "AppWizardPart")
+AppWizardPart::AppWizardPart(TQObject *parent, const char *name, const TQStringList &)
+ : KDevPlugin(AppWizardFactory::info(), parent, name ? name : "AppWizardPart")
{
setInstance(AppWizardFactory::instance());
setXMLFile("kdevappwizard.rc");
diff --git a/parts/appwizard/appwizardpart.h b/parts/appwizard/appwizardpart.h
index 66894790..c8731f4a 100644
--- a/parts/appwizard/appwizardpart.h
+++ b/parts/appwizard/appwizardpart.h
@@ -27,7 +27,7 @@ class AppWizardPart : public KDevPlugin
TQ_OBJECT
public:
- AppWizardPart( TQObject *tqparent, const char *name, const TQStringList & );
+ AppWizardPart( TQObject *parent, const char *name, const TQStringList & );
~AppWizardPart();
void openFilesAfterGeneration(const KURL::List urlsToOpen);
diff --git a/parts/appwizard/common/incadmin/config.guess b/parts/appwizard/common/incadmin/config.guess
index 3ddf6182..1d9f4294 100755
--- a/parts/appwizard/common/incadmin/config.guess
+++ b/parts/appwizard/common/incadmin/config.guess
@@ -247,7 +247,7 @@ main:
.prologue 1
.long 0x47e03d80 # implver \$0
lda \$2,-1
- .long 0x47e20c21 # atqmask \$2,\$1
+ .long 0x47e20c21 # amask \$2,\$1
lda \$16,\$Lformat
mov \$0,\$17
not \$1,\$18
diff --git a/parts/appwizard/common/kde-index.docbook b/parts/appwizard/common/kde-index.docbook
index b84a9430..c79adfeb 100644
--- a/parts/appwizard/common/kde-index.docbook
+++ b/parts/appwizard/common/kde-index.docbook
@@ -265,7 +265,7 @@ taken from that reference and shortened a bit for readability. -->
<refnamediv>
<refname>XtUnmanageChildren
</refname>
-<refpurpose>remove a list of tqchildren from a tqparent widget's managed
+<refpurpose>remove a list of tqchildren from a parent widget's managed
list.
<indexterm id="ix-1007-unmanagetqchildren-1"><primary>widgets</primary><secondary>removing</secondary></indexterm>
<indexterm id="ix-1007-unmanagetqchildren-2"><primary>XtUnmanageChildren</primary></indexterm>
@@ -309,13 +309,13 @@ class RectObj or any subclass thereof.
<title>Description
</title>
<para><function>XtUnmanageChildren()</function> unmaps the specified widgets
-and removes them from their tqparent's tqgeometry management.
+and removes them from their parent's tqgeometry management.
The widgets will disappear from the screen, and (depending
-on its tqparent) may no longer have screen space allocated for
+on its parent) may no longer have screen space allocated for
them.
</para>
<para>Each of the widgets in the <replaceable class="parameter">tqchildren</replaceable> array must have
-the same tqparent.
+the same parent.
</para>
<para>See the &ldquo;Algorithm&rdquo; section below for full details of the
widget unmanagement procedure.
@@ -340,7 +340,7 @@ often more convenient to call <function>XtUnmanageChild()</function>
several times than it is to declare and initialize an array
of widgets to pass to <function>XtUnmanageChildren()</function>. Calling
<function>XtUnmanageChildren()</function> is more efficient, however,
-because it only calls the tqparent's <function>change_managed()</function>
+because it only calls the parent's <function>change_managed()</function>
method once.
</para>
</refsect1>
diff --git a/parts/appwizard/filepropspage.cpp b/parts/appwizard/filepropspage.cpp
index 1ec0b6df..3e946abf 100644
--- a/parts/appwizard/filepropspage.cpp
+++ b/parts/appwizard/filepropspage.cpp
@@ -7,11 +7,11 @@
#include <tqmultilineedit.h>
/*
- * Constructs a FilePropsPage which is a child of 'tqparent', with the
+ * Constructs a FilePropsPage which is a child of 'parent', with the
* name 'name' and widget flags set to 'f'
*/
-FilePropsPage::FilePropsPage( TQWidget* tqparent, const char* name, WFlags fl )
- : FilePropsPageBase( tqparent, name, fl ){
+FilePropsPage::FilePropsPage( TQWidget* parent, const char* name, WFlags fl )
+ : FilePropsPageBase( parent, name, fl ){
m_props = new TQPtrList<ClassFileProp>;
m_current_class = 9999; // no current
}
diff --git a/parts/appwizard/filepropspage.h b/parts/appwizard/filepropspage.h
index adb8f758..99424100 100644
--- a/parts/appwizard/filepropspage.h
+++ b/parts/appwizard/filepropspage.h
@@ -23,7 +23,7 @@ class FilePropsPage : public FilePropsPageBase
TQ_OBJECT
public:
- FilePropsPage( TQWidget* tqparent = 0, const char* name = 0, WFlags fl = 0 );
+ FilePropsPage( TQWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
~FilePropsPage();
void setClassFileProps(TQPtrList<ClassFileProp> props,bool different_header_impl=true);
TQPtrList<ClassFileProp> getClassFileProps();
diff --git a/parts/appwizard/importdlg.cpp b/parts/appwizard/importdlg.cpp
index 8d0ca20d..4fc8a6e3 100644
--- a/parts/appwizard/importdlg.cpp
+++ b/parts/appwizard/importdlg.cpp
@@ -51,8 +51,8 @@
#include "misc.h"
-ImportDialog::ImportDialog(AppWizardPart *part, TQWidget *tqparent, const char *name)
- : ImportDialogBase(tqparent, name, true), m_part(part)
+ImportDialog::ImportDialog(AppWizardPart *part, TQWidget *parent, const char *name)
+ : ImportDialogBase(parent, name, true), m_part(part)
{
TQString author, email;
AppWizardUtil::guessAuthorAndEmail(&author, &email);
diff --git a/parts/appwizard/importdlg.h b/parts/appwizard/importdlg.h
index aa7721e3..0b5cd578 100644
--- a/parts/appwizard/importdlg.h
+++ b/parts/appwizard/importdlg.h
@@ -31,7 +31,7 @@ class ImportDialog : public ImportDialogBase
TQ_OBJECT
public:
- ImportDialog( AppWizardPart *part, TQWidget *tqparent=0, const char *name=0 );
+ ImportDialog( AppWizardPart *part, TQWidget *parent=0, const char *name=0 );
~ImportDialog();
protected:
diff --git a/parts/appwizard/profilesupport.cpp b/parts/appwizard/profilesupport.cpp
index 828b54e9..084156f5 100644
--- a/parts/appwizard/profilesupport.cpp
+++ b/parts/appwizard/profilesupport.cpp
@@ -26,9 +26,9 @@
#include <kdevplugincontroller.h>
-ProfileSupport::ProfileSupport(KDevPlugin *tqparent)
+ProfileSupport::ProfileSupport(KDevPlugin *parent)
{
- KURL::List resources = tqparent->pluginController()->profileResourcesRecursive("*.appwizard");
+ KURL::List resources = parent->pluginController()->profileResourcesRecursive("*.appwizard");
for (KURL::List::const_iterator it = resources.constBegin(); it != resources.constEnd(); ++it)
{
diff --git a/parts/appwizard/profilesupport.h b/parts/appwizard/profilesupport.h
index bc98d981..b18a9620 100644
--- a/parts/appwizard/profilesupport.h
+++ b/parts/appwizard/profilesupport.h
@@ -24,7 +24,7 @@
class ProfileSupport{
public:
- ProfileSupport(KDevPlugin *tqparent);
+ ProfileSupport(KDevPlugin *parent);
bool isInTemplateList(const TQString &templateUrl);
private:
diff --git a/parts/astyle/astyle_part.cpp b/parts/astyle/astyle_part.cpp
index 59cb1666..c8ff8dda 100644
--- a/parts/astyle/astyle_part.cpp
+++ b/parts/astyle/astyle_part.cpp
@@ -43,8 +43,8 @@ namespace {
typedef KDevGenericFactory<AStylePart> AStyleFactory;
K_EXPORT_COMPONENT_FACTORY( libkdevastyle, AStyleFactory( data ) )
-AStylePart::AStylePart(TQObject *tqparent, const char *name, const TQStringList &)
- : KDevSourceFormatter(&data, tqparent, name ? name : "AStylePart")
+AStylePart::AStylePart(TQObject *parent, const char *name, const TQStringList &)
+ : KDevSourceFormatter(&data, parent, name ? name : "AStylePart")
{
setInstance(AStyleFactory::instance());
diff --git a/parts/astyle/astyle_part.h b/parts/astyle/astyle_part.h
index b805b0b2..ab39ec62 100644
--- a/parts/astyle/astyle_part.h
+++ b/parts/astyle/astyle_part.h
@@ -27,7 +27,7 @@ class AStylePart : public KDevSourceFormatter
public:
- AStylePart(TQObject *tqparent, const char *name, const TQStringList &);
+ AStylePart(TQObject *parent, const char *name, const TQStringList &);
~AStylePart();
TQString formatSource(const TQString text, AStyleWidget * widget, const TQMap<TQString, TQVariant>& options);
diff --git a/parts/astyle/astyle_widget.cpp b/parts/astyle/astyle_widget.cpp
index 49177eb2..0cb26abb 100644
--- a/parts/astyle/astyle_widget.cpp
+++ b/parts/astyle/astyle_widget.cpp
@@ -13,8 +13,8 @@
#include <kdevcore.h>
-AStyleWidget::AStyleWidget(AStylePart * part, bool global, TQWidget *tqparent, const char *name)
- : AStyleConfig(tqparent, name), m_part(part), isGlobalWidget(global)
+AStyleWidget::AStyleWidget(AStylePart * part, bool global, TQWidget *parent, const char *name)
+ : AStyleConfig(parent, name), m_part(part), isGlobalWidget(global)
{
// which style changed - disable the other pages.
connect(StyleGroup, TQT_SIGNAL(clicked(int)), this, TQT_SLOT(styleChanged()));
diff --git a/parts/astyle/astyle_widget.h b/parts/astyle/astyle_widget.h
index 2a6bf85e..d569a4d6 100644
--- a/parts/astyle/astyle_widget.h
+++ b/parts/astyle/astyle_widget.h
@@ -14,7 +14,7 @@ class AStyleWidget : public AStyleConfig
public:
- AStyleWidget( AStylePart * part, bool global, TQWidget *tqparent=0, const char *name=0 );
+ AStyleWidget( AStylePart * part, bool global, TQWidget *parent=0, const char *name=0 );
~AStyleWidget();
diff --git a/parts/bookmarks/bookmarks_part.cpp b/parts/bookmarks/bookmarks_part.cpp
index 5edfa5a3..965b359b 100644
--- a/parts/bookmarks/bookmarks_part.cpp
+++ b/parts/bookmarks/bookmarks_part.cpp
@@ -44,8 +44,8 @@ typedef KDevGenericFactory<BookmarksPart> BookmarksFactory;
static const KDevPluginInfo data("kdevbookmarks");
K_EXPORT_COMPONENT_FACTORY( libkdevbookmarks, BookmarksFactory( data ) )
-BookmarksPart::BookmarksPart(TQObject *tqparent, const char *name, const TQStringList& )
- : KDevPlugin(&data, tqparent, name ? name : "BookmarksPart" )
+BookmarksPart::BookmarksPart(TQObject *parent, const char *name, const TQStringList& )
+ : KDevPlugin(&data, parent, name ? name : "BookmarksPart" )
{
setInstance(BookmarksFactory::instance());
diff --git a/parts/bookmarks/bookmarks_part.h b/parts/bookmarks/bookmarks_part.h
index 850e1aef..fe3ae343 100644
--- a/parts/bookmarks/bookmarks_part.h
+++ b/parts/bookmarks/bookmarks_part.h
@@ -45,7 +45,7 @@ class BookmarksPart : public KDevPlugin
public:
- BookmarksPart(TQObject *tqparent, const char *name, const TQStringList &);
+ BookmarksPart(TQObject *parent, const char *name, const TQStringList &);
~BookmarksPart();
// reimplemented from KDevPlugin
diff --git a/parts/bookmarks/bookmarks_settings.cpp b/parts/bookmarks/bookmarks_settings.cpp
index 5fecbc4e..58369d92 100644
--- a/parts/bookmarks/bookmarks_settings.cpp
+++ b/parts/bookmarks/bookmarks_settings.cpp
@@ -19,8 +19,8 @@
#include "bookmarks_settings.h"
-BookmarkSettings::BookmarkSettings( BookmarksPart * part, TQWidget* tqparent, const char* name, WFlags fl )
-: BookmarkSettingsBase( tqparent, name, fl ), m_part( part )
+BookmarkSettings::BookmarkSettings( BookmarksPart * part, TQWidget* parent, const char* name, WFlags fl )
+: BookmarkSettingsBase( parent, name, fl ), m_part( part )
{
m_part->config()->readConfig();
diff --git a/parts/bookmarks/bookmarks_settings.h b/parts/bookmarks/bookmarks_settings.h
index aa517db1..edff1a4e 100644
--- a/parts/bookmarks/bookmarks_settings.h
+++ b/parts/bookmarks/bookmarks_settings.h
@@ -22,7 +22,7 @@ class BookmarkSettings : public BookmarkSettingsBase
TQ_OBJECT
public:
- BookmarkSettings( BookmarksPart * part, TQWidget* tqparent = 0, const char* name = 0, WFlags fl = 0 );
+ BookmarkSettings( BookmarksPart * part, TQWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
~BookmarkSettings();
public slots:
diff --git a/parts/bookmarks/bookmarks_widget.cpp b/parts/bookmarks/bookmarks_widget.cpp
index 99e8715d..63a61c1e 100644
--- a/parts/bookmarks/bookmarks_widget.cpp
+++ b/parts/bookmarks/bookmarks_widget.cpp
@@ -59,13 +59,13 @@ static const char* const bookmark_xpm[]={
class BookmarkItem : public TQListViewItem
{
public:
- BookmarkItem( TQListView * tqparent, KURL const & url )
- : TQListViewItem( tqparent, url.fileName() ),
+ BookmarkItem( TQListView * parent, KURL const & url )
+ : TQListViewItem( parent, url.fileName() ),
_url( url ), _line( -1 ), _isBookmark( false )
{}
- BookmarkItem( TQListViewItem * tqparent, KURL const & url, TQPair<int,TQString> mark )
- : TQListViewItem( tqparent, TQString::number( mark.first +1 ).rightJustify( 5 ) ),
+ BookmarkItem( TQListViewItem * parent, KURL const & url, TQPair<int,TQString> mark )
+ : TQListViewItem( parent, TQString::number( mark.first +1 ).rightJustify( 5 ) ),
_url( url ), _line( mark.first ), _isBookmark( true )
{
BookmarksWidget * lv = static_cast<BookmarksWidget*>( listView() );
diff --git a/parts/classview/classtoolwidget.cpp b/parts/classview/classtoolwidget.cpp
index 2817db82..5aefe6e5 100644
--- a/parts/classview/classtoolwidget.cpp
+++ b/parts/classview/classtoolwidget.cpp
@@ -20,8 +20,8 @@
#include "classstore.h"
-ClassToolWidget::ClassToolWidget(ClassViewPart *part, TQWidget *tqparent)
- : ClassTreeBase(part, tqparent, "class tool widget")
+ClassToolWidget::ClassToolWidget(ClassViewPart *part, TQWidget *parent)
+ : ClassTreeBase(part, parent, "class tool widget")
{}
diff --git a/parts/classview/classtoolwidget.h b/parts/classview/classtoolwidget.h
index 9ad4ef4a..41af01e0 100644
--- a/parts/classview/classtoolwidget.h
+++ b/parts/classview/classtoolwidget.h
@@ -23,7 +23,7 @@ class ClassToolWidget : public ClassTreeBase
TQ_OBJECT
public:
- ClassToolWidget(ClassViewPart *part, TQWidget *tqparent=0);
+ ClassToolWidget(ClassViewPart *part, TQWidget *parent=0);
~ClassToolWidget();
void insertClassAndClasses(ParsedClass *parsedClass, TQValueList<ParsedClass*> classList);
diff --git a/parts/classview/classtreebase.cpp b/parts/classview/classtreebase.cpp
index f4e21f2a..f9074510 100644
--- a/parts/classview/classtreebase.cpp
+++ b/parts/classview/classtreebase.cpp
@@ -272,9 +272,9 @@ void ClassTreeClassItem::setOpen(bool o)
ClassTreeItem::setOpen(o);
}
-ClassTreeMethodItem::ClassTreeMethodItem(ClassTreeItem *tqparent, ClassTreeItem *lastSibling,
+ClassTreeMethodItem::ClassTreeMethodItem(ClassTreeItem *parent, ClassTreeItem *lastSibling,
ParsedMethod *parsedMethod)
- : ClassTreeItem(tqparent, lastSibling, parsedMethod)
+ : ClassTreeItem(parent, lastSibling, parsedMethod)
{
TQString icon;
@@ -336,9 +336,9 @@ TQString ClassTreeMethodItem::text( int ) const
}
-ClassTreeAttrItem::ClassTreeAttrItem(ClassTreeItem *tqparent, ClassTreeItem *lastSibling,
+ClassTreeAttrItem::ClassTreeAttrItem(ClassTreeItem *parent, ClassTreeItem *lastSibling,
ParsedAttribute *parsedAttr)
- : ClassTreeItem(tqparent, lastSibling, parsedAttr)
+ : ClassTreeItem(parent, lastSibling, parsedAttr)
{
TQString icon;
@@ -367,9 +367,9 @@ TQString ClassTreeAttrItem::text( int ) const
return m_item->name();
}
-ClassTreeScriptItem::ClassTreeScriptItem(ClassTreeItem *tqparent, ClassTreeItem *lastSibling,
+ClassTreeScriptItem::ClassTreeScriptItem(ClassTreeItem *parent, ClassTreeItem *lastSibling,
ParsedScript *parsedScript)
- : ClassTreeItem(tqparent, lastSibling, parsedScript)
+ : ClassTreeItem(parent, lastSibling, parsedScript)
{
TQString icon;
@@ -422,8 +422,8 @@ void ClassTreeScriptItem::setOpen(bool o)
class ClassToolTip : public TQToolTip
{
public:
- ClassToolTip( TQWidget *tqparent )
- : TQToolTip(tqparent)
+ ClassToolTip( TQWidget *parent )
+ : TQToolTip(parent)
{}
protected:
@@ -447,8 +447,8 @@ void ClassToolTip::maybeTip(const TQPoint &p)
}
-ClassTreeBase::ClassTreeBase(ClassViewPart *part, TQWidget *tqparent, const char *name)
- : KListView(tqparent, name)
+ClassTreeBase::ClassTreeBase(ClassViewPart *part, TQWidget *parent, const char *name)
+ : KListView(parent, name)
{
setFocusPolicy(ClickFocus);
setRootIsDecorated(true);
@@ -488,7 +488,7 @@ ClassTreeBase::TreeState ClassTreeBase::treeState() const
TQListViewItem *item = it.current();
while (item) {
path.prepend(item->text(0));
- item = item->tqparent();
+ item = item->parent();
}
state.append(path);
}
@@ -507,7 +507,7 @@ void ClassTreeBase::setTreeState(TreeState state)
TQListViewItem *item = it.current();
while (item) {
path.prepend(item->text(0));
- item = item->tqparent();
+ item = item->parent();
}
if (*tsit == path) {
it.current()->setOpen(true);
diff --git a/parts/classview/classtreebase.h b/parts/classview/classtreebase.h
index 5274d9e8..0c9a7d0f 100644
--- a/parts/classview/classtreebase.h
+++ b/parts/classview/classtreebase.h
@@ -33,7 +33,7 @@ class ClassTreeBase : public KListView
TQ_OBJECT
public:
- ClassTreeBase( ClassViewPart *part, TQWidget *tqparent=0, const char *name=0 );
+ ClassTreeBase( ClassViewPart *part, TQWidget *parent=0, const char *name=0 );
~ClassTreeBase();
protected:
@@ -67,18 +67,18 @@ protected:
class ClassTreeItem : public TQListViewItem, public NotifyClient
{
public:
- ClassTreeItem( ClassTreeBase *tqparent, ClassTreeItem *lastSibling, ParsedItem *parsedItem )
- : TQListViewItem(tqparent, lastSibling), NotifyClient(), m_item(parsedItem)
+ ClassTreeItem( ClassTreeBase *parent, ClassTreeItem *lastSibling, ParsedItem *parsedItem )
+ : TQListViewItem(parent, lastSibling), NotifyClient(), m_item(parsedItem)
{
init();
}
- ClassTreeItem( ClassTreeItem *tqparent, ClassTreeItem *lastSibling, ParsedItem *parsedItem )
- : TQListViewItem(tqparent, lastSibling), NotifyClient(), m_item(parsedItem)
+ ClassTreeItem( ClassTreeItem *parent, ClassTreeItem *lastSibling, ParsedItem *parsedItem )
+ : TQListViewItem(parent, lastSibling), NotifyClient(), m_item(parsedItem)
{
init();
}
ClassTreeItem( const ClassTreeItem& other )
- : TQListViewItem( other.tqparent(), other.nextSibling()), NotifyClient()
+ : TQListViewItem( other.parent(), other.nextSibling()), NotifyClient()
{
m_item = other.m_item;
init();
@@ -123,14 +123,14 @@ protected:
class ClassTreeOrganizerItem : public ClassTreeItem
{
public:
- ClassTreeOrganizerItem( ClassTreeBase *tqparent, ClassTreeItem *lastSibling,
+ ClassTreeOrganizerItem( ClassTreeBase *parent, ClassTreeItem *lastSibling,
const TQString &text )
- : ClassTreeItem(tqparent, lastSibling, 0 )
+ : ClassTreeItem(parent, lastSibling, 0 )
, m_text( text )
{ init(); }
- ClassTreeOrganizerItem( ClassTreeItem *tqparent, ClassTreeItem *lastSibling,
+ ClassTreeOrganizerItem( ClassTreeItem *parent, ClassTreeItem *lastSibling,
const TQString &text )
- : ClassTreeItem(tqparent, lastSibling, 0 )
+ : ClassTreeItem(parent, lastSibling, 0 )
, m_text( text )
{ init(); }
~ClassTreeOrganizerItem()
@@ -148,15 +148,15 @@ private:
class ClassTreeScopeItem : public ClassTreeItem
{
public:
- ClassTreeScopeItem( ClassTreeBase *tqparent, ClassTreeItem *lastSibling,
+ ClassTreeScopeItem( ClassTreeBase *parent, ClassTreeItem *lastSibling,
ParsedScopeContainer *parsedScope )
- : ClassTreeItem(tqparent, lastSibling, parsedScope)
+ : ClassTreeItem(parent, lastSibling, parsedScope)
{
init();
}
- ClassTreeScopeItem( ClassTreeItem *tqparent, ClassTreeItem *lastSibling,
+ ClassTreeScopeItem( ClassTreeItem *parent, ClassTreeItem *lastSibling,
ParsedScopeContainer *parsedScope )
- : ClassTreeItem(tqparent, lastSibling, parsedScope)
+ : ClassTreeItem(parent, lastSibling, parsedScope)
{
init();
}
@@ -175,15 +175,15 @@ private:
class ClassTreeClassItem : public ClassTreeItem
{
public:
- ClassTreeClassItem( ClassTreeBase *tqparent, ClassTreeItem *lastSibling,
+ ClassTreeClassItem( ClassTreeBase *parent, ClassTreeItem *lastSibling,
ParsedClass *parsedClass, bool isStruct=false )
- : ClassTreeItem(tqparent, lastSibling, parsedClass), m_isStruct( isStruct )
+ : ClassTreeItem(parent, lastSibling, parsedClass), m_isStruct( isStruct )
{
init();
}
- ClassTreeClassItem( ClassTreeItem *tqparent, ClassTreeItem *lastSibling,
+ ClassTreeClassItem( ClassTreeItem *parent, ClassTreeItem *lastSibling,
ParsedClass *parsedClass, bool isStruct=false )
- : ClassTreeItem(tqparent, lastSibling, parsedClass), m_isStruct( isStruct )
+ : ClassTreeItem(parent, lastSibling, parsedClass), m_isStruct( isStruct )
{
init();
}
@@ -204,7 +204,7 @@ private:
class ClassTreeMethodItem : public ClassTreeItem
{
public:
- ClassTreeMethodItem( ClassTreeItem *tqparent, ClassTreeItem *lastSibling,
+ ClassTreeMethodItem( ClassTreeItem *parent, ClassTreeItem *lastSibling,
ParsedMethod *parsedMethod );
~ClassTreeMethodItem()
{
@@ -217,7 +217,7 @@ public:
class ClassTreeAttrItem : public ClassTreeItem
{
public:
- ClassTreeAttrItem( ClassTreeItem *tqparent, ClassTreeItem *lastSibling,
+ ClassTreeAttrItem( ClassTreeItem *parent, ClassTreeItem *lastSibling,
ParsedAttribute *parsedAttr );
~ClassTreeAttrItem()
{
@@ -229,7 +229,7 @@ public:
class ClassTreeScriptItem : public ClassTreeItem
{
public:
- ClassTreeScriptItem( ClassTreeItem *tqparent, ClassTreeItem *lastSibling,
+ ClassTreeScriptItem( ClassTreeItem *parent, ClassTreeItem *lastSibling,
ParsedScript *parsedScript );
~ClassTreeScriptItem()
{
diff --git a/parts/classview/classviewpart.cpp b/parts/classview/classviewpart.cpp
index 200ef9bb..b26ea30b 100644
--- a/parts/classview/classviewpart.cpp
+++ b/parts/classview/classviewpart.cpp
@@ -142,9 +142,9 @@ typedef KDevGenericFactory<ClassViewPart> ClassViewFactory;
static const KDevPluginInfo data("kdevclassview");
K_EXPORT_COMPONENT_FACTORY( libkdevclassview, ClassViewFactory( data ) )
-ClassViewPart::ClassViewPart(TQObject *tqparent, const char *name, const TQStringList& )
- :/// KDevPlugin( &data, tqparent, name ? name : "ClassViewPart" ),
- KDevCodeBrowserFrontend( &data, tqparent, name ? name : "ClassViewPart" ),
+ClassViewPart::ClassViewPart(TQObject *parent, const char *name, const TQStringList& )
+ :/// KDevPlugin( &data, parent, name ? name : "ClassViewPart" ),
+ KDevCodeBrowserFrontend( &data, parent, name ? name : "ClassViewPart" ),
m_activeDocument(0), m_activeView(0), m_activeSelection(0), m_activeEditor(0), m_activeViewCursor(0), m_hierarchyDlg(0)
{
setInstance(ClassViewFactory::instance());
diff --git a/parts/classview/classviewpart.h b/parts/classview/classviewpart.h
index 65044346..3bd2b259 100644
--- a/parts/classview/classviewpart.h
+++ b/parts/classview/classviewpart.h
@@ -57,7 +57,7 @@ class ClassViewPart : public Extensions::KDevCodeBrowserFrontend
Q_OBJECT
TQ_OBJECT
public:
- ClassViewPart(TQObject *tqparent, const char *name, const TQStringList &);
+ ClassViewPart(TQObject *parent, const char *name, const TQStringList &);
virtual ~ClassViewPart();
bool langHasFeature(KDevLanguageSupport::Features feature);
diff --git a/parts/classview/classviewwidget.cpp b/parts/classview/classviewwidget.cpp
index a06948ab..a7a2fea3 100644
--- a/parts/classview/classviewwidget.cpp
+++ b/parts/classview/classviewwidget.cpp
@@ -1277,7 +1277,7 @@ void ClassViewWidget::slotCreateAccessMethods( )
if (item == 0)
return;
- m_part->languageSupport()->createAccessMethods(static_cast<ClassModel*>(static_cast<ClassDomBrowserItem*>(item->tqparent())->dom()),static_cast<VariableModel*>(item->dom()));
+ m_part->languageSupport()->createAccessMethods(static_cast<ClassModel*>(static_cast<ClassDomBrowserItem*>(item->parent())->dom()),static_cast<VariableModel*>(item->dom()));
}
}
diff --git a/parts/classview/classviewwidget.h b/parts/classview/classviewwidget.h
index 29276a31..bef2e5a0 100644
--- a/parts/classview/classviewwidget.h
+++ b/parts/classview/classviewwidget.h
@@ -121,10 +121,10 @@ class ClassViewItem: public FancyListViewItem
{
private:
public:
- ClassViewItem( TQListView* tqparent, const TQString& text=TQString() )
- : FancyListViewItem( static_cast<ClassViewWidget*>( tqparent )->m_paintStyles, tqparent, text ) {}
- ClassViewItem( TQListViewItem* tqparent, const TQString& text=TQString() )
- : FancyListViewItem( static_cast<ClassViewWidget*>( tqparent->listView() )->m_paintStyles, tqparent, text ) {}
+ ClassViewItem( TQListView* parent, const TQString& text=TQString() )
+ : FancyListViewItem( static_cast<ClassViewWidget*>( parent )->m_paintStyles, parent, text ) {}
+ ClassViewItem( TQListViewItem* parent, const TQString& text=TQString() )
+ : FancyListViewItem( static_cast<ClassViewWidget*>( parent->listView() )->m_paintStyles, parent, text ) {}
virtual const CodeModelItem* model() const { return 0; }
@@ -153,10 +153,10 @@ public:
class FolderBrowserItem: public ClassViewItem
{
public:
- FolderBrowserItem( ClassViewWidget* widget, TQListView* tqparent, const TQString& name=TQString() )
- : ClassViewItem( tqparent, name ), m_widget(widget) {}
- FolderBrowserItem( ClassViewWidget* widget, TQListViewItem* tqparent, const TQString& name=TQString() )
- : ClassViewItem( tqparent, name ), m_widget(widget) {}
+ FolderBrowserItem( ClassViewWidget* widget, TQListView* parent, const TQString& name=TQString() )
+ : ClassViewItem( parent, name ), m_widget(widget) {}
+ FolderBrowserItem( ClassViewWidget* widget, TQListViewItem* parent, const TQString& name=TQString() )
+ : ClassViewItem( parent, name ), m_widget(widget) {}
virtual bool isFolder() const { return true; }
@@ -185,10 +185,10 @@ private:
class NamespaceDomBrowserItem: public ClassViewItem
{
public:
- NamespaceDomBrowserItem( TQListView* tqparent, NamespaceDom dom )
- : ClassViewItem( tqparent, dom->name() ), m_dom( dom ) {}
- NamespaceDomBrowserItem( TQListViewItem* tqparent, NamespaceDom dom )
- : ClassViewItem( tqparent, dom->name() ), m_dom( dom ) {}
+ NamespaceDomBrowserItem( TQListView* parent, NamespaceDom dom )
+ : ClassViewItem( parent, dom->name() ), m_dom( dom ) {}
+ NamespaceDomBrowserItem( TQListViewItem* parent, NamespaceDom dom )
+ : ClassViewItem( parent, dom->name() ), m_dom( dom ) {}
const CodeModelItem* model() const { return m_dom; }
@@ -219,10 +219,10 @@ private:
class ClassDomBrowserItem: public ClassViewItem
{
public:
- ClassDomBrowserItem( TQListView* tqparent, ClassDom dom )
- : ClassViewItem( tqparent, dom->name() ), m_dom( dom ) {}
- ClassDomBrowserItem( TQListViewItem* tqparent, ClassDom dom )
- : ClassViewItem( tqparent, dom->name() ), m_dom( dom ) {}
+ ClassDomBrowserItem( TQListView* parent, ClassDom dom )
+ : ClassViewItem( parent, dom->name() ), m_dom( dom ) {}
+ ClassDomBrowserItem( TQListViewItem* parent, ClassDom dom )
+ : ClassViewItem( parent, dom->name() ), m_dom( dom ) {}
const CodeModelItem* model() const { return m_dom; }
virtual bool isClass() const { return true; }
@@ -257,10 +257,10 @@ private:
class TypeAliasDomBrowserItem: public ClassViewItem
{
public:
- TypeAliasDomBrowserItem( TQListView* tqparent, TypeAliasDom dom )
- : ClassViewItem( tqparent, dom->name() ), m_dom( dom ) {}
- TypeAliasDomBrowserItem( TQListViewItem* tqparent, TypeAliasDom dom )
- : ClassViewItem( tqparent, dom->name() ), m_dom( dom ) {}
+ TypeAliasDomBrowserItem( TQListView* parent, TypeAliasDom dom )
+ : ClassViewItem( parent, dom->name() ), m_dom( dom ) {}
+ TypeAliasDomBrowserItem( TQListViewItem* parent, TypeAliasDom dom )
+ : ClassViewItem( parent, dom->name() ), m_dom( dom ) {}
const CodeModelItem* model() const { return m_dom; }
virtual bool isTypeAlias() const { return true; }
@@ -285,10 +285,10 @@ private:
class FunctionDomBrowserItem: public ClassViewItem
{
public:
- FunctionDomBrowserItem( TQListView* tqparent, FunctionDom dom )
- : ClassViewItem( tqparent, dom->name() ), m_dom( dom ) {}
- FunctionDomBrowserItem( TQListViewItem* tqparent, FunctionDom dom )
- : ClassViewItem( tqparent, dom->name() ), m_dom( dom ) {}
+ FunctionDomBrowserItem( TQListView* parent, FunctionDom dom )
+ : ClassViewItem( parent, dom->name() ), m_dom( dom ) {}
+ FunctionDomBrowserItem( TQListViewItem* parent, FunctionDom dom )
+ : ClassViewItem( parent, dom->name() ), m_dom( dom ) {}
const CodeModelItem* model() const { return m_dom; }
virtual bool isFunction() const { return true; }
@@ -316,10 +316,10 @@ private:
class VariableDomBrowserItem: public ClassViewItem
{
public:
- VariableDomBrowserItem( TQListView* tqparent, VariableDom dom )
- : ClassViewItem( tqparent, dom->name() ), m_dom( dom ) {}
- VariableDomBrowserItem( TQListViewItem* tqparent, VariableDom dom )
- : ClassViewItem( tqparent, dom->name() ), m_dom( dom ) {}
+ VariableDomBrowserItem( TQListView* parent, VariableDom dom )
+ : ClassViewItem( parent, dom->name() ), m_dom( dom ) {}
+ VariableDomBrowserItem( TQListViewItem* parent, VariableDom dom )
+ : ClassViewItem( parent, dom->name() ), m_dom( dom ) {}
const CodeModelItem* model() const { return m_dom; }
virtual bool isVariable() const { return true; }
diff --git a/parts/classview/digraphview.cpp b/parts/classview/digraphview.cpp
index 6374ce50..32463042 100644
--- a/parts/classview/digraphview.cpp
+++ b/parts/classview/digraphview.cpp
@@ -43,8 +43,8 @@ struct DigraphEdge
};
-DigraphView::DigraphView(TQWidget *tqparent, const char *name)
- : TQScrollView(tqparent, name, WRepaintNoErase|WStaticContents|WResizeNoErase)
+DigraphView::DigraphView(TQWidget *parent, const char *name)
+ : TQScrollView(parent, name, WRepaintNoErase|WStaticContents|WResizeNoErase)
{
viewport()->setBackgroundMode(PaletteBase);
diff --git a/parts/classview/digraphview.h b/parts/classview/digraphview.h
index 216e972e..b04f5306 100644
--- a/parts/classview/digraphview.h
+++ b/parts/classview/digraphview.h
@@ -27,7 +27,7 @@ class DigraphView : public TQScrollView
TQ_OBJECT
public:
- DigraphView(TQWidget *tqparent, const char *name);
+ DigraphView(TQWidget *parent, const char *name);
~DigraphView();
void addEdge(const TQString &name1, const TQString &name2);
diff --git a/parts/classview/navigator.cpp b/parts/classview/navigator.cpp
index 01bfe2d0..6c9f65f9 100644
--- a/parts/classview/navigator.cpp
+++ b/parts/classview/navigator.cpp
@@ -85,10 +85,10 @@ private:
public:
enum Type { Declaration, Definition };
- FunctionNavItem(TextPaintStyleStore& styles, ClassViewPart *part, TQListView *tqparent, TQString name, Type type)
- :FancyListViewItem(styles, tqparent, name, ""), m_part(part), m_type(type) {}
- FunctionNavItem(TextPaintStyleStore& styles, ClassViewPart *part, TQListViewItem *tqparent, TQString name, Type type)
- :FancyListViewItem(styles, tqparent, name, ""), m_part(part), m_type(type) {}
+ FunctionNavItem(TextPaintStyleStore& styles, ClassViewPart *part, TQListView *parent, TQString name, Type type)
+ :FancyListViewItem(styles, parent, name, ""), m_part(part), m_type(type) {}
+ FunctionNavItem(TextPaintStyleStore& styles, ClassViewPart *part, TQListViewItem *parent, TQString name, Type type)
+ :FancyListViewItem(styles, parent, name, ""), m_part(part), m_type(type) {}
~FunctionNavItem() {}
virtual void setup()
@@ -104,8 +104,8 @@ private:
};
-Navigator::Navigator(ClassViewPart *tqparent, const char *name)
- : TQObject(tqparent, name), m_part(tqparent)
+Navigator::Navigator(ClassViewPart *parent, const char *name)
+ : TQObject(parent, name), m_part(parent)
{
m_state = GoToDefinitions;
m_navNoDefinition = true;
diff --git a/parts/classview/navigator.h b/parts/classview/navigator.h
index 3338e4b1..d8482eb9 100644
--- a/parts/classview/navigator.h
+++ b/parts/classview/navigator.h
@@ -43,7 +43,7 @@ Q_OBJECT
public:
enum NavigationState { GoToDefinitions, GoToDeclarations };
- Navigator(ClassViewPart *tqparent, const char *name = 0);
+ Navigator(ClassViewPart *parent, const char *name = 0);
~Navigator();
void stopTimer();
diff --git a/parts/classview/viewcombos.cpp b/parts/classview/viewcombos.cpp
index bc1c4f3b..bb7bf01d 100644
--- a/parts/classview/viewcombos.cpp
+++ b/parts/classview/viewcombos.cpp
@@ -27,13 +27,13 @@
#include "viewcombos.h"
#include "classviewpart.h"
-NamespaceItem::NamespaceItem(ClassViewPart *part, TQListView *tqparent, TQString name, NamespaceDom dom)
- :TQListViewItem(tqparent, name), m_dom(dom), m_part(part)
+NamespaceItem::NamespaceItem(ClassViewPart *part, TQListView *parent, TQString name, NamespaceDom dom)
+ :TQListViewItem(parent, name), m_dom(dom), m_part(part)
{
}
-NamespaceItem::NamespaceItem(ClassViewPart *part, TQListViewItem *tqparent, TQString name, NamespaceDom dom)
- :TQListViewItem(tqparent, name), m_dom(dom), m_part(part)
+NamespaceItem::NamespaceItem(ClassViewPart *part, TQListViewItem *parent, TQString name, NamespaceDom dom)
+ :TQListViewItem(parent, name), m_dom(dom), m_part(part)
{
}
@@ -53,13 +53,13 @@ void NamespaceItem::setup()
}
-ClassItem::ClassItem(ClassViewPart *part, TQListView *tqparent, TQString name, ClassDom dom)
- :TQListViewItem(tqparent, name), m_dom(dom), m_part(part)
+ClassItem::ClassItem(ClassViewPart *part, TQListView *parent, TQString name, ClassDom dom)
+ :TQListViewItem(parent, name), m_dom(dom), m_part(part)
{
}
-ClassItem::ClassItem(ClassViewPart *part, TQListViewItem *tqparent, TQString name, ClassDom dom)
- :TQListViewItem(tqparent, name), m_dom(dom), m_part(part)
+ClassItem::ClassItem(ClassViewPart *part, TQListViewItem *parent, TQString name, ClassDom dom)
+ :TQListViewItem(parent, name), m_dom(dom), m_part(part)
{
}
@@ -79,13 +79,13 @@ void ClassItem::setup()
}
-FunctionItem::FunctionItem(ClassViewPart *part, TQListView *tqparent, TQString name, FunctionDom dom)
- :TQListViewItem(tqparent, name), m_dom(dom), m_part(part)
+FunctionItem::FunctionItem(ClassViewPart *part, TQListView *parent, TQString name, FunctionDom dom)
+ :TQListViewItem(parent, name), m_dom(dom), m_part(part)
{
}
-FunctionItem::FunctionItem(ClassViewPart *part, TQListViewItem *tqparent, TQString name, FunctionDom dom)
- :TQListViewItem(tqparent, name), m_dom(dom), m_part(part)
+FunctionItem::FunctionItem(ClassViewPart *part, TQListViewItem *parent, TQString name, FunctionDom dom)
+ :TQListViewItem(parent, name), m_dom(dom), m_part(part)
{
}
diff --git a/parts/classview/viewcombos.h b/parts/classview/viewcombos.h
index c3ea79a2..14a44eaf 100644
--- a/parts/classview/viewcombos.h
+++ b/parts/classview/viewcombos.h
@@ -34,8 +34,8 @@ const TQString EmptyFunctions = i18n("(Functions)");
class NamespaceItem: public TQListViewItem{
public:
- NamespaceItem(ClassViewPart *part, TQListView *tqparent, TQString name, NamespaceDom dom);
- NamespaceItem(ClassViewPart *part, TQListViewItem *tqparent, TQString name, NamespaceDom dom);
+ NamespaceItem(ClassViewPart *part, TQListView *parent, TQString name, NamespaceDom dom);
+ NamespaceItem(ClassViewPart *part, TQListViewItem *parent, TQString name, NamespaceDom dom);
~NamespaceItem();
NamespaceDom dom() const;
virtual void setup();
@@ -46,8 +46,8 @@ private:
class ClassItem: public TQListViewItem{
public:
- ClassItem(ClassViewPart *part, TQListView *tqparent, TQString name, ClassDom dom);
- ClassItem(ClassViewPart *part, TQListViewItem *tqparent, TQString name, ClassDom dom);
+ ClassItem(ClassViewPart *part, TQListView *parent, TQString name, ClassDom dom);
+ ClassItem(ClassViewPart *part, TQListViewItem *parent, TQString name, ClassDom dom);
~ClassItem();
ClassDom dom() const;
virtual void setup();
@@ -58,8 +58,8 @@ private:
class FunctionItem: public TQListViewItem{
public:
- FunctionItem(ClassViewPart *part, TQListView *tqparent, TQString name, FunctionDom dom);
- FunctionItem(ClassViewPart *part, TQListViewItem *tqparent, TQString name, FunctionDom dom);
+ FunctionItem(ClassViewPart *part, TQListView *parent, TQString name, FunctionDom dom);
+ FunctionItem(ClassViewPart *part, TQListViewItem *parent, TQString name, FunctionDom dom);
~FunctionItem();
FunctionDom dom() const;
virtual void setup();
diff --git a/parts/ctags2/ctags2_createtagfile.cpp b/parts/ctags2/ctags2_createtagfile.cpp
index ab9febc4..e066a136 100644
--- a/parts/ctags2/ctags2_createtagfile.cpp
+++ b/parts/ctags2/ctags2_createtagfile.cpp
@@ -16,8 +16,8 @@
#include "ctags2_part.h"
-CreateTagFile::CreateTagFile(TQWidget* tqparent, const char* name, bool modal, WFlags fl)
-: CTags2CreateTagFileBase( tqparent, name, modal, fl )
+CreateTagFile::CreateTagFile(TQWidget* parent, const char* name, bool modal, WFlags fl)
+: CTags2CreateTagFileBase( parent, name, modal, fl )
{
dirToTag->setMode( KFile::Directory | KFile::ExistingOnly | KFile::LocalOnly);
newTagFilePath->setMode( KFile::File | KFile::LocalOnly );
diff --git a/parts/ctags2/ctags2_createtagfile.h b/parts/ctags2/ctags2_createtagfile.h
index 61cc6448..4d581b9a 100644
--- a/parts/ctags2/ctags2_createtagfile.h
+++ b/parts/ctags2/ctags2_createtagfile.h
@@ -22,7 +22,7 @@ Q_OBJECT
TQ_OBJECT
public:
- CreateTagFile(TQWidget* tqparent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 );
+ CreateTagFile(TQWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 );
~CreateTagFile();
TQString name();
TQString tagsfilePath();
diff --git a/parts/ctags2/ctags2_part.cpp b/parts/ctags2/ctags2_part.cpp
index 93270a78..2ea9c643 100644
--- a/parts/ctags2/ctags2_part.cpp
+++ b/parts/ctags2/ctags2_part.cpp
@@ -58,8 +58,8 @@ typedef KDevGenericFactory<CTags2Part> CTags2Factory;
static const KDevPluginInfo data("kdevctags2");
K_EXPORT_COMPONENT_FACTORY( libkdevctags2, CTags2Factory( data ) )
-CTags2Part::CTags2Part(TQObject *tqparent, const char *name, const TQStringList& )
- : KDevPlugin(&data, tqparent, name ? name : "ctags2Part" )
+CTags2Part::CTags2Part(TQObject *parent, const char *name, const TQStringList& )
+ : KDevPlugin(&data, parent, name ? name : "ctags2Part" )
{
setInstance(CTags2Factory::instance());
setXMLFile("kdevpart_ctags2.rc");
diff --git a/parts/ctags2/ctags2_part.h b/parts/ctags2/ctags2_part.h
index 648c6ded..0ad8197b 100644
--- a/parts/ctags2/ctags2_part.h
+++ b/parts/ctags2/ctags2_part.h
@@ -33,7 +33,7 @@ class CTags2Part : public KDevPlugin
public:
- CTags2Part(TQObject *tqparent, const char *name, const TQStringList &);
+ CTags2Part(TQObject *parent, const char *name, const TQStringList &);
~CTags2Part();
int getFileLineFromPattern( KURL const & url, TQString const & pattern);
diff --git a/parts/ctags2/ctags2_selecttagfile.cpp b/parts/ctags2/ctags2_selecttagfile.cpp
index 38227d1d..c1a8d617 100644
--- a/parts/ctags2/ctags2_selecttagfile.cpp
+++ b/parts/ctags2/ctags2_selecttagfile.cpp
@@ -15,8 +15,8 @@
#include "ctags2_selecttagfile.h"
-SelectTagFile::SelectTagFile( TQWidget* tqparent, const char* name, bool modal, WFlags fl)
-: SelectTagFileBase( tqparent, name, modal, fl )
+SelectTagFile::SelectTagFile( TQWidget* parent, const char* name, bool modal, WFlags fl)
+: SelectTagFileBase( parent, name, modal, fl )
{
tagFile->setMode( KFile::File | KFile::ExistingOnly | KFile::LocalOnly );
okButton->setEnabled( false );
diff --git a/parts/ctags2/ctags2_selecttagfile.h b/parts/ctags2/ctags2_selecttagfile.h
index a069743e..5da1420b 100644
--- a/parts/ctags2/ctags2_selecttagfile.h
+++ b/parts/ctags2/ctags2_selecttagfile.h
@@ -19,7 +19,7 @@ class SelectTagFile : public SelectTagFileBase {
TQ_OBJECT
public:
- SelectTagFile( TQWidget* tqparent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 );
+ SelectTagFile( TQWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 );
~SelectTagFile();
TQString name();
TQString tagsfilePath();
diff --git a/parts/ctags2/ctags2_settingswidget.cpp b/parts/ctags2/ctags2_settingswidget.cpp
index da50a317..d7458a85 100644
--- a/parts/ctags2/ctags2_settingswidget.cpp
+++ b/parts/ctags2/ctags2_settingswidget.cpp
@@ -30,8 +30,8 @@
#include "ctags2_createtagfile.h"
-CTags2SettingsWidget::CTags2SettingsWidget( CTags2Part * part, TQWidget* tqparent, const char* name, WFlags fl )
- : CTags2SettingsWidgetBase( tqparent, name, fl ), m_part( part )
+CTags2SettingsWidget::CTags2SettingsWidget( CTags2Part * part, TQWidget* parent, const char* name, WFlags fl )
+ : CTags2SettingsWidgetBase( parent, name, fl ), m_part( part )
{
binaryPath->completionObject()->setMode( KURLCompletion::FileCompletion );
binaryPath->setMode( KFile::File | KFile::LocalOnly );
diff --git a/parts/ctags2/ctags2_settingswidget.h b/parts/ctags2/ctags2_settingswidget.h
index 1ee3ede0..78fb9edd 100644
--- a/parts/ctags2/ctags2_settingswidget.h
+++ b/parts/ctags2/ctags2_settingswidget.h
@@ -21,8 +21,8 @@ class CTags2Part;
class TagsItem : public TQCheckListItem
{
public:
- TagsItem( TQListView * tqparent, TQString name, TQString tagsfilePath, bool active )
- : TQCheckListItem( tqparent, name, TQCheckListItem::CheckBox ), m_name( name ), m_tagsfilePath( tagsfilePath )
+ TagsItem( TQListView * parent, TQString name, TQString tagsfilePath, bool active )
+ : TQCheckListItem( parent, name, TQCheckListItem::CheckBox ), m_name( name ), m_tagsfilePath( tagsfilePath )
{
setOn( active );
setText( 1, tagsfilePath );
@@ -43,7 +43,7 @@ class CTags2SettingsWidget : public CTags2SettingsWidgetBase
TQ_OBJECT
public:
- CTags2SettingsWidget( CTags2Part * part, TQWidget* tqparent = 0, const char* name = 0, WFlags fl = 0 );
+ CTags2SettingsWidget( CTags2Part * part, TQWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
~CTags2SettingsWidget();
signals:
diff --git a/parts/diff/diffdlg.cpp b/parts/diff/diffdlg.cpp
index aba0f07f..f461182e 100644
--- a/parts/diff/diffdlg.cpp
+++ b/parts/diff/diffdlg.cpp
@@ -16,8 +16,8 @@
#include "diffdlg.h"
#include "diffwidget.h"
-DiffDlg::DiffDlg( TQWidget *tqparent, const char *name ):
- KDialogBase( tqparent, name, true, i18n("Difference Viewer"), Ok )
+DiffDlg::DiffDlg( TQWidget *parent, const char *name ):
+ KDialogBase( parent, name, true, i18n("Difference Viewer"), Ok )
{
diffWidget = new DiffWidget( this, "Main Diff Widget" );
setMainWidget( diffWidget );
diff --git a/parts/diff/diffdlg.h b/parts/diff/diffdlg.h
index 574ffaef..15f997f8 100644
--- a/parts/diff/diffdlg.h
+++ b/parts/diff/diffdlg.h
@@ -23,7 +23,7 @@ class DiffDlg : public KDialogBase
TQ_OBJECT
public:
- DiffDlg( TQWidget *tqparent = 0, const char *name = 0 );
+ DiffDlg( TQWidget *parent = 0, const char *name = 0 );
virtual ~DiffDlg();
public slots:
diff --git a/parts/diff/diffpart.cpp b/parts/diff/diffpart.cpp
index 0943a092..932ea86e 100644
--- a/parts/diff/diffpart.cpp
+++ b/parts/diff/diffpart.cpp
@@ -41,8 +41,8 @@ static const KDevPluginInfo data("kdevdiff");
typedef KDevGenericFactory<DiffPart> DiffFactory;
K_EXPORT_COMPONENT_FACTORY( libkdevdiff, DiffFactory( data ) )
-DiffPart::DiffPart(TQObject *tqparent, const char *name, const TQStringList &)
- : KDevDiffFrontend(&data, tqparent, name ? name : "DiffPart"), proc(0)
+DiffPart::DiffPart(TQObject *parent, const char *name, const TQStringList &)
+ : KDevDiffFrontend(&data, parent, name ? name : "DiffPart"), proc(0)
{
setInstance(DiffFactory::instance());
setXMLFile("kdevdiff.rc");
diff --git a/parts/diff/diffpart.h b/parts/diff/diffpart.h
index 6cbd8b28..be238399 100644
--- a/parts/diff/diffpart.h
+++ b/parts/diff/diffpart.h
@@ -30,7 +30,7 @@ class DiffPart : public KDevDiffFrontend
TQ_OBJECT
public:
- DiffPart( TQObject *tqparent, const char *name, const TQStringList & );
+ DiffPart( TQObject *parent, const char *name, const TQStringList & );
virtual ~DiffPart();
void openURL( const KURL& url );
diff --git a/parts/diff/diffwidget.cpp b/parts/diff/diffwidget.cpp
index 21e7709f..4ed1f807 100644
--- a/parts/diff/diffwidget.cpp
+++ b/parts/diff/diffwidget.cpp
@@ -42,7 +42,7 @@ static const int POPUP_BASE = 130977;
TQStringList KDiffTextEdit::extParts;
TQStringList KDiffTextEdit::extPartsTranslated;
-KDiffTextEdit::KDiffTextEdit( TQWidget* tqparent, const char* name ): TQTextEdit( tqparent, name )
+KDiffTextEdit::KDiffTextEdit( TQWidget* parent, const char* name ): TQTextEdit( parent, name )
{
KConfig* config = kapp->config();
config->setGroup( "Diff" );
@@ -90,7 +90,7 @@ TQPopupMenu* KDiffTextEdit::createPopupMenu( const TQPoint& p )
popup->insertSeparator( 3 );
popup->insertSeparator();
- popup->insertItem( i18n("Hide view"), tqparent(), TQT_SLOT(hideView()) );
+ popup->insertItem( i18n("Hide view"), parent(), TQT_SLOT(hideView()) );
return popup;
}
@@ -180,8 +180,8 @@ void KDiffTextEdit::popupActivated( int id )
emit externalPartRequested( extParts[ id ] );
}
-DiffWidget::DiffWidget( DiffPart * part, TQWidget *tqparent, const char *name, WFlags f ):
- TQWidget( tqparent, name, f ), m_part( part ), tempFile( 0 )
+DiffWidget::DiffWidget( DiffPart * part, TQWidget *parent, const char *name, WFlags f ):
+ TQWidget( parent, name, f ), m_part( part ), tempFile( 0 )
{
job = 0;
extPart = 0;
diff --git a/parts/diff/diffwidget.h b/parts/diff/diffwidget.h
index 638073d0..abab5a8f 100644
--- a/parts/diff/diffwidget.h
+++ b/parts/diff/diffwidget.h
@@ -35,7 +35,7 @@ class KDiffTextEdit: public TQTextEdit
Q_OBJECT
TQ_OBJECT
public:
- KDiffTextEdit( TQWidget* tqparent = 0, const char* name = 0 );
+ KDiffTextEdit( TQWidget* parent = 0, const char* name = 0 );
virtual ~KDiffTextEdit();
void applySyntaxHighlight();
void clearSyntaxHighlight();
@@ -65,7 +65,7 @@ class DiffWidget : public TQWidget
TQ_OBJECT
public:
- DiffWidget( DiffPart * part, TQWidget *tqparent = 0, const char *name = 0, WFlags f = 0 );
+ DiffWidget( DiffPart * part, TQWidget *parent = 0, const char *name = 0, WFlags f = 0 );
virtual ~DiffWidget();
public slots:
diff --git a/parts/distpart/distpart_part.cpp b/parts/distpart/distpart_part.cpp
index 33b74c80..77e69705 100644
--- a/parts/distpart/distpart_part.cpp
+++ b/parts/distpart/distpart_part.cpp
@@ -37,8 +37,8 @@ typedef KDevGenericFactory<DistpartPart> DistpartFactory;
static const KDevPluginInfo data("kdevdistpart");
K_EXPORT_COMPONENT_FACTORY( libkdevdistpart, DistpartFactory( data ) )
-DistpartPart::DistpartPart(TQObject *tqparent, const char *name, const TQStringList &)
- : KDevPlugin(&data, tqparent, name ? name : "DistpartPart") {
+DistpartPart::DistpartPart(TQObject *parent, const char *name, const TQStringList &)
+ : KDevPlugin(&data, parent, name ? name : "DistpartPart") {
kdDebug(9007) << "DistpartPart::DistpartPart()" << endl;
setInstance(DistpartFactory::instance());
diff --git a/parts/distpart/distpart_part.h b/parts/distpart/distpart_part.h
index 870ba792..161be198 100644
--- a/parts/distpart/distpart_part.h
+++ b/parts/distpart/distpart_part.h
@@ -38,7 +38,7 @@ class DistpartPart : public KDevPlugin {
public:
- DistpartPart(TQObject *tqparent, const char *name, const TQStringList &);
+ DistpartPart(TQObject *parent, const char *name, const TQStringList &);
~DistpartPart();
public slots:
diff --git a/parts/distpart/distpart_widget.cpp b/parts/distpart/distpart_widget.cpp
index 60316c25..828bbb89 100644
--- a/parts/distpart/distpart_widget.cpp
+++ b/parts/distpart/distpart_widget.cpp
@@ -51,8 +51,8 @@
#include "specsupport.h"
#include "lsmsupport.h"
-DistpartDialog::DistpartDialog(DistpartPart *part, TQWidget *tqparent)
- :distpart_ui(tqparent, "dist_widget"), m_part(part) {
+DistpartDialog::DistpartDialog(DistpartPart *part, TQWidget *parent)
+ :distpart_ui(parent, "dist_widget"), m_part(part) {
m_spec = new SpecSupport(m_part);
connect( customProjectCheckBox, TQT_SIGNAL(toggled(bool) ),
diff --git a/parts/distpart/distpart_widget.h b/parts/distpart/distpart_widget.h
index 36f70582..017a3049 100644
--- a/parts/distpart/distpart_widget.h
+++ b/parts/distpart/distpart_widget.h
@@ -50,7 +50,7 @@ class DistpartDialog : public distpart_ui {
public:
- DistpartDialog(DistpartPart *part, TQWidget *tqparent);
+ DistpartDialog(DistpartPart *part, TQWidget *parent);
~DistpartDialog();
signals:
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);
diff --git a/parts/doxygen/doxygenconfigwidget.cpp b/parts/doxygen/doxygenconfigwidget.cpp
index f1f28473..4bf4a217 100644
--- a/parts/doxygen/doxygenconfigwidget.cpp
+++ b/parts/doxygen/doxygenconfigwidget.cpp
@@ -27,8 +27,8 @@
#include "messages.h"
-DoxygenConfigWidget::DoxygenConfigWidget(const TQString &fileName, TQWidget *tqparent, const char *name)
- : TQTabWidget(tqparent, name)
+DoxygenConfigWidget::DoxygenConfigWidget(const TQString &fileName, TQWidget *parent, const char *name)
+ : TQTabWidget(parent, name)
{
m_hasChanged = false;
m_dependencies = new TQDict< TQPtrList<IInput> >(257);
@@ -184,12 +184,12 @@ void DoxygenConfigWidget::addDependency(TQDict<TQObject> *switches,
if (dep.isEmpty())
return;
- IInput *tqparent = m_inputWidgets->find(dep);
- Q_ASSERT(tqparent!=0);
+ IInput *parent = m_inputWidgets->find(dep);
+ Q_ASSERT(parent!=0);
IInput *child = m_inputWidgets->find(name);
Q_ASSERT(child!=0);
if (!switches->find(dep))
- switches->insert(dep, tqparent->qobject());
+ switches->insert(dep, parent->qobject());
TQPtrList<IInput> *list = m_dependencies->find(dep);
if (!list) {
list = new TQPtrList<IInput>;
diff --git a/parts/doxygen/doxygenconfigwidget.h b/parts/doxygen/doxygenconfigwidget.h
index 54584f07..d2b15a6d 100644
--- a/parts/doxygen/doxygenconfigwidget.h
+++ b/parts/doxygen/doxygenconfigwidget.h
@@ -27,7 +27,7 @@ class DoxygenConfigWidget : public TQTabWidget
TQ_OBJECT
public:
- DoxygenConfigWidget( const TQString &fileName, TQWidget *tqparent=0, const char *name=0 );
+ DoxygenConfigWidget( const TQString &fileName, TQWidget *parent=0, const char *name=0 );
~DoxygenConfigWidget();
public slots:
diff --git a/parts/doxygen/doxygenpart.cpp b/parts/doxygen/doxygenpart.cpp
index 29265ceb..ec01df98 100644
--- a/parts/doxygen/doxygenpart.cpp
+++ b/parts/doxygen/doxygenpart.cpp
@@ -51,8 +51,8 @@ typedef KDevGenericFactory<DoxygenPart> DoxygenFactory;
static const KDevPluginInfo data("kdevdoxygen");
K_EXPORT_COMPONENT_FACTORY( libkdevdoxygen, DoxygenFactory( data ) )
-DoxygenPart::DoxygenPart(TQObject *tqparent, const char *name, const TQStringList &)
- : KDevPlugin(&data, tqparent, name ? name : "DoxygenPart"), m_activeEditor(0), m_cursor(0)
+DoxygenPart::DoxygenPart(TQObject *parent, const char *name, const TQStringList &)
+ : KDevPlugin(&data, parent, name ? name : "DoxygenPart"), m_activeEditor(0), m_cursor(0)
{
setInstance(DoxygenFactory::instance());
setXMLFile("kdevdoxygen.rc");
diff --git a/parts/doxygen/doxygenpart.h b/parts/doxygen/doxygenpart.h
index a77545c9..307ead18 100644
--- a/parts/doxygen/doxygenpart.h
+++ b/parts/doxygen/doxygenpart.h
@@ -43,7 +43,7 @@ class DoxygenPart : public KDevPlugin
TQ_OBJECT
public:
- DoxygenPart( TQObject *tqparent, const char *name, const TQStringList & );
+ DoxygenPart( TQObject *parent, const char *name, const TQStringList & );
~DoxygenPart();
private slots:
diff --git a/parts/doxygen/input.cpp b/parts/doxygen/input.cpp
index de1577f1..2904ca0a 100644
--- a/parts/doxygen/input.cpp
+++ b/parts/doxygen/input.cpp
@@ -110,8 +110,8 @@ static const char* const update_xpm_data[] =
const char **update_xpm = (const char **)update_xpm_data;
-InputBool::InputBool(const TQCString &k, const TQString &text, TQWidget * tqparent, bool &flag)
- : TQWidget(tqparent), state(flag), key(k)
+InputBool::InputBool(const TQCString &k, const TQString &text, TQWidget * parent, bool &flag)
+ : TQWidget(parent), state(flag), key(k)
{
TQHBoxLayout *tqlayout = new TQHBoxLayout(this);
cb = new TQCheckBox(text,this);
@@ -151,8 +151,8 @@ void InputBool::setEnabled(bool b)
}
-InputInt::InputInt(const TQString &label, TQWidget *tqparent, int &val, int minVal, int maxVal)
- : TQWidget(tqparent), m_val(val), m_minVal(minVal), m_maxVal(maxVal)
+InputInt::InputInt(const TQString &label, TQWidget *parent, int &val, int minVal, int maxVal)
+ : TQWidget(parent), m_val(val), m_minVal(minVal), m_maxVal(maxVal)
{
TQHBoxLayout *tqlayout = new TQHBoxLayout(this, 5);
@@ -197,8 +197,8 @@ void InputInt::setEnabled(bool state)
InputString::InputString(const TQString & label,
- TQWidget *tqparent, TQCString &s, StringMode m)
- : TQWidget(tqparent), str(s), sm(m), m_values(0), m_index(0)
+ TQWidget *parent, TQCString &s, StringMode m)
+ : TQWidget(parent), str(s), sm(m), m_values(0), m_index(0)
{
le = 0; br = 0; com = 0;
@@ -324,8 +324,8 @@ void InputString::browse()
InputStrList::InputStrList(const TQString & label,
- TQWidget *tqparent, TQStrList &sl, ListMode lm)
- : TQWidget(tqparent), strList(sl)
+ TQWidget *parent, TQStrList &sl, ListMode lm)
+ : TQWidget(parent), strList(sl)
{
TQGridLayout *tqlayout = new TQGridLayout(this, 2, 2, 5);
diff --git a/parts/doxygen/input.h b/parts/doxygen/input.h
index ac73ce20..2ce85a3d 100644
--- a/parts/doxygen/input.h
+++ b/parts/doxygen/input.h
@@ -39,7 +39,7 @@ class InputBool : public TQWidget, public IInput
TQ_OBJECT
public:
- InputBool(const TQCString &key, const TQString &text, TQWidget *tqparent, bool &flag);
+ InputBool(const TQCString &key, const TQString &text, TQWidget *parent, bool &flag);
~InputBool();
void init();
@@ -67,7 +67,7 @@ class InputInt : public TQWidget, public IInput
TQ_OBJECT
public:
- InputInt(const TQString &text, TQWidget *tqparent,
+ InputInt(const TQString &text, TQWidget *parent,
int &val, int minVal, int maxVal);
~InputInt();
@@ -102,7 +102,7 @@ public:
StringFixed=3
};
- InputString(const TQString &text, TQWidget *tqparent,
+ InputString(const TQString &text, TQWidget *parent,
TQCString &s, StringMode m=StringFree);
~InputString();
@@ -143,7 +143,7 @@ public:
ListFileDir=ListFile|ListDir
};
- InputStrList(const TQString &text, TQWidget *tqparent,
+ InputStrList(const TQString &text, TQWidget *parent,
TQStrList &sl, ListMode v=ListString);
~InputStrList();
diff --git a/parts/filecreate/addglobaldlg.cpp b/parts/filecreate/addglobaldlg.cpp
index ca31669f..93914a2f 100644
--- a/parts/filecreate/addglobaldlg.cpp
+++ b/parts/filecreate/addglobaldlg.cpp
@@ -21,14 +21,14 @@
#include <klocale.h>
/*
- * Constructs a AddGlobalDlg as a child of 'tqparent', with the
+ * Constructs a AddGlobalDlg as a child of 'parent', with the
* name 'name' and widget flags set to 'f'.
*
* The dialog will by default be modeless, unless you set 'modal' to
* TRUE to construct a modal dialog.
*/
-AddGlobalDlg::AddGlobalDlg( TQWidget* tqparent, const char* name, bool modal, WFlags fl )
- : TQDialog( tqparent, name, modal, fl )
+AddGlobalDlg::AddGlobalDlg( TQWidget* parent, const char* name, bool modal, WFlags fl )
+ : TQDialog( parent, name, modal, fl )
{
if ( !name )
diff --git a/parts/filecreate/addglobaldlg.h b/parts/filecreate/addglobaldlg.h
index 2e7435dc..32605ace 100644
--- a/parts/filecreate/addglobaldlg.h
+++ b/parts/filecreate/addglobaldlg.h
@@ -26,7 +26,7 @@ class AddGlobalDlg : public TQDialog
TQ_OBJECT
public:
- AddGlobalDlg( TQWidget* tqparent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 );
+ AddGlobalDlg( TQWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 );
~AddGlobalDlg();
TQPushButton* buttonHelp;
diff --git a/parts/filecreate/fcconfigwidget.cpp b/parts/filecreate/fcconfigwidget.cpp
index 201fb65f..d670c8e3 100644
--- a/parts/filecreate/fcconfigwidget.cpp
+++ b/parts/filecreate/fcconfigwidget.cpp
@@ -39,8 +39,8 @@
#include "kdevpartcontroller.h"
-FCConfigWidget::FCConfigWidget(FileCreatePart * part, bool global, TQWidget *tqparent, const char *name):
- FCConfigWidgetBase(tqparent, name), m_part(part), m_global(global)
+FCConfigWidget::FCConfigWidget(FileCreatePart * part, bool global, TQWidget *parent, const char *name):
+ FCConfigWidgetBase(parent, name), m_part(part), m_global(global)
{
fc_view->setSorting(-1, FALSE);
fcglobal_view->setSorting(-1, FALSE);
@@ -217,7 +217,7 @@ void FCConfigWidget::saveProjectConfig()
TQListViewItemIterator it( fcglobal_view );
for( ; it.current( ); ++it ){
- if (!it.current()->tqparent())
+ if (!it.current()->parent())
{
TQCheckListItem *chit = dynamic_cast<TQCheckListItem*>(it.current());
if ( !chit ) continue;
@@ -271,7 +271,7 @@ void FCConfigWidget::saveConfiguration(TQDomDocument &dom, TQDomElement &element
{
TQListViewItemIterator it( fc_view );
for( ; it.current( ); ++it ){
- if (!it.current()->tqparent())
+ if (!it.current()->parent())
{
TQDomElement type = dom.createElement( "type" );
type.setAttribute( "ext", it.current()->text(0) );
@@ -434,15 +434,15 @@ void FCConfigWidget::copyToProject_button_clicked()
{
TQListViewItem *it_copy_parent = 0;
TQString destParent;
- if (it->tqparent())
+ if (it->parent())
{
- it_copy_parent = new TQListViewItem(fc_view, it->tqparent()->text(0),
- it->tqparent()->text(1),
- it->tqparent()->text(2),
- it->tqparent()->text(3),
- locate("data", "kdevfilecreate/file-templates/"+ it->tqparent()->text(0)));
- destParent += it->tqparent()->text(0) + "-";
- TQCheckListItem *chk = dynamic_cast<TQCheckListItem*>(it->tqparent());
+ it_copy_parent = new TQListViewItem(fc_view, it->parent()->text(0),
+ it->parent()->text(1),
+ it->parent()->text(2),
+ it->parent()->text(3),
+ locate("data", "kdevfilecreate/file-templates/"+ it->parent()->text(0)));
+ destParent += it->parent()->text(0) + "-";
+ TQCheckListItem *chk = dynamic_cast<TQCheckListItem*>(it->parent());
if (chk)
chk->setOn(false);
}
@@ -497,7 +497,7 @@ void FCConfigWidget::newtype_button_clicked()
void FCConfigWidget::newsubtype_button_clicked()
{
- if (fc_view->currentItem() && (!fc_view->currentItem()->tqparent()))
+ if (fc_view->currentItem() && (!fc_view->currentItem()->parent()))
{
FCTypeEdit *te = new FCTypeEdit(this);
if (te->exec() == TQDialog::Accepted )
@@ -541,10 +541,10 @@ void FCConfigWidget::moveup_button_clicked()
return;
TQListViewItemIterator it( i );
- TQListViewItem *tqparent = i->tqparent();
+ TQListViewItem *parent = i->parent();
--it;
while ( it.current() ) {
- if ( it.current()->tqparent() == tqparent )
+ if ( it.current()->parent() == parent )
break;
--it;
}
@@ -564,10 +564,10 @@ void FCConfigWidget::movedown_button_clicked()
return;
TQListViewItemIterator it( i );
- TQListViewItem *tqparent = i->tqparent();
+ TQListViewItem *parent = i->parent();
it++;
while ( it.current() ) {
- if ( it.current()->tqparent() == tqparent )
+ if ( it.current()->parent() == parent )
break;
it++;
}
@@ -662,8 +662,8 @@ void FCConfigWidget::edit_type_content_button_clicked( )
return;
TQListViewItem *it = fc_view->currentItem();
TQString type_name = it->text(0);
- if (it->tqparent())
- type_name.prepend(it->tqparent()->text(0) + "-");
+ if (it->parent())
+ type_name.prepend(it->parent()->text(0) + "-");
if (!m_global)
{
TQString typePath = m_part->project()->projectDirectory() + "/templates/" + type_name;
diff --git a/parts/filecreate/fcconfigwidget.h b/parts/filecreate/fcconfigwidget.h
index 19087ba6..24e97932 100644
--- a/parts/filecreate/fcconfigwidget.h
+++ b/parts/filecreate/fcconfigwidget.h
@@ -31,7 +31,7 @@ class FCConfigWidget : public FCConfigWidgetBase
Q_OBJECT
TQ_OBJECT
public:
- FCConfigWidget(FileCreatePart * part, bool global, TQWidget *tqparent, const char *name);
+ FCConfigWidget(FileCreatePart * part, bool global, TQWidget *parent, const char *name);
~FCConfigWidget();
diff --git a/parts/filecreate/fctemplateedit.cpp b/parts/filecreate/fctemplateedit.cpp
index 1fcc6e02..b019ddb9 100644
--- a/parts/filecreate/fctemplateedit.cpp
+++ b/parts/filecreate/fctemplateedit.cpp
@@ -11,8 +11,8 @@
#include "fctemplateedit.h"
#include <tqpushbutton.h>
-FCTemplateEdit::FCTemplateEdit(TQWidget *tqparent, const char *name):
- FCTemplateEditBase(tqparent, name)
+FCTemplateEdit::FCTemplateEdit(TQWidget *parent, const char *name):
+ FCTemplateEditBase(parent, name)
{
connect( templatename_edit, TQT_SIGNAL(textChanged ( const TQString & )),
this, TQT_SLOT( slotTemplateNameChanged( )));
diff --git a/parts/filecreate/fctemplateedit.h b/parts/filecreate/fctemplateedit.h
index a5a0c2f6..a1fe6e2e 100644
--- a/parts/filecreate/fctemplateedit.h
+++ b/parts/filecreate/fctemplateedit.h
@@ -19,7 +19,7 @@ class FCTemplateEdit : public FCTemplateEditBase
Q_OBJECT
TQ_OBJECT
public:
- FCTemplateEdit(TQWidget *tqparent=0, const char *name=0);
+ FCTemplateEdit(TQWidget *parent=0, const char *name=0);
~FCTemplateEdit();
diff --git a/parts/filecreate/fctypeedit.cpp b/parts/filecreate/fctypeedit.cpp
index dfb29ef6..5ee4eb0d 100644
--- a/parts/filecreate/fctypeedit.cpp
+++ b/parts/filecreate/fctypeedit.cpp
@@ -13,8 +13,8 @@
#include "fctypeedit.h"
-FCTypeEdit::FCTypeEdit(TQWidget *tqparent, char *name)
- : FCTypeEditBase(tqparent, name)
+FCTypeEdit::FCTypeEdit(TQWidget *parent, char *name)
+ : FCTypeEditBase(parent, name)
{
connect( typeext_edit, TQT_SIGNAL( textChanged ( const TQString & )),this, TQT_SLOT( slotTypeEditTextChanged()));
connect( typename_edit, TQT_SIGNAL( textChanged ( const TQString & )),this, TQT_SLOT( slotTypeEditTextChanged( )));
diff --git a/parts/filecreate/fctypeedit.h b/parts/filecreate/fctypeedit.h
index 122b0b57..40bee906 100644
--- a/parts/filecreate/fctypeedit.h
+++ b/parts/filecreate/fctypeedit.h
@@ -19,7 +19,7 @@ class FCTypeEdit : public FCTypeEditBase
Q_OBJECT
TQ_OBJECT
public:
- FCTypeEdit(TQWidget *tqparent = 0, char *name = 0);
+ FCTypeEdit(TQWidget *parent = 0, char *name = 0);
~FCTypeEdit();
diff --git a/parts/filecreate/filecreate_filedialog.cpp b/parts/filecreate/filecreate_filedialog.cpp
index 1baa2132..ecc8df42 100644
--- a/parts/filecreate/filecreate_filedialog.cpp
+++ b/parts/filecreate/filecreate_filedialog.cpp
@@ -21,9 +21,9 @@
namespace FileCreate {
FileDialog::FileDialog(const TQString& startDir, const TQString& filter,
- TQWidget *tqparent, const char *name,
+ TQWidget *parent, const char *name,
bool modal, TQWidget * extraWidget) :
- KFileDialog(startDir, filter, tqparent, name, modal, extraWidget) {
+ KFileDialog(startDir, filter, parent, name, modal, extraWidget) {
setOperationMode(Saving);
diff --git a/parts/filecreate/filecreate_filedialog.h b/parts/filecreate/filecreate_filedialog.h
index 26852cfc..a2785b54 100644
--- a/parts/filecreate/filecreate_filedialog.h
+++ b/parts/filecreate/filecreate_filedialog.h
@@ -25,7 +25,7 @@ namespace FileCreate {
public:
FileDialog(const TQString& startDir, const TQString& filter,
- TQWidget *tqparent, const char *name,
+ TQWidget *parent, const char *name,
bool modal, TQWidget * extraWidget);
virtual ~FileDialog();
diff --git a/parts/filecreate/filecreate_newfile.cpp b/parts/filecreate/filecreate_newfile.cpp
index 6b41bb0b..b4b84de1 100644
--- a/parts/filecreate/filecreate_newfile.cpp
+++ b/parts/filecreate/filecreate_newfile.cpp
@@ -29,9 +29,9 @@
namespace FileCreate {
- NewFileChooser::NewFileChooser(TQWidget * tqparent) :
+ NewFileChooser::NewFileChooser(TQWidget * parent) :
KDialogBase(KDialogBase::Plain, i18n("New file dialog (title)", "New File"), KDialogBase::Ok|KDialogBase::Cancel,
- KDialogBase::Ok, tqparent, "New file", true)
+ KDialogBase::Ok, parent, "New file", true)
{
TQVBoxLayout* lay = new TQVBoxLayout( plainPage(), 5, 5 );
diff --git a/parts/filecreate/filecreate_newfile.h b/parts/filecreate/filecreate_newfile.h
index 04239e90..ab04dec9 100644
--- a/parts/filecreate/filecreate_newfile.h
+++ b/parts/filecreate/filecreate_newfile.h
@@ -28,7 +28,7 @@ namespace FileCreate {
Q_OBJECT
TQ_OBJECT
public:
- NewFileChooser(TQWidget *tqparent=0);
+ NewFileChooser(TQWidget *parent=0);
virtual ~NewFileChooser();
void setFileTypes(TQPtrList<FileType> typelist);
KURL url() const;
diff --git a/parts/filecreate/filecreate_part.cpp b/parts/filecreate/filecreate_part.cpp
index e7ad379e..75523c5d 100644
--- a/parts/filecreate/filecreate_part.cpp
+++ b/parts/filecreate/filecreate_part.cpp
@@ -61,9 +61,9 @@ K_EXPORT_COMPONENT_FACTORY( libkdevfilecreate, FileCreateFactory( data ) )
using namespace FileCreate;
-FileCreatePart::FileCreatePart(TQObject *tqparent, const char *name, const TQStringList & )
-// : KDevCreateFile(&data, tqparent, name ? name : "FileCreatePart"), m_selectedWidget(-1), m_useSideTab(true), m_subPopups(0)
- : KDevCreateFile(&data, tqparent, name ? name : "FileCreatePart"), m_subPopups(0)
+FileCreatePart::FileCreatePart(TQObject *parent, const char *name, const TQStringList & )
+// : KDevCreateFile(&data, parent, name ? name : "FileCreatePart"), m_selectedWidget(-1), m_useSideTab(true), m_subPopups(0)
+ : KDevCreateFile(&data, parent, name ? name : "FileCreatePart"), m_subPopups(0)
{
setInstance(FileCreateFactory::instance());
setXMLFile("kdevpart_filecreate.rc");
@@ -483,7 +483,7 @@ void FileCreatePart::slotInitialize( )
}
} else {
// if an extension + subtype have been specified, enable
- // the subtype and the extension (the 'tqparent')
+ // the subtype and the extension (the 'parent')
FileType * filetype = getType(ext);
FileType * subtype = getType(ext,subtyperef);
if (filetype && subtype) {
diff --git a/parts/filecreate/filecreate_part.h b/parts/filecreate/filecreate_part.h
index c8da5b27..574541fb 100644
--- a/parts/filecreate/filecreate_part.h
+++ b/parts/filecreate/filecreate_part.h
@@ -43,7 +43,7 @@ class FileCreatePart : public KDevCreateFile
friend class FCConfigWidget;
public:
- FileCreatePart(TQObject *tqparent, const char *name, const TQStringList &);
+ FileCreatePart(TQObject *parent, const char *name, const TQStringList &);
virtual ~FileCreatePart();
/**
diff --git a/parts/filecreate/filecreate_widget2.cpp b/parts/filecreate/filecreate_widget2.cpp
index ca37957a..840d62b4 100644
--- a/parts/filecreate/filecreate_widget2.cpp
+++ b/parts/filecreate/filecreate_widget2.cpp
@@ -67,7 +67,7 @@ namespace FileCreate {
else kdDebug(9034) << "No match!" << endl;
}
- // If an exact match is not found (e.g. current points to a 'tqparent' type) then
+ // If an exact match is not found (e.g. current points to a 'parent' type) then
// look instead for an extension match
if (changeToRow==-1) {
for(it = typeForRow.begin(); it!= typeForRow.end() && changeToRow==-1; ++it) {
diff --git a/parts/filecreate/filecreate_widget3.cpp b/parts/filecreate/filecreate_widget3.cpp
index 282426c0..5d307bff 100644
--- a/parts/filecreate/filecreate_widget3.cpp
+++ b/parts/filecreate/filecreate_widget3.cpp
@@ -70,7 +70,7 @@ namespace FileCreate {
lvi = lvi->nextSibling();
else {
while (lvi && !lvi->nextSibling())
- lvi = lvi->tqparent();
+ lvi = lvi->parent();
}
}
diff --git a/parts/filelist/filelist_item.cpp b/parts/filelist/filelist_item.cpp
index 4e53e9f3..9fd8fe31 100644
--- a/parts/filelist/filelist_item.cpp
+++ b/parts/filelist/filelist_item.cpp
@@ -20,8 +20,8 @@
FileListItem * FileListItem::s_activeItem = 0;
-FileListItem::FileListItem( TQListView * tqparent, KURL const & url, DocumentState state )
- : TQListViewItem( tqparent, url.fileName() ),
+FileListItem::FileListItem( TQListView * parent, KURL const & url, DocumentState state )
+ : TQListViewItem( parent, url.fileName() ),
_url( url )
{
diff --git a/parts/filelist/filelist_item.h b/parts/filelist/filelist_item.h
index fd0d0a77..6b88b09e 100644
--- a/parts/filelist/filelist_item.h
+++ b/parts/filelist/filelist_item.h
@@ -23,7 +23,7 @@
class FileListItem : public TQListViewItem
{
public:
- FileListItem( TQListView * tqparent, KURL const & url, DocumentState = Clean );
+ FileListItem( TQListView * parent, KURL const & url, DocumentState = Clean );
KURL url();
diff --git a/parts/filelist/filelist_widget.cpp b/parts/filelist/filelist_widget.cpp
index 5f026628..49fed3bf 100644
--- a/parts/filelist/filelist_widget.cpp
+++ b/parts/filelist/filelist_widget.cpp
@@ -34,8 +34,8 @@
* @param part
* @return
*/
-FileListWidget::FileListWidget(ProjectviewPart *part, TQWidget *tqparent)
- : KListView(tqparent), TQToolTip( viewport() ), _part( part )
+FileListWidget::FileListWidget(ProjectviewPart *part, TQWidget *parent)
+ : KListView(parent), TQToolTip( viewport() ), _part( part )
{
addColumn( "" );
header()->hide();
diff --git a/parts/filelist/filelist_widget.h b/parts/filelist/filelist_widget.h
index f2c2bd51..3de67a57 100644
--- a/parts/filelist/filelist_widget.h
+++ b/parts/filelist/filelist_widget.h
@@ -37,7 +37,7 @@ class FileListWidget : public KListView, public TQToolTip
public:
- FileListWidget(ProjectviewPart *part, TQWidget *tqparent=0);
+ FileListWidget(ProjectviewPart *part, TQWidget *parent=0);
~FileListWidget();
protected:
diff --git a/parts/filelist/projectviewconfig.cpp b/parts/filelist/projectviewconfig.cpp
index c552a5fd..0f138e1a 100644
--- a/parts/filelist/projectviewconfig.cpp
+++ b/parts/filelist/projectviewconfig.cpp
@@ -25,8 +25,8 @@
#include <kapplication.h>
-ProjectviewConfig::ProjectviewConfig(TQWidget *tqparent, const char *name)
- : ProjectviewConfigBase(tqparent, name)
+ProjectviewConfig::ProjectviewConfig(TQWidget *parent, const char *name)
+ : ProjectviewConfigBase(parent, name)
{
KConfig * config = kapp->config();
config->setGroup("File List Plugin");
diff --git a/parts/filelist/projectviewconfig.h b/parts/filelist/projectviewconfig.h
index d81de3a9..6ebf2ef5 100644
--- a/parts/filelist/projectviewconfig.h
+++ b/parts/filelist/projectviewconfig.h
@@ -29,7 +29,7 @@ class ProjectviewConfig: public ProjectviewConfigBase
Q_OBJECT
TQ_OBJECT
public:
- ProjectviewConfig(TQWidget *tqparent = 0, const char *name = 0);
+ ProjectviewConfig(TQWidget *parent = 0, const char *name = 0);
public slots:
void accept();
diff --git a/parts/filelist/projectviewpart.cpp b/parts/filelist/projectviewpart.cpp
index 2fa329dd..903f1dd1 100644
--- a/parts/filelist/projectviewpart.cpp
+++ b/parts/filelist/projectviewpart.cpp
@@ -68,8 +68,8 @@ K_EXPORT_COMPONENT_FACTORY(libkdevfilelist, projectviewFactory(data))
#define GLOBALDOC_OPTIONS 1
#define PROJECTDOC_OPTIONS 2
-ProjectviewPart::ProjectviewPart(TQObject *tqparent, const char *name, const TQStringList &/*args*/)
- : KDevPlugin(&data, tqparent, name ? name : "FileListPart")
+ProjectviewPart::ProjectviewPart(TQObject *parent, const char *name, const TQStringList &/*args*/)
+ : KDevPlugin(&data, parent, name ? name : "FileListPart")
{
setInstance(projectviewFactory::instance());
setXMLFile("kdevfilelist.rc");
diff --git a/parts/filelist/projectviewpart.h b/parts/filelist/projectviewpart.h
index c8555f8b..dc0287b7 100644
--- a/parts/filelist/projectviewpart.h
+++ b/parts/filelist/projectviewpart.h
@@ -63,7 +63,7 @@ public:
// typedef TQMap<KURL, FileInfo> FileInfoMap;
- ProjectviewPart(TQObject *tqparent, const char *name, const TQStringList &args);
+ ProjectviewPart(TQObject *parent, const char *name, const TQStringList &args);
~ProjectviewPart();
// reimplemented from KDevPlugin
diff --git a/parts/filelist/projectviewprojectconfig.cpp b/parts/filelist/projectviewprojectconfig.cpp
index 0b471ff1..b411dbbd 100644
--- a/parts/filelist/projectviewprojectconfig.cpp
+++ b/parts/filelist/projectviewprojectconfig.cpp
@@ -24,8 +24,8 @@
#include "projectviewpart.h"
-ProjectviewProjectConfig::ProjectviewProjectConfig(ProjectviewPart *part, TQWidget *tqparent, const char *name)
- : ProjectviewProjectConfigBase(tqparent, name), m_part(part)
+ProjectviewProjectConfig::ProjectviewProjectConfig(ProjectviewPart *part, TQWidget *parent, const char *name)
+ : ProjectviewProjectConfigBase(parent, name), m_part(part)
{
kComboDefault->clear();
kComboDefault->insertItem("");
diff --git a/parts/filelist/projectviewprojectconfig.h b/parts/filelist/projectviewprojectconfig.h
index 2a7ee5c5..f24a3028 100644
--- a/parts/filelist/projectviewprojectconfig.h
+++ b/parts/filelist/projectviewprojectconfig.h
@@ -30,7 +30,7 @@ class ProjectviewProjectConfig: public ProjectviewProjectConfigBase
Q_OBJECT
TQ_OBJECT
public:
- ProjectviewProjectConfig(ProjectviewPart *part, TQWidget *tqparent = 0, const char *name = 0);
+ ProjectviewProjectConfig(ProjectviewPart *part, TQWidget *parent = 0, const char *name = 0);
public slots:
void accept();
diff --git a/parts/filelist/toolbarguibuilder.cpp b/parts/filelist/toolbarguibuilder.cpp
index f2123d60..b4e1a993 100644
--- a/parts/filelist/toolbarguibuilder.cpp
+++ b/parts/filelist/toolbarguibuilder.cpp
@@ -22,8 +22,8 @@
#include <ktoolbar.h>
-ToolbarGUIBuilder::ToolbarGUIBuilder(TQWidget *tqparent, TQWidget *widget)
- : KXMLGUIBuilder(widget), KToolBar(tqparent, "ToolbarGUIbuilder"), m_parent(tqparent)
+ToolbarGUIBuilder::ToolbarGUIBuilder(TQWidget *parent, TQWidget *widget)
+ : KXMLGUIBuilder(widget), KToolBar(parent, "ToolbarGUIbuilder"), m_parent(parent)
{
// setHidden(true);
setFrameStyle(0);
@@ -34,7 +34,7 @@ ToolbarGUIBuilder::~ToolbarGUIBuilder()
{
}
-TQWidget * ToolbarGUIBuilder::createContainer(TQWidget *tqparent, int index, const TQDomElement &element, int &id)
+TQWidget * ToolbarGUIBuilder::createContainer(TQWidget *parent, int index, const TQDomElement &element, int &id)
{
if (element.tagName().lower() == "toolbar")
{
@@ -42,11 +42,11 @@ TQWidget * ToolbarGUIBuilder::createContainer(TQWidget *tqparent, int index, con
return this;
} else
{
- return KXMLGUIBuilder::createContainer(tqparent, index, element, id);
+ return KXMLGUIBuilder::createContainer(parent, index, element, id);
}
}
-void ToolbarGUIBuilder::removeContainer(TQWidget *container, TQWidget *tqparent, TQDomElement &element, int id)
+void ToolbarGUIBuilder::removeContainer(TQWidget *container, TQWidget *parent, TQDomElement &element, int id)
{
if (container == this)
{
@@ -54,6 +54,6 @@ void ToolbarGUIBuilder::removeContainer(TQWidget *container, TQWidget *tqparent,
reparent(0, TQPoint(0, 0));
}
else
- KXMLGUIBuilder::removeContainer(container, tqparent, element, id);
+ KXMLGUIBuilder::removeContainer(container, parent, element, id);
}
diff --git a/parts/filelist/toolbarguibuilder.h b/parts/filelist/toolbarguibuilder.h
index c3b6ef51..ec02c371 100644
--- a/parts/filelist/toolbarguibuilder.h
+++ b/parts/filelist/toolbarguibuilder.h
@@ -34,20 +34,20 @@
class ToolbarGUIBuilder : public KXMLGUIBuilder, public KToolBar
{
public:
- ToolbarGUIBuilder(TQWidget *tqparent, TQWidget *widget);
+ ToolbarGUIBuilder(TQWidget *parent, TQWidget *widget);
virtual ~ToolbarGUIBuilder();
/**
* Called when a new XML gui client is added to the gui factory.
*/
- virtual TQWidget *createContainer(TQWidget *tqparent, int index, const TQDomElement &element, int &id);
+ virtual TQWidget *createContainer(TQWidget *parent, int index, const TQDomElement &element, int &id);
/**
* Called when a XML gui client is removed the gui factory.
* Reimplemented from KXMLGUIBuilder in order to remove our custom toolbar.
*/
- virtual void removeContainer(TQWidget *container, TQWidget *tqparent, TQDomElement &element, int id);
+ virtual void removeContainer(TQWidget *container, TQWidget *parent, TQDomElement &element, int id);
private:
TQWidget * m_parent;
diff --git a/parts/fileselector/fileselector_part.cpp b/parts/fileselector/fileselector_part.cpp
index baf4dc86..4e30fe50 100644
--- a/parts/fileselector/fileselector_part.cpp
+++ b/parts/fileselector/fileselector_part.cpp
@@ -34,8 +34,8 @@ typedef KDevGenericFactory<FileSelectorPart> FileSelectorFactory;
static const KDevPluginInfo data("kdevfileselector");
K_EXPORT_COMPONENT_FACTORY( libkdevfileselector, FileSelectorFactory( data ) )
-FileSelectorPart::FileSelectorPart(TQObject *tqparent, const char *name, const TQStringList &)
- : KDevPlugin(&data, tqparent, name ? name : "FileSelectorPart")
+FileSelectorPart::FileSelectorPart(TQObject *parent, const char *name, const TQStringList &)
+ : KDevPlugin(&data, parent, name ? name : "FileSelectorPart")
{
setInstance(FileSelectorFactory::instance());
diff --git a/parts/fileselector/fileselector_part.h b/parts/fileselector/fileselector_part.h
index d2e8d9ec..90c25f11 100644
--- a/parts/fileselector/fileselector_part.h
+++ b/parts/fileselector/fileselector_part.h
@@ -16,7 +16,7 @@ class FileSelectorPart : public KDevPlugin
Q_OBJECT
TQ_OBJECT
public:
- FileSelectorPart(TQObject *tqparent, const char *name, const TQStringList &);
+ FileSelectorPart(TQObject *parent, const char *name, const TQStringList &);
virtual ~FileSelectorPart();
KAction *newFileAction() const { return m_newFileAction; }
diff --git a/parts/fileselector/fileselector_widget.cpp b/parts/fileselector/fileselector_widget.cpp
index eacc513a..d2646cc4 100644
--- a/parts/fileselector/fileselector_widget.cpp
+++ b/parts/fileselector/fileselector_widget.cpp
@@ -76,8 +76,8 @@ static void silenceTQToolBar(TQtMsgType, const char *)
{}
-KDevFileSelectorToolBar::KDevFileSelectorToolBar(TQWidget *tqparent)
- : KToolBar( tqparent, "KDev FileSelector Toolbar", true )
+KDevFileSelectorToolBar::KDevFileSelectorToolBar(TQWidget *parent)
+ : KToolBar( parent, "KDev FileSelector Toolbar", true )
{
setMinimumWidth(10);
}
@@ -91,8 +91,8 @@ void KDevFileSelectorToolBar::setMovingEnabled( bool)
}
-KDevFileSelectorToolBarParent::KDevFileSelectorToolBarParent(TQWidget *tqparent)
- :TQFrame(tqparent),m_tb(0)
+KDevFileSelectorToolBarParent::KDevFileSelectorToolBarParent(TQWidget *parent)
+ :TQFrame(parent),m_tb(0)
{}
KDevFileSelectorToolBarParent::~KDevFileSelectorToolBarParent()
{}
@@ -115,8 +115,8 @@ void KDevFileSelectorToolBarParent::resizeEvent ( TQResizeEvent * )
KDevFileSelector::KDevFileSelector( FileSelectorPart *part, KDevMainWindow *mainWindow,
KDevPartController *partController,
- TQWidget * tqparent, const char * name )
- : TQWidget(tqparent, name),
+ TQWidget * parent, const char * name )
+ : TQWidget(parent, name),
m_part(part),
mainwin(mainWindow),
partController(partController)
@@ -575,8 +575,8 @@ KURL KDevFileSelector::activeDocumentUrl( )
////////////////////////////////////////////////////////////////////////////////
// KFSConfigPage implementation
////////////////////////////////////////////////////////////////////////////////
-KFSConfigPage::KFSConfigPage( TQWidget *tqparent, const char *name, KDevFileSelector *kfs )
- : TQWidget( tqparent, name ),
+KFSConfigPage::KFSConfigPage( TQWidget *parent, const char *name, KDevFileSelector *kfs )
+ : TQWidget( parent, name ),
fileSelector( kfs ),
bDirty( false )
{
diff --git a/parts/fileselector/fileselector_widget.h b/parts/fileselector/fileselector_widget.h
index cf06d42a..6fbc3d6a 100644
--- a/parts/fileselector/fileselector_widget.h
+++ b/parts/fileselector/fileselector_widget.h
@@ -62,7 +62,7 @@ class KDevFileSelectorToolBar: public KToolBar
Q_OBJECT
TQ_OBJECT
public:
- KDevFileSelectorToolBar(TQWidget *tqparent);
+ KDevFileSelectorToolBar(TQWidget *parent);
virtual ~KDevFileSelectorToolBar();
virtual void setMovingEnabled( bool b );
@@ -73,7 +73,7 @@ class KDevFileSelectorToolBarParent: public TQFrame
Q_OBJECT
TQ_OBJECT
public:
- KDevFileSelectorToolBarParent(TQWidget *tqparent);
+ KDevFileSelectorToolBarParent(TQWidget *parent);
~KDevFileSelectorToolBarParent();
void setToolBar(KDevFileSelectorToolBar *tb);
@@ -89,8 +89,8 @@ class KDevDirOperator: public KDirOperator
Q_OBJECT
TQ_OBJECT
public:
- KDevDirOperator(FileSelectorPart *part, const KURL &urlName=KURL(), TQWidget *tqparent=0, const char *name=0)
- :KDirOperator(urlName, tqparent, name), m_part(part)
+ KDevDirOperator(FileSelectorPart *part, const KURL &urlName=KURL(), TQWidget *parent=0, const char *name=0)
+ :KDirOperator(urlName, parent, name), m_part(part)
{
}
@@ -113,7 +113,7 @@ public:
enum AutoSyncEvent { DocumentChanged=1, DocumentOpened=2, GotVisible=4 };
KDevFileSelector( FileSelectorPart *part, KDevMainWindow *mainWindow=0, KDevPartController *partController=0,
- TQWidget * tqparent = 0, const char * name = 0 );
+ TQWidget * parent = 0, const char * name = 0 );
~KDevFileSelector();
void readConfig( KConfig *, const TQString & );
@@ -183,7 +183,7 @@ class KFSConfigPage : public TQWidget
Q_OBJECT
TQ_OBJECT
public:
- KFSConfigPage( TQWidget* tqparent=0, const char *name=0, KDevFileSelector *kfs=0);
+ KFSConfigPage( TQWidget* parent=0, const char *name=0, KDevFileSelector *kfs=0);
virtual ~KFSConfigPage() {};
public slots:
diff --git a/parts/fileselector/kactionselector.cpp b/parts/fileselector/kactionselector.cpp
index 3bf21922..3d2a67c3 100644
--- a/parts/fileselector/kactionselector.cpp
+++ b/parts/fileselector/kactionselector.cpp
@@ -46,8 +46,8 @@ class KActionSelectorPrivate {
//BEGIN Constructor/destructor
-KActionSelector::KActionSelector( TQWidget *tqparent, const char *name )
- : TQWidget( tqparent, name )
+KActionSelector::KActionSelector( TQWidget *parent, const char *name )
+ : TQWidget( parent, name )
{
d = new KActionSelectorPrivate();
d->moveOnDoubleClick = true;
diff --git a/parts/fileselector/kactionselector.h b/parts/fileselector/kactionselector.h
index 9bcbeeea..3ba60c11 100644
--- a/parts/fileselector/kactionselector.h
+++ b/parts/fileselector/kactionselector.h
@@ -87,7 +87,7 @@ class KActionSelector : public TQWidget {
TQ_PROPERTY( bool showUpDownButtons READ showUpDownButtons WRITE setShowUpDownButtons )
public:
- KActionSelector( TQWidget *tqparent=0, const char *name=0 );
+ KActionSelector( TQWidget *parent=0, const char *name=0 );
~KActionSelector();
/**
diff --git a/parts/fileselector/kbookmarkhandler.cpp b/parts/fileselector/kbookmarkhandler.cpp
index 68ce3189..6467b83f 100644
--- a/parts/fileselector/kbookmarkhandler.cpp
+++ b/parts/fileselector/kbookmarkhandler.cpp
@@ -35,15 +35,15 @@
#include "kbookmarkhandler.moc"
-KBookmarkHandler::KBookmarkHandler( KDevFileSelector *tqparent, KPopupMenu* kpopupmenu )
- : TQObject( tqparent, "KBookmarkHandler" ),
+KBookmarkHandler::KBookmarkHandler( KDevFileSelector *parent, KPopupMenu* kpopupmenu )
+ : TQObject( parent, "KBookmarkHandler" ),
KBookmarkOwner(),
- mParent( tqparent ),
+ mParent( parent ),
m_menu( kpopupmenu ),
m_importStream( 0L )
{
if (!m_menu)
- m_menu = new KPopupMenu( tqparent, "bookmark menu" );
+ m_menu = new KPopupMenu( parent, "bookmark menu" );
TQString file = locate( "data", "kdevfileselector/fsbookmarks.xml" );
if ( file.isEmpty() )
diff --git a/parts/fileselector/kbookmarkhandler.h b/parts/fileselector/kbookmarkhandler.h
index a9ec5ad1..89015d55 100644
--- a/parts/fileselector/kbookmarkhandler.h
+++ b/parts/fileselector/kbookmarkhandler.h
@@ -34,7 +34,7 @@ class KBookmarkHandler : public TQObject, public KBookmarkOwner
TQ_OBJECT
public:
- KBookmarkHandler( KDevFileSelector *tqparent, KPopupMenu *kpopupmenu=0 );
+ KBookmarkHandler( KDevFileSelector *parent, KPopupMenu *kpopupmenu=0 );
~KBookmarkHandler();
// KBookmarkOwner interface:
diff --git a/parts/fileview/addfilegroupdlg.cpp b/parts/fileview/addfilegroupdlg.cpp
index 112eec4a..9e45d1ae 100644
--- a/parts/fileview/addfilegroupdlg.cpp
+++ b/parts/fileview/addfilegroupdlg.cpp
@@ -20,8 +20,8 @@
#include "addfilegroupdlg.h"
-AddFileGroupDialog::AddFileGroupDialog(const TQString& old_title, const TQString& old_pattern, TQWidget *tqparent, const char *name)
- : TQDialog(tqparent, name, true)
+AddFileGroupDialog::AddFileGroupDialog(const TQString& old_title, const TQString& old_pattern, TQWidget *parent, const char *name)
+ : TQDialog(parent, name, true)
{
TQLabel *title_label = new TQLabel(i18n("&Title:"), this);
title_edit = new KLineEdit(old_title, this);
diff --git a/parts/fileview/addfilegroupdlg.h b/parts/fileview/addfilegroupdlg.h
index 20c54d37..f531d1a3 100644
--- a/parts/fileview/addfilegroupdlg.h
+++ b/parts/fileview/addfilegroupdlg.h
@@ -22,7 +22,7 @@ class AddFileGroupDialog : public TQDialog
TQ_OBJECT
public:
- AddFileGroupDialog( const TQString& old_title="", const TQString& old_pattern="", TQWidget *tqparent=0, const char *name=0 );
+ AddFileGroupDialog( const TQString& old_title="", const TQString& old_pattern="", TQWidget *parent=0, const char *name=0 );
~AddFileGroupDialog();
TQString title() const
diff --git a/parts/fileview/filegroupsconfigwidget.cpp b/parts/fileview/filegroupsconfigwidget.cpp
index 277bab4e..c1a4f5bc 100644
--- a/parts/fileview/filegroupsconfigwidget.cpp
+++ b/parts/fileview/filegroupsconfigwidget.cpp
@@ -21,8 +21,8 @@
FileGroupsConfigWidget::FileGroupsConfigWidget(FileGroupsPart *part,
- TQWidget *tqparent, const char *name)
- : FileGroupsConfigWidgetBase(tqparent, name)
+ TQWidget *parent, const char *name)
+ : FileGroupsConfigWidgetBase(parent, name)
{
m_part = part;
diff --git a/parts/fileview/filegroupsconfigwidget.h b/parts/fileview/filegroupsconfigwidget.h
index c236aa43..f3f530ad 100644
--- a/parts/fileview/filegroupsconfigwidget.h
+++ b/parts/fileview/filegroupsconfigwidget.h
@@ -23,7 +23,7 @@ class FileGroupsConfigWidget : public FileGroupsConfigWidgetBase
TQ_OBJECT
public:
- FileGroupsConfigWidget( FileGroupsPart *widget, TQWidget *tqparent, const char *name=0 );
+ FileGroupsConfigWidget( FileGroupsPart *widget, TQWidget *parent, const char *name=0 );
~FileGroupsConfigWidget();
public slots:
diff --git a/parts/fileview/filegroupspart.cpp b/parts/fileview/filegroupspart.cpp
index 29dccd55..4451ff2a 100644
--- a/parts/fileview/filegroupspart.cpp
+++ b/parts/fileview/filegroupspart.cpp
@@ -36,8 +36,8 @@ typedef KDevGenericFactory<FileGroupsPart> FileGroupsFactory;
static const KDevPluginInfo data("kdevfilegroups");
K_EXPORT_COMPONENT_FACTORY( libkdevfilegroups, FileGroupsFactory( data ) )
-FileGroupsPart::FileGroupsPart(TQObject *tqparent, const char *name, const TQStringList &)
- : KDevPlugin(&data, tqparent, name ? name : "FileGroupsPart")
+FileGroupsPart::FileGroupsPart(TQObject *parent, const char *name, const TQStringList &)
+ : KDevPlugin(&data, parent, name ? name : "FileGroupsPart")
{
deleteRequested = false;
setInstance(FileGroupsFactory::instance());
diff --git a/parts/fileview/filegroupspart.h b/parts/fileview/filegroupspart.h
index 85f83164..3a1207ec 100644
--- a/parts/fileview/filegroupspart.h
+++ b/parts/fileview/filegroupspart.h
@@ -26,7 +26,7 @@ class FileGroupsPart : public KDevPlugin
TQ_OBJECT
public:
- FileGroupsPart( TQObject *tqparent, const char *name, const TQStringList & );
+ FileGroupsPart( TQObject *parent, const char *name, const TQStringList & );
~FileGroupsPart();
public slots:
diff --git a/parts/fileview/filegroupswidget.cpp b/parts/fileview/filegroupswidget.cpp
index 40c2b752..0c498e98 100644
--- a/parts/fileview/filegroupswidget.cpp
+++ b/parts/fileview/filegroupswidget.cpp
@@ -77,7 +77,7 @@ private:
class FileViewFolderItem : public TQListViewItem
{
public:
- FileViewFolderItem(TQListView *tqparent, const TQString &name, const TQString &pattern);
+ FileViewFolderItem(TQListView *parent, const TQString &name, const TQString &pattern);
bool matches(const TQString &fileName);
private:
@@ -85,8 +85,8 @@ private:
};
-FileViewFolderItem::FileViewFolderItem(TQListView *tqparent, const TQString &name, const TQString &pattern)
- : TQListViewItem(tqparent, name)
+FileViewFolderItem::FileViewFolderItem(TQListView *parent, const TQString &name, const TQString &pattern)
+ : TQListViewItem(parent, name)
{
setPixmap(0, SmallIcon("folder"));
m_patterns.setAutoDelete(true);
@@ -133,7 +133,7 @@ bool FileViewFolderItem::matches(const TQString &fileName)
class FileGroupsFileItem : public TQListViewItem
{
public:
- FileGroupsFileItem(TQListViewItem *tqparent, const TQString &fileName);
+ FileGroupsFileItem(TQListViewItem *parent, const TQString &fileName);
TQString fileName() const
{ return fullname; }
@@ -142,8 +142,8 @@ private:
};
-FileGroupsFileItem::FileGroupsFileItem(TQListViewItem *tqparent, const TQString &fileName)
- : TQListViewItem(tqparent), fullname(fileName)
+FileGroupsFileItem::FileGroupsFileItem(TQListViewItem *parent, const TQString &fileName)
+ : TQListViewItem(parent), fullname(fileName)
{
setPixmap(0, SmallIcon("document"));
TQFileInfo fi(fileName);
@@ -214,7 +214,7 @@ void FileGroupsWidget::slotItemExecuted(TQListViewItem *item)
setOpen(item, !isOpen(item));
// Is it a group item?
- if (!item->tqparent())
+ if (!item->parent())
return;
FileGroupsFileItem *fgfitem = static_cast<FileGroupsFileItem*>(item);
@@ -230,7 +230,7 @@ void FileGroupsWidget::slotContextMenu(KListView *, TQListViewItem *item, const
int customizeId = popup.insertItem(i18n("Customize..."));
popup.tqsetWhatsThis(customizeId, i18n("<b>Customize</b><p>Opens <b>Customize File Groups</b> dialog where the groups can be managed."));
if (item) {
- if (item->tqparent()) {
+ if (item->parent()) {
// Not for group items
FileGroupsFileItem *fvfitem = static_cast<FileGroupsFileItem*>(item);
TQString pathName = m_part->project()->projectDirectory() + TQDir::separator() + fvfitem->fileName();
diff --git a/parts/fileview/fileitemfactory.h b/parts/fileview/fileitemfactory.h
index fcb606fc..bd484edd 100644
--- a/parts/fileview/fileitemfactory.h
+++ b/parts/fileview/fileitemfactory.h
@@ -28,13 +28,13 @@ namespace filetreeview
{
friend class FileTreeBranchItem;
protected:
- FileTreeViewItem( KFileTreeViewItem* tqparent, KFileItem* item, KFileTreeBranch* branch, bool pf )
- : KFileTreeViewItem( tqparent, item, branch ), m_isProjectFile( pf ), m_isActiveDir( false )
+ FileTreeViewItem( KFileTreeViewItem* parent, KFileItem* item, KFileTreeBranch* branch, bool pf )
+ : KFileTreeViewItem( parent, item, branch ), m_isProjectFile( pf ), m_isActiveDir( false )
{
hideOrShow();
}
- FileTreeViewItem( KFileTreeView* tqparent, KFileItem* item, KFileTreeBranch* branch )
- : KFileTreeViewItem( tqparent, item, branch ), m_isProjectFile( false )
+ FileTreeViewItem( KFileTreeView* parent, KFileItem* item, KFileTreeBranch* branch )
+ : KFileTreeViewItem( parent, item, branch ), m_isProjectFile( false )
{
hideOrShow();
}
diff --git a/parts/fileview/filetreeviewwidgetimpl.cpp b/parts/fileview/filetreeviewwidgetimpl.cpp
index a35d1a6d..7ca52b17 100644
--- a/parts/fileview/filetreeviewwidgetimpl.cpp
+++ b/parts/fileview/filetreeviewwidgetimpl.cpp
@@ -30,9 +30,9 @@ using namespace filetreeview;
// class FileTreeViewWidgetImpl
///////////////////////////////////////////////////////////////////////////////
-FileTreeViewWidgetImpl::FileTreeViewWidgetImpl( FileTreeWidget *tqparent, const char *name )
- : TQObject( tqparent, name ), m_branchItemFactory( 0 ),
- m_part( tqparent->part() ), m_isReloadingTree( false )
+FileTreeViewWidgetImpl::FileTreeViewWidgetImpl( FileTreeWidget *parent, const char *name )
+ : TQObject( parent, name ), m_branchItemFactory( 0 ),
+ m_part( parent->part() ), m_isReloadingTree( false )
{
kdDebug(9017) << "FileTreeViewWidgetImpl::FileTreeViewWidgetImpl()" << endl;
@@ -63,7 +63,7 @@ FileTreeViewWidgetImpl::~FileTreeViewWidgetImpl()
FileTreeWidget *FileTreeViewWidgetImpl::fileTree() const
{
- return static_cast<FileTreeWidget *>( TQT_TQWIDGET(tqparent()) );
+ return static_cast<FileTreeWidget *>( TQT_TQWIDGET(parent()) );
}
///////////////////////////////////////////////////////////////////////////////
diff --git a/parts/fileview/filetreeviewwidgetimpl.h b/parts/fileview/filetreeviewwidgetimpl.h
index 34f19ca3..7df81e0e 100644
--- a/parts/fileview/filetreeviewwidgetimpl.h
+++ b/parts/fileview/filetreeviewwidgetimpl.h
@@ -41,7 +41,7 @@ class FileTreeViewWidgetImpl : public TQObject
Q_OBJECT
TQ_OBJECT
public:
- FileTreeViewWidgetImpl( FileTreeWidget *tqparent, const char *name );
+ FileTreeViewWidgetImpl( FileTreeWidget *parent, const char *name );
virtual ~FileTreeViewWidgetImpl();
//! return a list containing the filenames of the currently selected items.
diff --git a/parts/fileview/filetreewidget.cpp b/parts/fileview/filetreewidget.cpp
index 958e756e..f5aa0ff4 100644
--- a/parts/fileview/filetreewidget.cpp
+++ b/parts/fileview/filetreewidget.cpp
@@ -51,8 +51,8 @@ using namespace filetreeview;
// class FileTreeWidget
///////////////////////////////////////////////////////////////////////////////
-FileTreeWidget::FileTreeWidget( FileViewPart *part, TQWidget *tqparent, KDevVCSFileInfoProvider *infoProvider )
- : KFileTreeView( tqparent, "filetreewidget" ), m_part( part ), m_rootBranch( 0 )
+FileTreeWidget::FileTreeWidget( FileViewPart *part, TQWidget *parent, KDevVCSFileInfoProvider *infoProvider )
+ : KFileTreeView( parent, "filetreewidget" ), m_part( part ), m_rootBranch( 0 )
{
kdDebug(9017) << "Requested FileTree for: " << projectDirectory() << endl;
if (versionControl() && infoProvider)
@@ -265,7 +265,7 @@ void FileTreeWidget::addProjectFiles( TQStringList const & fileList, bool constr
if ( !m_projectFiles.contains( file ) )
{
// We got a new file to add to this project.
- // Ensure all the tqparent directories are part of the project set, too.
+ // Ensure all the parent directories are part of the project set, too.
TQStringList paths = TQStringList::split( "/", *it);
paths.pop_back();
while( !paths.isEmpty() )
@@ -273,7 +273,7 @@ void FileTreeWidget::addProjectFiles( TQStringList const & fileList, bool constr
// We are adding the directories from longest (the one containing our file),
// to the shortest, measured from root directory of our project.
// Whenever we find out that a directory is already recorded as part of our project,
- // we may stop adding, because its tqparent directories were already added -
+ // we may stop adding, because its parent directories were already added -
// in some previous addition.
TQString joinedPaths = paths.join("/");
if( m_projectFiles.contains( joinedPaths ) )
diff --git a/parts/fileview/filetreewidget.h b/parts/fileview/filetreewidget.h
index f7a7ac51..84d45e6d 100644
--- a/parts/fileview/filetreewidget.h
+++ b/parts/fileview/filetreewidget.h
@@ -49,7 +49,7 @@ class FileTreeWidget : public KFileTreeView
Q_OBJECT
TQ_OBJECT
public:
- FileTreeWidget( FileViewPart *part, TQWidget *tqparent, KDevVCSFileInfoProvider *infoProvider );
+ FileTreeWidget( FileViewPart *part, TQWidget *parent, KDevVCSFileInfoProvider *infoProvider );
virtual ~FileTreeWidget();
void openDirectory(const TQString &dirName);
diff --git a/parts/fileview/fileviewpart.cpp b/parts/fileview/fileviewpart.cpp
index c5d0655a..0e3758c9 100644
--- a/parts/fileview/fileviewpart.cpp
+++ b/parts/fileview/fileviewpart.cpp
@@ -57,8 +57,8 @@ K_EXPORT_COMPONENT_FACTORY( libkdevfileview, FileViewFactory( data ) )
// class FileTreeWidget
///////////////////////////////////////////////////////////////////////////////
-FileViewPart::FileViewPart(TQObject *tqparent, const char *name, const TQStringList &)
- : KDevPlugin(&data, tqparent, name ? name : "FileViewPart"),
+FileViewPart::FileViewPart(TQObject *parent, const char *name, const TQStringList &)
+ : KDevPlugin(&data, parent, name ? name : "FileViewPart"),
m_widget( 0 )
{
setInstance( FileViewFactory::instance() );
diff --git a/parts/fileview/fileviewpart.h b/parts/fileview/fileviewpart.h
index 985d15ed..0dfd4796 100644
--- a/parts/fileview/fileviewpart.h
+++ b/parts/fileview/fileviewpart.h
@@ -27,7 +27,7 @@ class FileViewPart : public KDevPlugin
TQ_OBJECT
public:
- FileViewPart( TQObject *tqparent, const char *name, const TQStringList & );
+ FileViewPart( TQObject *parent, const char *name, const TQStringList & );
virtual ~FileViewPart();
//! Colors to use for VCS visual feed-back
diff --git a/parts/fileview/partwidget.cpp b/parts/fileview/partwidget.cpp
index 040f6312..6b06647c 100644
--- a/parts/fileview/partwidget.cpp
+++ b/parts/fileview/partwidget.cpp
@@ -34,11 +34,11 @@
// class PartWidget
///////////////////////////////////////////////////////////////////////////////
-PartWidget::PartWidget( FileViewPart *part, TQWidget *tqparent )
- : TQVBox( tqparent, "fileviewpartwidget" ), m_filetree( 0 ),
+PartWidget::PartWidget( FileViewPart *part, TQWidget *parent )
+ : TQVBox( parent, "fileviewpartwidget" ), m_filetree( 0 ),
m_filter( 0 ), m_btnFilter( 0 ), m_part( part )
{
- Q_ASSERT( part && tqparent );
+ Q_ASSERT( part && parent );
KDevVCSFileInfoProvider *infoProvider = 0;
if (part && part->versionControl() && part->versionControl()->fileInfoProvider())
diff --git a/parts/fileview/partwidget.h b/parts/fileview/partwidget.h
index 66c57228..3dfa18a6 100644
--- a/parts/fileview/partwidget.h
+++ b/parts/fileview/partwidget.h
@@ -21,7 +21,7 @@ class PartWidget : public TQVBox
Q_OBJECT
TQ_OBJECT
public:
- PartWidget( FileViewPart *part, TQWidget *tqparent = 0 );
+ PartWidget( FileViewPart *part, TQWidget *parent = 0 );
virtual ~PartWidget();
class FileTreeWidget *m_filetree;
diff --git a/parts/fileview/stdfiletreewidgetimpl.cpp b/parts/fileview/stdfiletreewidgetimpl.cpp
index 943f8850..3766973d 100644
--- a/parts/fileview/stdfiletreewidgetimpl.cpp
+++ b/parts/fileview/stdfiletreewidgetimpl.cpp
@@ -23,10 +23,10 @@
class StdFileTreeViewItem : public filetreeview::FileTreeViewItem
{
public:
- StdFileTreeViewItem( KFileTreeViewItem* tqparent, KFileItem* item, KFileTreeBranch* branch, bool pf )
- : FileTreeViewItem( tqparent, item, branch, pf ) {}
- StdFileTreeViewItem( KFileTreeView* tqparent, KFileItem* item, KFileTreeBranch* branch )
- : FileTreeViewItem( tqparent, item, branch ) {}
+ StdFileTreeViewItem( KFileTreeViewItem* parent, KFileItem* item, KFileTreeBranch* branch, bool pf )
+ : FileTreeViewItem( parent, item, branch, pf ) {}
+ StdFileTreeViewItem( KFileTreeView* parent, KFileItem* item, KFileTreeBranch* branch )
+ : FileTreeViewItem( parent, item, branch ) {}
};
///////////////////////////////////////////////////////////////////////////////
@@ -39,22 +39,22 @@ public:
StdFileTreeBranchItem( KFileTreeView* view, const KURL& url, const TQString& name, const TQPixmap& pix )
: FileTreeBranchItem( view, url, name, pix ) {}
virtual ~StdFileTreeBranchItem() {}
- virtual KFileTreeViewItem* createTreeViewItem( KFileTreeViewItem* tqparent, KFileItem* fileItem );
+ virtual KFileTreeViewItem* createTreeViewItem( KFileTreeViewItem* parent, KFileItem* fileItem );
};
///////////////////////////////////////////////////////////////////////////////
-KFileTreeViewItem* StdFileTreeBranchItem::createTreeViewItem( KFileTreeViewItem* tqparent, KFileItem* fileItem )
+KFileTreeViewItem* StdFileTreeBranchItem::createTreeViewItem( KFileTreeViewItem* parent, KFileItem* fileItem )
{
- if (!tqparent || !fileItem)
+ if (!parent || !fileItem)
return 0;
- FileTreeWidget *lv = static_cast<StdFileTreeViewItem*>( tqparent )->listView();
+ FileTreeWidget *lv = static_cast<StdFileTreeViewItem*>( parent )->listView();
const KURL fileURL = fileItem->url();
const bool isDirectory = lv->isInProject( fileURL.path() );
- return new StdFileTreeViewItem( tqparent, fileItem, this, isDirectory );
+ return new StdFileTreeViewItem( parent, fileItem, this, isDirectory );
}
///////////////////////////////////////////////////////////////////////////////
@@ -74,14 +74,14 @@ public:
// class StdFileTreeWidgetImpl
///////////////////////////////////////////////////////////////////////////////
-StdFileTreeWidgetImpl::StdFileTreeWidgetImpl( FileTreeWidget *tqparent )
- : FileTreeViewWidgetImpl( tqparent, "stdfiletreewidgetimpl" )
+StdFileTreeWidgetImpl::StdFileTreeWidgetImpl( FileTreeWidget *parent )
+ : FileTreeViewWidgetImpl( parent, "stdfiletreewidgetimpl" )
{
kdDebug(9017) << "StdFileTreeWidgetImpl::StdFileTreeWidgetImpl()" << endl;
setBranchItemFactory( new StdBranchItemFactory );
- tqparent->addColumn( TQString() );
+ parent->addColumn( TQString() );
header()->hide();
}
diff --git a/parts/fileview/stdfiletreewidgetimpl.h b/parts/fileview/stdfiletreewidgetimpl.h
index 260d2372..4d15beff 100644
--- a/parts/fileview/stdfiletreewidgetimpl.h
+++ b/parts/fileview/stdfiletreewidgetimpl.h
@@ -25,7 +25,7 @@ class StdFileTreeWidgetImpl : public FileTreeViewWidgetImpl
Q_OBJECT
TQ_OBJECT
public:
- StdFileTreeWidgetImpl( FileTreeWidget *tqparent );
+ StdFileTreeWidgetImpl( FileTreeWidget *parent );
virtual ~StdFileTreeWidgetImpl();
/*
diff --git a/parts/fileview/vcscolorsconfigwidget.cpp b/parts/fileview/vcscolorsconfigwidget.cpp
index 117955d5..63067c04 100644
--- a/parts/fileview/vcscolorsconfigwidget.cpp
+++ b/parts/fileview/vcscolorsconfigwidget.cpp
@@ -51,8 +51,8 @@ VCSColors &VCSColors::operator=( const VCSColors &others )
///////////////////////////////////////////////////////////////////////////////
VCSColorsConfigWidget::VCSColorsConfigWidget(FileViewPart *part, const VCSColors &vcsColors,
- TQWidget* tqparent, const char* name, WFlags fl)
- : VCSColorsConfigWidgetBase( tqparent, name, fl ), m_part( part )
+ TQWidget* parent, const char* name, WFlags fl)
+ : VCSColorsConfigWidgetBase( parent, name, fl ), m_part( part )
{
setColors( vcsColors );
}
diff --git a/parts/fileview/vcscolorsconfigwidget.h b/parts/fileview/vcscolorsconfigwidget.h
index 61d1b0e7..6a9a606b 100644
--- a/parts/fileview/vcscolorsconfigwidget.h
+++ b/parts/fileview/vcscolorsconfigwidget.h
@@ -41,7 +41,7 @@ class VCSColorsConfigWidget : public VCSColorsConfigWidgetBase
public:
VCSColorsConfigWidget( FileViewPart *part, const VCSColors &vcsColors,
- TQWidget* tqparent = 0, const char* name = 0, WFlags fl = 0 );
+ TQWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
virtual ~VCSColorsConfigWidget();
/*$PUBLIC_FUNCTIONS$*/
diff --git a/parts/fileview/vcsfiletreewidgetimpl.cpp b/parts/fileview/vcsfiletreewidgetimpl.cpp
index 6aebce29..eb3d2c4a 100644
--- a/parts/fileview/vcsfiletreewidgetimpl.cpp
+++ b/parts/fileview/vcsfiletreewidgetimpl.cpp
@@ -42,10 +42,10 @@ using namespace filetreeview;
class VCSFileTreeViewItem : public filetreeview::FileTreeViewItem
{
public:
- VCSFileTreeViewItem( KFileTreeViewItem* tqparent, KFileItem* item, KFileTreeBranch* branch, bool pf )
- : FileTreeViewItem( tqparent, item, branch, pf ), m_statusColor( &FileViewPart::vcsColors.unknown ) {}
- VCSFileTreeViewItem( KFileTreeView* tqparent, KFileItem* item, KFileTreeBranch* branch )
- : FileTreeViewItem( tqparent, item, branch ), m_statusColor( &FileViewPart::vcsColors.unknown ) {}
+ VCSFileTreeViewItem( KFileTreeViewItem* parent, KFileItem* item, KFileTreeBranch* branch, bool pf )
+ : FileTreeViewItem( parent, item, branch, pf ), m_statusColor( &FileViewPart::vcsColors.unknown ) {}
+ VCSFileTreeViewItem( KFileTreeView* parent, KFileItem* item, KFileTreeBranch* branch )
+ : FileTreeViewItem( parent, item, branch ), m_statusColor( &FileViewPart::vcsColors.unknown ) {}
virtual void paintCell( TQPainter *p, const TQColorGroup &cg, int column, int width, int tqalignment )
{
// paint cell in a different color depending on VCS state
@@ -130,7 +130,7 @@ public:
KDevVCSFileInfoProvider *vcsInfoProvider )
: FileTreeBranchItem( view, url, name, pix ), m_vcsInfoProvider( vcsInfoProvider ) {}
// virtual ~VCSFileTreeBranchItem() {}
- virtual KFileTreeViewItem* createTreeViewItem( KFileTreeViewItem* tqparent, KFileItem* fileItem );
+ virtual KFileTreeViewItem* createTreeViewItem( KFileTreeViewItem* parent, KFileItem* fileItem );
private:
KDevVCSFileInfoProvider *m_vcsInfoProvider;
@@ -138,17 +138,17 @@ private:
///////////////////////////////////////////////////////////////////////////////
-KFileTreeViewItem* VCSFileTreeBranchItem::createTreeViewItem( KFileTreeViewItem* tqparent, KFileItem* fileItem )
+KFileTreeViewItem* VCSFileTreeBranchItem::createTreeViewItem( KFileTreeViewItem* parent, KFileItem* fileItem )
{
// kdDebug(9017) << "MyFileTreeBranch::createTreeViewItem(): " + fileItem->url().path() << endl;
- if (!tqparent || !fileItem)
+ if (!parent || !fileItem)
return 0;
- FileTreeWidget *lv = static_cast<filetreeview::FileTreeViewItem*>( tqparent )->listView();
+ FileTreeWidget *lv = static_cast<filetreeview::FileTreeViewItem*>( parent )->listView();
const KURL fileURL = fileItem->url();
const bool isDirectory = lv->isInProject( fileURL.path() );
- VCSFileTreeViewItem *newItem = new VCSFileTreeViewItem( tqparent, fileItem, this, isDirectory );
+ VCSFileTreeViewItem *newItem = new VCSFileTreeViewItem( parent, fileItem, this, isDirectory );
// TQString fileName = fileURL.fileName();
// TQString dirName = URLUtil::extractPathNameRelative( lv->projectDirectory(), fileURL.directory() );
@@ -182,8 +182,8 @@ private:
// class VCSFileTreeWidgetImpl
///////////////////////////////////////////////////////////////////////////////
-VCSFileTreeWidgetImpl::VCSFileTreeWidgetImpl( FileTreeWidget *tqparent, KDevVCSFileInfoProvider *infoProvider )
- : FileTreeViewWidgetImpl( tqparent, "vcsfiletreewidgetimpl" ),
+VCSFileTreeWidgetImpl::VCSFileTreeWidgetImpl( FileTreeWidget *parent, KDevVCSFileInfoProvider *infoProvider )
+ : FileTreeViewWidgetImpl( parent, "vcsfiletreewidgetimpl" ),
m_actionToggleShowVCSFields( 0 ), m_actionSyncWithRepository( 0 ), m_vcsInfoProvider( infoProvider ),
m_isSyncingWithRepository( false ), m_vcsStatusRequestedItem( 0 )
{
@@ -193,10 +193,10 @@ VCSFileTreeWidgetImpl::VCSFileTreeWidgetImpl( FileTreeWidget *tqparent, KDevVCSF
setBranchItemFactory( new VCSBranchItemFactory( m_vcsInfoProvider ) );
// Update the #define order on top if you change this order!
- tqparent->addColumn( "Filename" );
- tqparent->addColumn( "tqStatus" );
- tqparent->addColumn( "Work" );
- tqparent->addColumn( "Repo" );
+ parent->addColumn( "Filename" );
+ parent->addColumn( "tqStatus" );
+ parent->addColumn( "Work" );
+ parent->addColumn( "Repo" );
connect( m_vcsInfoProvider, TQT_SIGNAL(statusReady(const VCSFileInfoMap&, void *)),
this, TQT_SLOT(vcsDirStatusReady(const VCSFileInfoMap&, void*)) );
@@ -218,7 +218,7 @@ VCSFileTreeWidgetImpl::VCSFileTreeWidgetImpl( FileTreeWidget *tqparent, KDevVCSF
TQDomDocument &dom = projectDom();
m_actionToggleShowVCSFields->setChecked( DomUtil::readBoolEntry(dom, "/kdevfileview/tree/showvcsfields") );
slotToggleShowVCSFields( showVCSFields() ); // show or hide fields depending on read settings
- connect( tqparent, TQT_SIGNAL(expanded(TQListViewItem*)), this, TQT_SLOT(slotDirectoryExpanded(TQListViewItem*)));
+ connect( parent, TQT_SIGNAL(expanded(TQListViewItem*)), this, TQT_SLOT(slotDirectoryExpanded(TQListViewItem*)));
}
///////////////////////////////////////////////////////////////////////////////
diff --git a/parts/fileview/vcsfiletreewidgetimpl.h b/parts/fileview/vcsfiletreewidgetimpl.h
index b88766a5..ad9ccfab 100644
--- a/parts/fileview/vcsfiletreewidgetimpl.h
+++ b/parts/fileview/vcsfiletreewidgetimpl.h
@@ -27,7 +27,7 @@ class VCSFileTreeWidgetImpl : public FileTreeViewWidgetImpl
Q_OBJECT
TQ_OBJECT
public:
- VCSFileTreeWidgetImpl( FileTreeWidget *tqparent, KDevVCSFileInfoProvider *infoProvider );
+ VCSFileTreeWidgetImpl( FileTreeWidget *parent, KDevVCSFileInfoProvider *infoProvider );
virtual ~VCSFileTreeWidgetImpl();
/*
diff --git a/parts/filter/filterpart.cpp b/parts/filter/filterpart.cpp
index 9824cdc9..dbb0dfc6 100644
--- a/parts/filter/filterpart.cpp
+++ b/parts/filter/filterpart.cpp
@@ -29,8 +29,8 @@
static const KDevPluginInfo data("kdevfilter");
K_EXPORT_COMPONENT_FACTORY( libkdevfilter, FilterFactory( data ) )
-FilterPart::FilterPart(TQObject *tqparent, const char *name, const TQStringList &)
- : KDevPlugin(&data, tqparent, name ? name : "FilterPart")
+FilterPart::FilterPart(TQObject *parent, const char *name, const TQStringList &)
+ : KDevPlugin(&data, parent, name ? name : "FilterPart")
{
setInstance(FilterFactory::instance());
setXMLFile("kdevfilter.rc");
diff --git a/parts/filter/filterpart.h b/parts/filter/filterpart.h
index 939590ed..e845adcf 100644
--- a/parts/filter/filterpart.h
+++ b/parts/filter/filterpart.h
@@ -25,7 +25,7 @@ class FilterPart : public KDevPlugin
TQ_OBJECT
public:
- FilterPart( TQObject *tqparent, const char *name, const TQStringList & );
+ FilterPart( TQObject *parent, const char *name, const TQStringList & );
~FilterPart();
public slots:
diff --git a/parts/fullscreen/fullscreen_part.cpp b/parts/fullscreen/fullscreen_part.cpp
index 63e40e89..b3c2240f 100644
--- a/parts/fullscreen/fullscreen_part.cpp
+++ b/parts/fullscreen/fullscreen_part.cpp
@@ -27,8 +27,8 @@ static const KDevPluginInfo data("kdevfullscreen");
typedef KDevGenericFactory<FullScreenPart> FullScreenFactory;
K_EXPORT_COMPONENT_FACTORY( libkdevfullscreen, FullScreenFactory( data ) )
-FullScreenPart::FullScreenPart(TQObject *tqparent, const char *name, const TQStringList& )
- : KDevPlugin(&data, tqparent, name ? name : "FullScreenPart" )
+FullScreenPart::FullScreenPart(TQObject *parent, const char *name, const TQStringList& )
+ : KDevPlugin(&data, parent, name ? name : "FullScreenPart" )
{
setInstance(FullScreenFactory::instance());
// const KAboutData &abdata1 = *(info());
diff --git a/parts/fullscreen/fullscreen_part.h b/parts/fullscreen/fullscreen_part.h
index d248f686..0b5edd6e 100644
--- a/parts/fullscreen/fullscreen_part.h
+++ b/parts/fullscreen/fullscreen_part.h
@@ -22,7 +22,7 @@ class FullScreenPart : public KDevPlugin
Q_OBJECT
TQ_OBJECT
public:
- FullScreenPart(TQObject *tqparent, const char *name, const TQStringList &);
+ FullScreenPart(TQObject *parent, const char *name, const TQStringList &);
virtual ~FullScreenPart();
public slots:
diff --git a/parts/grepview/grepdlg.cpp b/parts/grepview/grepdlg.cpp
index 80c06c8b..db81ff76 100644
--- a/parts/grepview/grepdlg.cpp
+++ b/parts/grepview/grepdlg.cpp
@@ -80,8 +80,8 @@ const char *filepatterns[] = {
};
-GrepDialog::GrepDialog( GrepViewPart * part, TQWidget *tqparent, const char *name )
- : TQDialog(tqparent, name, false), m_part( part )
+GrepDialog::GrepDialog( GrepViewPart * part, TQWidget *parent, const char *name )
+ : TQDialog(parent, name, false), m_part( part )
{
setCaption(i18n("Find in Files"));
diff --git a/parts/grepview/grepdlg.h b/parts/grepview/grepdlg.h
index 294dd326..08931890 100644
--- a/parts/grepview/grepdlg.h
+++ b/parts/grepview/grepdlg.h
@@ -31,7 +31,7 @@ class GrepDialog : public TQDialog
TQ_OBJECT
public:
- GrepDialog( GrepViewPart * part, TQWidget *tqparent=0, const char *name=0 );
+ GrepDialog( GrepViewPart * part, TQWidget *parent=0, const char *name=0 );
~GrepDialog();
void setPattern(const TQString &pattern)
diff --git a/parts/grepview/grepviewpart.cpp b/parts/grepview/grepviewpart.cpp
index e404ad2d..741f3c43 100644
--- a/parts/grepview/grepviewpart.cpp
+++ b/parts/grepview/grepviewpart.cpp
@@ -34,8 +34,8 @@ static const KDevPluginInfo data("kdevgrepview");
K_EXPORT_COMPONENT_FACTORY(libkdevgrepview, GrepViewFactory(data))
-GrepViewPart::GrepViewPart( TQObject *tqparent, const char *name, const TQStringList & )
- : KDevPlugin( &data, tqparent, name ? name : "GrepViewPart" )
+GrepViewPart::GrepViewPart( TQObject *parent, const char *name, const TQStringList & )
+ : KDevPlugin( &data, parent, name ? name : "GrepViewPart" )
{
setInstance(GrepViewFactory::instance());
diff --git a/parts/grepview/grepviewpart.h b/parts/grepview/grepviewpart.h
index f33dd240..f318de75 100644
--- a/parts/grepview/grepviewpart.h
+++ b/parts/grepview/grepviewpart.h
@@ -28,7 +28,7 @@ class GrepViewPart : public KDevPlugin
TQ_OBJECT
public:
- GrepViewPart( TQObject *tqparent, const char *name, const TQStringList & );
+ GrepViewPart( TQObject *parent, const char *name, const TQStringList & );
~GrepViewPart();
private slots:
diff --git a/parts/grepview/grepviewwidget.h b/parts/grepview/grepviewwidget.h
index f0b57aff..cb517c81 100644
--- a/parts/grepview/grepviewwidget.h
+++ b/parts/grepview/grepviewwidget.h
@@ -27,7 +27,7 @@ class GrepViewProcessWidget : public ProcessWidget
Q_OBJECT
TQ_OBJECT
public:
- GrepViewProcessWidget(TQWidget* tqparent) : ProcessWidget(tqparent) {};
+ GrepViewProcessWidget(TQWidget* parent) : ProcessWidget(parent) {};
~GrepViewProcessWidget(){};
void setMatchCount(int newCount)
{
diff --git a/parts/konsole/konsoleviewpart.cpp b/parts/konsole/konsoleviewpart.cpp
index e752335a..c103a3a8 100644
--- a/parts/konsole/konsoleviewpart.cpp
+++ b/parts/konsole/konsoleviewpart.cpp
@@ -28,8 +28,8 @@ typedef KDevGenericFactory<KonsoleViewPart> KonsoleViewFactory;
static const KDevPluginInfo data("kdevkonsoleview");
K_EXPORT_COMPONENT_FACTORY(libkdevkonsoleview, KonsoleViewFactory(data))
-KonsoleViewPart::KonsoleViewPart(TQObject *tqparent, const char *name, const TQStringList &)
- : KDevPlugin(&data, tqparent, name ? name : "KonsoleViewPart")
+KonsoleViewPart::KonsoleViewPart(TQObject *parent, const char *name, const TQStringList &)
+ : KDevPlugin(&data, parent, name ? name : "KonsoleViewPart")
{
setInstance( KonsoleViewFactory::instance() );
diff --git a/parts/konsole/konsoleviewpart.h b/parts/konsole/konsoleviewpart.h
index 4731069b..2906daa7 100644
--- a/parts/konsole/konsoleviewpart.h
+++ b/parts/konsole/konsoleviewpart.h
@@ -24,7 +24,7 @@ class KonsoleViewPart : public KDevPlugin
Q_OBJECT
TQ_OBJECT
public:
- KonsoleViewPart(TQObject *tqparent, const char *name, const TQStringList &);
+ KonsoleViewPart(TQObject *parent, const char *name, const TQStringList &);
virtual ~KonsoleViewPart();
private slots:
diff --git a/parts/openwith/openwithpart.cpp b/parts/openwith/openwithpart.cpp
index bce4df7e..7fc1fcbe 100644
--- a/parts/openwith/openwithpart.cpp
+++ b/parts/openwith/openwithpart.cpp
@@ -21,8 +21,8 @@ typedef KDevGenericFactory<OpenWithPart> OpenWithFactory;
static const KDevPluginInfo data("kdevopenwith");
K_EXPORT_COMPONENT_FACTORY(libkdevopenwith, OpenWithFactory(data))
-OpenWithPart::OpenWithPart(TQObject *tqparent, const char *name, const TQStringList &)
- : KDevPlugin(&data, tqparent, name ? name : "OpenWithPart")
+OpenWithPart::OpenWithPart(TQObject *parent, const char *name, const TQStringList &)
+ : KDevPlugin(&data, parent, name ? name : "OpenWithPart")
{
setInstance( OpenWithFactory::instance() );
diff --git a/parts/openwith/openwithpart.h b/parts/openwith/openwithpart.h
index 0f72adf8..004faa79 100644
--- a/parts/openwith/openwithpart.h
+++ b/parts/openwith/openwithpart.h
@@ -16,7 +16,7 @@ class OpenWithPart : public KDevPlugin
public:
- OpenWithPart(TQObject *tqparent, const char *name, const TQStringList &);
+ OpenWithPart(TQObject *parent, const char *name, const TQStringList &);
~OpenWithPart();
diff --git a/parts/outputviews/appoutputviewpart.cpp b/parts/outputviews/appoutputviewpart.cpp
index 1b314464..4267a85e 100644
--- a/parts/outputviews/appoutputviewpart.cpp
+++ b/parts/outputviews/appoutputviewpart.cpp
@@ -33,8 +33,8 @@ static const KDevPluginInfo data("kdevappoutputview");
typedef KDevGenericFactory< AppOutputViewPart > AppViewFactory;
K_EXPORT_COMPONENT_FACTORY( libkdevappview, AppViewFactory( data ) )
-AppOutputViewPart::AppOutputViewPart(TQObject *tqparent, const char *name, const TQStringList &)
- : KDevAppFrontend(&data, tqparent, name ? name : "AppOutputViewPart")
+AppOutputViewPart::AppOutputViewPart(TQObject *parent, const char *name, const TQStringList &)
+ : KDevAppFrontend(&data, parent, name ? name : "AppOutputViewPart")
{
setInstance(AppViewFactory::instance());
diff --git a/parts/outputviews/appoutputviewpart.h b/parts/outputviews/appoutputviewpart.h
index bb26aad8..afcbeb77 100644
--- a/parts/outputviews/appoutputviewpart.h
+++ b/parts/outputviews/appoutputviewpart.h
@@ -26,7 +26,7 @@ class AppOutputViewPart : public KDevAppFrontend
TQ_OBJECT
public:
- AppOutputViewPart( TQObject *tqparent, const char *name, const TQStringList & );
+ AppOutputViewPart( TQObject *parent, const char *name, const TQStringList & );
~AppOutputViewPart();
virtual void startAppCommand(const TQString &directory, const TQString &command, bool inTerminal);
diff --git a/parts/outputviews/makeviewpart.cpp b/parts/outputviews/makeviewpart.cpp
index cd98a3e2..3e75a4d7 100644
--- a/parts/outputviews/makeviewpart.cpp
+++ b/parts/outputviews/makeviewpart.cpp
@@ -30,8 +30,8 @@ static const KDevPluginInfo data("kdevmakeview");
typedef KDevGenericFactory< MakeViewPart > MakeViewFactory;
K_EXPORT_COMPONENT_FACTORY( libkdevmakeview, MakeViewFactory( data ) )
-MakeViewPart::MakeViewPart(TQObject *tqparent, const char *name, const TQStringList &)
- : KDevMakeFrontend(&data, tqparent, name)
+MakeViewPart::MakeViewPart(TQObject *parent, const char *name, const TQStringList &)
+ : KDevMakeFrontend(&data, parent, name)
{
setInstance(MakeViewFactory::instance());
diff --git a/parts/outputviews/makeviewpart.h b/parts/outputviews/makeviewpart.h
index 0d70edaf..4694233f 100644
--- a/parts/outputviews/makeviewpart.h
+++ b/parts/outputviews/makeviewpart.h
@@ -26,7 +26,7 @@ class MakeViewPart : public KDevMakeFrontend
TQ_OBJECT
public:
- MakeViewPart( TQObject *tqparent, const char *name, const TQStringList & );
+ MakeViewPart( TQObject *parent, const char *name, const TQStringList & );
~MakeViewPart();
virtual TQWidget* widget();
virtual void updateSettingsFromConfig();
diff --git a/parts/partexplorer/partexplorer_plugin.cpp b/parts/partexplorer/partexplorer_plugin.cpp
index 5f6ae0f0..dbf2b554 100644
--- a/parts/partexplorer/partexplorer_plugin.cpp
+++ b/parts/partexplorer/partexplorer_plugin.cpp
@@ -28,8 +28,8 @@ static const KDevPluginInfo data("kdevpartexplorer");
typedef KDevGenericFactory<PartExplorerPlugin> PartExplorerPluginFactory;
K_EXPORT_COMPONENT_FACTORY( libkdevpartexplorer, PartExplorerPluginFactory( data ) )
-PartExplorerPlugin::PartExplorerPlugin( TQObject *tqparent, const char *name, const TQStringList & )
- : KDevPlugin( &data, tqparent, name ? name : "PartExplorerPlugin" )
+PartExplorerPlugin::PartExplorerPlugin( TQObject *parent, const char *name, const TQStringList & )
+ : KDevPlugin( &data, parent, name ? name : "PartExplorerPlugin" )
{
// we need an instance
setInstance( PartExplorerPluginFactory::instance() );
diff --git a/parts/partexplorer/partexplorer_plugin.h b/parts/partexplorer/partexplorer_plugin.h
index 826ae6ed..c4e8743d 100644
--- a/parts/partexplorer/partexplorer_plugin.h
+++ b/parts/partexplorer/partexplorer_plugin.h
@@ -29,7 +29,7 @@ public:
/**
* Default constructor
*/
- PartExplorerPlugin( TQObject *tqparent, const char *name, const TQStringList & );
+ PartExplorerPlugin( TQObject *parent, const char *name, const TQStringList & );
/**
* Destructor
diff --git a/parts/partexplorer/partexplorerform.cpp b/parts/partexplorer/partexplorerform.cpp
index d8b0cccf..a32aabb5 100644
--- a/parts/partexplorer/partexplorerform.cpp
+++ b/parts/partexplorer/partexplorerform.cpp
@@ -35,9 +35,9 @@ namespace PartExplorer{
class PropertyItem : public KListViewItem
{
public:
- PropertyItem( KListViewItem *tqparent, const TQString &propertyName,
+ PropertyItem( KListViewItem *parent, const TQString &propertyName,
const TQString &propertyType, const TQString &propertyValue )
- : KListViewItem( tqparent )
+ : KListViewItem( parent )
{
setText( 0, propertyName );
setText( 1, propertyType );
@@ -61,7 +61,7 @@ class ResultList;
class ResultsToolTip: public TQToolTip
{
public:
- ResultsToolTip( ResultsList* tqparent );
+ ResultsToolTip( ResultsList* parent );
virtual void maybeTip( const TQPoint& p );
private:
@@ -71,8 +71,8 @@ private:
class ResultsList : public KListView
{
public:
- ResultsList( TQWidget *tqparent )
- : KListView( tqparent, "resultslist" )
+ ResultsList( TQWidget *parent )
+ : KListView( parent, "resultslist" )
{
this->setShowToolTips( false );
new ResultsToolTip( this );
@@ -86,8 +86,8 @@ public:
}
};
-ResultsToolTip::ResultsToolTip( ResultsList* tqparent )
- : TQToolTip( tqparent->viewport() ), m_resultsList( tqparent )
+ResultsToolTip::ResultsToolTip( ResultsList* parent )
+ : TQToolTip( parent->viewport() ), m_resultsList( parent )
{
}
@@ -107,8 +107,8 @@ void ResultsToolTip::maybeTip( const TQPoint& p )
// class PartExplorerForm
///////////////////////////////////////////////////////////////////////////////
-PartExplorerForm::PartExplorerForm( TQWidget *tqparent )
- : KDialogBase( tqparent, "parteplorerform", false,
+PartExplorerForm::PartExplorerForm( TQWidget *parent )
+ : KDialogBase( parent, "parteplorerform", false,
i18n("Part Explorer - A Services Lister"), User1 | Close, User1, true )
{
m_base = new PartExplorerFormBase( this, "partexplorerformbase", 0 );
diff --git a/parts/partexplorer/partexplorerform.h b/parts/partexplorer/partexplorerform.h
index c28c37c0..ea4e638e 100644
--- a/parts/partexplorer/partexplorerform.h
+++ b/parts/partexplorer/partexplorerform.h
@@ -28,7 +28,7 @@ class PartExplorerForm : public KDialogBase
Q_OBJECT
TQ_OBJECT
public:
- PartExplorerForm( TQWidget *tqparent = 0 );
+ PartExplorerForm( TQWidget *parent = 0 );
virtual ~PartExplorerForm();
/**
diff --git a/parts/quickopen/quickopen_part.cpp b/parts/quickopen/quickopen_part.cpp
index f76701e7..2c1de0ce 100644
--- a/parts/quickopen/quickopen_part.cpp
+++ b/parts/quickopen/quickopen_part.cpp
@@ -49,8 +49,8 @@ K_EXPORT_COMPONENT_FACTORY( libkdevquickopen, QuickOpenFactory( data ) )
using namespace KTextEditor;
-QuickOpenPart::QuickOpenPart(TQObject *tqparent, const char *name, const TQStringList& )
- : KDevQuickOpen(&data, tqparent, name ? name : "QuickOpenPart" )
+QuickOpenPart::QuickOpenPart(TQObject *parent, const char *name, const TQStringList& )
+ : KDevQuickOpen(&data, parent, name ? name : "QuickOpenPart" )
{
setInstance(QuickOpenFactory::instance());
setXMLFile("kdevpart_quickopen.rc");
diff --git a/parts/quickopen/quickopen_part.h b/parts/quickopen/quickopen_part.h
index 6dbfb770..a651f39c 100644
--- a/parts/quickopen/quickopen_part.h
+++ b/parts/quickopen/quickopen_part.h
@@ -32,7 +32,7 @@ class QuickOpenPart : public KDevQuickOpen
Q_OBJECT
TQ_OBJECT
public:
- QuickOpenPart(TQObject *tqparent, const char *name, const TQStringList &);
+ QuickOpenPart(TQObject *parent, const char *name, const TQStringList &);
virtual ~QuickOpenPart();
void selectItem( ItemDom item );
diff --git a/parts/quickopen/quickopenclassdialog.cpp b/parts/quickopen/quickopenclassdialog.cpp
index 993ad9d6..df0f6023 100644
--- a/parts/quickopen/quickopenclassdialog.cpp
+++ b/parts/quickopen/quickopenclassdialog.cpp
@@ -35,8 +35,8 @@
#include "quickopen_part.h"
#include "quickopenfunctionchooseform.h"
-QuickOpenClassDialog::QuickOpenClassDialog(QuickOpenPart* part, TQWidget* tqparent, const char* name, bool modal, WFlags fl)
- : QuickOpenDialog( part, tqparent, name, modal, fl )
+QuickOpenClassDialog::QuickOpenClassDialog(QuickOpenPart* part, TQWidget* parent, const char* name, bool modal, WFlags fl)
+ : QuickOpenDialog( part, parent, name, modal, fl )
{
nameLabel->setText( i18n("Class &name:") );
itemListLabel->setText( i18n("Class &list:") );
diff --git a/parts/quickopen/quickopenclassdialog.h b/parts/quickopen/quickopenclassdialog.h
index 41423285..c3bf7597 100644
--- a/parts/quickopen/quickopenclassdialog.h
+++ b/parts/quickopen/quickopenclassdialog.h
@@ -32,7 +32,7 @@ class QuickOpenClassDialog : public QuickOpenDialog
Q_OBJECT
TQ_OBJECT
public:
- QuickOpenClassDialog(QuickOpenPart* part, TQWidget* tqparent = 0, const char* name = 0, bool modal = TRUE, WFlags fl = 0 );
+ QuickOpenClassDialog(QuickOpenPart* part, TQWidget* parent = 0, const char* name = 0, bool modal = TRUE, WFlags fl = 0 );
virtual ~QuickOpenClassDialog();
public slots:
diff --git a/parts/quickopen/quickopendialog.cpp b/parts/quickopen/quickopendialog.cpp
index b94e01f3..ee7884a9 100644
--- a/parts/quickopen/quickopendialog.cpp
+++ b/parts/quickopen/quickopendialog.cpp
@@ -28,8 +28,8 @@
#include "quickopendialog.h"
#include "quickopen_part.h"
-QuickOpenDialog::QuickOpenDialog(QuickOpenPart* part, TQWidget* tqparent, const char* name, bool modal, WFlags fl)
- : QuickOpenDialogBase( tqparent, name, modal, fl ), m_part( part )
+QuickOpenDialog::QuickOpenDialog(QuickOpenPart* part, TQWidget* parent, const char* name, bool modal, WFlags fl)
+ : QuickOpenDialogBase( parent, name, modal, fl ), m_part( part )
{
nameEdit->installEventFilter(this);
connect( &m_typeTimeout, TQT_SIGNAL(timeout()), this, TQT_SLOT(slotTextChangedDelayed()) );
diff --git a/parts/quickopen/quickopendialog.h b/parts/quickopen/quickopendialog.h
index 3b6fe84e..5e3f7a1f 100644
--- a/parts/quickopen/quickopendialog.h
+++ b/parts/quickopen/quickopendialog.h
@@ -37,7 +37,7 @@ class QuickOpenDialog : public QuickOpenDialogBase
TQ_OBJECT
public:
- QuickOpenDialog(QuickOpenPart* part, TQWidget* tqparent = 0, const char* name = 0, bool modal = TRUE, WFlags fl = 0 );
+ QuickOpenDialog(QuickOpenPart* part, TQWidget* parent = 0, const char* name = 0, bool modal = TRUE, WFlags fl = 0 );
virtual ~QuickOpenDialog();
virtual bool eventFilter(TQObject *watched, TQEvent *e);
diff --git a/parts/quickopen/quickopenfiledialog.cpp b/parts/quickopen/quickopenfiledialog.cpp
index 0ceeab21..04735816 100644
--- a/parts/quickopen/quickopenfiledialog.cpp
+++ b/parts/quickopen/quickopenfiledialog.cpp
@@ -35,8 +35,8 @@
#include "quickopenfiledialog.h"
#include "quickopen_part.h"
-QuickOpenFileDialog::QuickOpenFileDialog(QuickOpenPart* part, TQWidget* tqparent, const char* name, bool modal, WFlags fl)
- : QuickOpenDialog( part, tqparent, name, modal, fl ), m_hasFullPaths( false )
+QuickOpenFileDialog::QuickOpenFileDialog(QuickOpenPart* part, TQWidget* parent, const char* name, bool modal, WFlags fl)
+ : QuickOpenDialog( part, parent, name, modal, fl ), m_hasFullPaths( false )
{
nameLabel->setText( i18n("File &name:") );
itemListLabel->setText( i18n("File &list:") );
@@ -50,8 +50,8 @@ QuickOpenFileDialog::QuickOpenFileDialog(QuickOpenPart* part, TQWidget* tqparent
setFirstItemSelected();
}
-QuickOpenFileDialog::QuickOpenFileDialog(QuickOpenPart* part, const KURL::List & urls, TQWidget* tqparent, const char* name, bool modal, WFlags fl)
- : QuickOpenDialog( part, tqparent, name, modal, fl ), m_hasFullPaths( true )
+QuickOpenFileDialog::QuickOpenFileDialog(QuickOpenPart* part, const KURL::List & urls, TQWidget* parent, const char* name, bool modal, WFlags fl)
+ : QuickOpenDialog( part, parent, name, modal, fl ), m_hasFullPaths( true )
{
nameLabel->setText( i18n("File &name:") );
itemListLabel->setText( i18n("File &list:") );
diff --git a/parts/quickopen/quickopenfiledialog.h b/parts/quickopen/quickopenfiledialog.h
index 69c51316..268139a6 100644
--- a/parts/quickopen/quickopenfiledialog.h
+++ b/parts/quickopen/quickopenfiledialog.h
@@ -34,8 +34,8 @@ class QuickOpenFileDialog : public QuickOpenDialog
Q_OBJECT
TQ_OBJECT
public:
- QuickOpenFileDialog(QuickOpenPart* part, TQWidget* tqparent = 0, const char* name = 0, bool modal = TRUE, WFlags fl = 0 );
- QuickOpenFileDialog(QuickOpenPart* part, const KURL::List &, TQWidget* tqparent = 0, const char* name = 0, bool modal = TRUE, WFlags fl = 0 );
+ QuickOpenFileDialog(QuickOpenPart* part, TQWidget* parent = 0, const char* name = 0, bool modal = TRUE, WFlags fl = 0 );
+ QuickOpenFileDialog(QuickOpenPart* part, const KURL::List &, TQWidget* parent = 0, const char* name = 0, bool modal = TRUE, WFlags fl = 0 );
virtual ~QuickOpenFileDialog();
public slots:
diff --git a/parts/quickopen/quickopenfunctionchooseform.cpp b/parts/quickopen/quickopenfunctionchooseform.cpp
index 63d487b8..8e7a959d 100644
--- a/parts/quickopen/quickopenfunctionchooseform.cpp
+++ b/parts/quickopen/quickopenfunctionchooseform.cpp
@@ -28,8 +28,8 @@
#include "quickopenfunctionchooseform.h"
-QuickOpenFunctionChooseForm::QuickOpenFunctionChooseForm(TQWidget* tqparent, const char* name, bool modal, WFlags fl)
-: QuickOpenFunctionChooseFormBase(tqparent,name, modal,fl)
+QuickOpenFunctionChooseForm::QuickOpenFunctionChooseForm(TQWidget* parent, const char* name, bool modal, WFlags fl)
+: QuickOpenFunctionChooseFormBase(parent,name, modal,fl)
{
setCaption( i18n("Select One Argument or File of Function %1").tqarg( name ) );
slotArgsChange( 0 );
diff --git a/parts/quickopen/quickopenfunctionchooseform.h b/parts/quickopen/quickopenfunctionchooseform.h
index 1119b4fa..33ad5ef3 100644
--- a/parts/quickopen/quickopenfunctionchooseform.h
+++ b/parts/quickopen/quickopenfunctionchooseform.h
@@ -31,7 +31,7 @@ class QuickOpenFunctionChooseForm : public QuickOpenFunctionChooseFormBase
TQ_OBJECT
public:
- QuickOpenFunctionChooseForm(TQWidget* tqparent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 );
+ QuickOpenFunctionChooseForm(TQWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 );
~QuickOpenFunctionChooseForm();
void setRelativePath(int id, const TQString &path) { m_relPaths[id] = path; }
diff --git a/parts/quickopen/quickopenfunctiondialog.cpp b/parts/quickopen/quickopenfunctiondialog.cpp
index 3887ced4..859597f5 100644
--- a/parts/quickopen/quickopenfunctiondialog.cpp
+++ b/parts/quickopen/quickopenfunctiondialog.cpp
@@ -39,8 +39,8 @@
#include "quickopenfunctionchooseform.h"
#include "quickopenfunctiondialog.h"
-QuickOpenFunctionDialog::QuickOpenFunctionDialog( QuickOpenPart *part, TQWidget* tqparent, const char* name, bool modal, WFlags fl)
-: QuickOpenDialog(part, tqparent, name, modal, fl)
+QuickOpenFunctionDialog::QuickOpenFunctionDialog( QuickOpenPart *part, TQWidget* parent, const char* name, bool modal, WFlags fl)
+: QuickOpenDialog(part, parent, name, modal, fl)
{
nameLabel->setText( i18n("Function &name:") );
itemListLabel->setText( i18n("Function &list:") );
diff --git a/parts/quickopen/quickopenfunctiondialog.h b/parts/quickopen/quickopenfunctiondialog.h
index 24da168b..47c16bc8 100644
--- a/parts/quickopen/quickopenfunctiondialog.h
+++ b/parts/quickopen/quickopenfunctiondialog.h
@@ -35,7 +35,7 @@ class QuickOpenFunctionDialog : public QuickOpenDialog
TQ_OBJECT
public:
- QuickOpenFunctionDialog( QuickOpenPart* part, TQWidget* tqparent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 );
+ QuickOpenFunctionDialog( QuickOpenPart* part, TQWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 );
~QuickOpenFunctionDialog();
void gotoFile( TQString name );
diff --git a/parts/regexptest/regexptestpart.cpp b/parts/regexptest/regexptestpart.cpp
index a991171a..8a3c8bd5 100644
--- a/parts/regexptest/regexptestpart.cpp
+++ b/parts/regexptest/regexptestpart.cpp
@@ -24,8 +24,8 @@ static const KDevPluginInfo data("kdevregexptest");
typedef KDevGenericFactory<RegexpTestPart> RegexpTestFactory;
K_EXPORT_COMPONENT_FACTORY( libkdevregexptest, RegexpTestFactory( data ) )
-RegexpTestPart::RegexpTestPart(TQObject *tqparent, const char *name, const TQStringList &)
- : KDevPlugin(&data, tqparent, name ? name : "RegexpTestPart")
+RegexpTestPart::RegexpTestPart(TQObject *parent, const char *name, const TQStringList &)
+ : KDevPlugin(&data, parent, name ? name : "RegexpTestPart")
{
setInstance(RegexpTestFactory::instance());
setXMLFile("kdevregexptest.rc");
diff --git a/parts/regexptest/regexptestpart.h b/parts/regexptest/regexptestpart.h
index 5318b86e..61dbe9e3 100644
--- a/parts/regexptest/regexptestpart.h
+++ b/parts/regexptest/regexptestpart.h
@@ -25,7 +25,7 @@ class RegexpTestPart : public KDevPlugin
TQ_OBJECT
public:
- RegexpTestPart( TQObject *tqparent, const char *name, const TQStringList & );
+ RegexpTestPart( TQObject *parent, const char *name, const TQStringList & );
~RegexpTestPart();
private slots:
diff --git a/parts/replace/replace_part.cpp b/parts/replace/replace_part.cpp
index 3e8242e8..e808ab70 100644
--- a/parts/replace/replace_part.cpp
+++ b/parts/replace/replace_part.cpp
@@ -29,8 +29,8 @@ static const KDevPluginInfo data("kdevreplace");
typedef KDevGenericFactory<ReplacePart> ReplaceFactory;
K_EXPORT_COMPONENT_FACTORY(libkdevreplace, ReplaceFactory(data))
-ReplacePart::ReplacePart(TQObject *tqparent, const char *name, const TQStringList& )
- : KDevPlugin( &data, tqparent, name ? name : "ReplacePart" )
+ReplacePart::ReplacePart(TQObject *parent, const char *name, const TQStringList& )
+ : KDevPlugin( &data, parent, name ? name : "ReplacePart" )
{
setInstance(ReplaceFactory::instance());
setXMLFile("kdevpart_replace.rc");
diff --git a/parts/replace/replace_part.h b/parts/replace/replace_part.h
index efad03bd..65c0fe54 100644
--- a/parts/replace/replace_part.h
+++ b/parts/replace/replace_part.h
@@ -28,7 +28,7 @@ class ReplacePart : public KDevPlugin
TQ_OBJECT
public:
- ReplacePart(TQObject *tqparent, const char *name, const TQStringList &);
+ ReplacePart(TQObject *parent, const char *name, const TQStringList &);
~ReplacePart();
public slots:
diff --git a/parts/replace/replacedlgimpl.cpp b/parts/replace/replacedlgimpl.cpp
index 87be28f9..b0c5bffd 100644
--- a/parts/replace/replacedlgimpl.cpp
+++ b/parts/replace/replacedlgimpl.cpp
@@ -37,8 +37,8 @@ TQString escape(const TQString &str)
}
-ReplaceDlgImpl::ReplaceDlgImpl(TQWidget* tqparent, const char* name, bool modal, WFlags fl)
- : ReplaceDlg(tqparent,name, modal,fl), _regexp_dialog( 0 )
+ReplaceDlgImpl::ReplaceDlgImpl(TQWidget* parent, const char* name, bool modal, WFlags fl)
+ : ReplaceDlg(parent,name, modal,fl), _regexp_dialog( 0 )
{
connect( find_button, TQT_SIGNAL( clicked() ), TQT_SLOT( saveComboHistories() ) );
diff --git a/parts/replace/replacedlgimpl.h b/parts/replace/replacedlgimpl.h
index 73d49cb5..4ae8e86c 100644
--- a/parts/replace/replacedlgimpl.h
+++ b/parts/replace/replacedlgimpl.h
@@ -12,7 +12,7 @@ class ReplaceDlgImpl : public ReplaceDlg
TQ_OBJECT
public:
- ReplaceDlgImpl(TQWidget* tqparent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 );
+ ReplaceDlgImpl(TQWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 );
~ReplaceDlgImpl();
TQRegExp expressionPattern();
diff --git a/parts/replace/replaceitem.cpp b/parts/replace/replaceitem.cpp
index 087e2b1f..853c170d 100644
--- a/parts/replace/replaceitem.cpp
+++ b/parts/replace/replaceitem.cpp
@@ -45,18 +45,18 @@ void ReplaceItem::setChecked( bool checked )
{
if ( !isFile() ) // this is a child item
{
- if ( checked || !(tqparent()->hasCheckedChildren()))
+ if ( checked || !(parent()->hasCheckedChildren()))
{
- if ( tqparent()->isOn() != checked )
+ if ( parent()->isOn() != checked )
{
- tqparent()->_clicked = false;
- tqparent()->setOn( checked );
+ parent()->_clicked = false;
+ parent()->setOn( checked );
}
}
return;
}
- // this is a tqparent item, set self and tqchildren
+ // this is a parent item, set self and tqchildren
ReplaceItem * item = firstChild();
while ( item )
{
diff --git a/parts/replace/replaceitem.h b/parts/replace/replaceitem.h
index 8d4f3fd3..aa8f1700 100644
--- a/parts/replace/replaceitem.h
+++ b/parts/replace/replaceitem.h
@@ -22,8 +22,8 @@ class ReplaceItem : public TQCheckListItem
{
public:
// the file item
- ReplaceItem( ReplaceView * tqparent, ReplaceItem * after, TQString file ) :
- TQCheckListItem( tqparent,
+ ReplaceItem( ReplaceView * parent, ReplaceItem * after, TQString file ) :
+ TQCheckListItem( parent,
after,
file, TQCheckListItem::CheckBox ),
_file( file ), _string( file ), _line( 0 ), _isfile( true ),
@@ -34,8 +34,8 @@ public:
}
// the line item
- ReplaceItem( ReplaceItem * tqparent, ReplaceItem * after, TQString file, TQString string, int line ) :
- TQCheckListItem( tqparent,
+ ReplaceItem( ReplaceItem * parent, ReplaceItem * after, TQString file, TQString string, int line ) :
+ TQCheckListItem( parent,
after,
TQString::number( line + 1 ) + ": " + string, TQCheckListItem::CheckBox ),
_file( file ), _string( string ), _line( line ), _isfile( false ),
@@ -76,9 +76,9 @@ public:
return _lineclicked;
}
- ReplaceItem * tqparent() const
+ ReplaceItem * parent() const
{
- return static_cast<ReplaceItem*>( TQListViewItem::tqparent() );
+ return static_cast<ReplaceItem*>( TQListViewItem::parent() );
}
ReplaceItem * firstChild() const
diff --git a/parts/replace/replaceview.cpp b/parts/replace/replaceview.cpp
index b81b7dbb..4d5c4b41 100644
--- a/parts/replace/replaceview.cpp
+++ b/parts/replace/replaceview.cpp
@@ -27,7 +27,7 @@ ReplaceItem * ReplaceView::firstChild() const
}
-ReplaceView::ReplaceView( TQWidget * tqparent ) : KListView( tqparent ), _latestfile( 0 )
+ReplaceView::ReplaceView( TQWidget * parent ) : KListView( parent ), _latestfile( 0 )
{
setSorting( -1 );
addColumn( "" );
diff --git a/parts/scripting/scriptingglobalconfig.cpp b/parts/scripting/scriptingglobalconfig.cpp
index 6314306e..78749465 100644
--- a/parts/scripting/scriptingglobalconfig.cpp
+++ b/parts/scripting/scriptingglobalconfig.cpp
@@ -24,8 +24,8 @@
#include <keditlistbox.h>
#include <kapplication.h>
#include <kconfig.h>
-scriptingGlobalConfig::scriptingGlobalConfig(scriptingPart *part, TQWidget *tqparent, const char *name)
- : scriptingGlobalConfigBase(tqparent, name), m_part(part)
+scriptingGlobalConfig::scriptingGlobalConfig(scriptingPart *part, TQWidget *parent, const char *name)
+ : scriptingGlobalConfigBase(parent, name), m_part(part)
{
// read kconfig and post list to the m_dirs
KConfig *cfg = kapp->config();
diff --git a/parts/scripting/scriptingglobalconfig.h b/parts/scripting/scriptingglobalconfig.h
index 3d132d58..424a64c0 100644
--- a/parts/scripting/scriptingglobalconfig.h
+++ b/parts/scripting/scriptingglobalconfig.h
@@ -30,7 +30,7 @@ class scriptingGlobalConfig: public scriptingGlobalConfigBase
Q_OBJECT
TQ_OBJECT
public:
- scriptingGlobalConfig(scriptingPart *part, TQWidget *tqparent = 0, const char *name = 0);
+ scriptingGlobalConfig(scriptingPart *part, TQWidget *parent = 0, const char *name = 0);
public slots:
void accept();
diff --git a/parts/scripting/scriptingpart.cpp b/parts/scripting/scriptingpart.cpp
index 7a332fd8..0501ecd9 100644
--- a/parts/scripting/scriptingpart.cpp
+++ b/parts/scripting/scriptingpart.cpp
@@ -47,8 +47,8 @@ K_EXPORT_COMPONENT_FACTORY( libkdevscripting, scriptingFactory( data ) )
#define GLOBALDOC_OPTIONS 1
#define PROJECTDOC_OPTIONS 2
-scriptingPart::scriptingPart(TQObject *tqparent, const char *name, const TQStringList &/*args*/)
- : KDevPlugin(&data, tqparent, name ? name : "scriptingPart"), m_scripts(0L)
+scriptingPart::scriptingPart(TQObject *parent, const char *name, const TQStringList &/*args*/)
+ : KDevPlugin(&data, parent, name ? name : "scriptingPart"), m_scripts(0L)
{
setInstance(scriptingFactory::instance());
setXMLFile("kdevscripting.rc");
diff --git a/parts/scripting/scriptingpart.h b/parts/scripting/scriptingpart.h
index 8465764d..ea891dd2 100644
--- a/parts/scripting/scriptingpart.h
+++ b/parts/scripting/scriptingpart.h
@@ -39,7 +39,7 @@ class scriptingPart: public KDevPlugin
Q_OBJECT
TQ_OBJECT
public:
- scriptingPart(TQObject *tqparent, const char *name, const TQStringList &args);
+ scriptingPart(TQObject *parent, const char *name, const TQStringList &args);
~scriptingPart();
public slots:
diff --git a/parts/snippet/snippet_part.cpp b/parts/snippet/snippet_part.cpp
index e130d1e6..3224a891 100644
--- a/parts/snippet/snippet_part.cpp
+++ b/parts/snippet/snippet_part.cpp
@@ -37,8 +37,8 @@ static const KDevPluginInfo data("kdevsnippet");
typedef KDevGenericFactory<SnippetPart> snippetFactory;
K_EXPORT_COMPONENT_FACTORY( libkdevsnippet, snippetFactory( data ) )
-SnippetPart::SnippetPart(TQObject *tqparent, const char *name, const TQStringList& )
- : KDevPlugin(&data, tqparent, name ? name : "SnippetPart" )
+SnippetPart::SnippetPart(TQObject *parent, const char *name, const TQStringList& )
+ : KDevPlugin(&data, parent, name ? name : "SnippetPart" )
{
setInstance(snippetFactory::instance());
setXMLFile("kdevpart_snippet.rc");
diff --git a/parts/snippet/snippet_part.h b/parts/snippet/snippet_part.h
index f9f7bc93..78212a1a 100644
--- a/parts/snippet/snippet_part.h
+++ b/parts/snippet/snippet_part.h
@@ -31,7 +31,7 @@ class SnippetPart : public KDevPlugin
public:
- SnippetPart(TQObject *tqparent, const char *name, const TQStringList &);
+ SnippetPart(TQObject *parent, const char *name, const TQStringList &);
~SnippetPart();
KAboutData * aboutData();
TQStringList getAllLanguages();
diff --git a/parts/snippet/snippet_widget.cpp b/parts/snippet/snippet_widget.cpp
index e460cb67..9bcfa55c 100644
--- a/parts/snippet/snippet_widget.cpp
+++ b/parts/snippet/snippet_widget.cpp
@@ -85,7 +85,7 @@ SnippetWidget::~SnippetWidget()
writeConfig();
delete _cfg;
- /* We need to delete the child items before the tqparent items
+ /* We need to delete the child items before the parent items
otherwise KDevelop would crash on exiting */
SnippetItem * item;
while (_list.count() > 0) {
@@ -111,7 +111,7 @@ void SnippetWidget::slotAdd()
which the selected item is a child of*/
SnippetGroup * group = dynamic_cast<SnippetGroup*>(selectedItem());
if (!group)
- group = dynamic_cast<SnippetGroup*>(selectedItem()->tqparent());
+ group = dynamic_cast<SnippetGroup*>(selectedItem()->parent());
/*fill the combobox with the names of all SnippetGroup entries*/
for (SnippetItem *it=_list.first(); it; it=_list.next()) {
@@ -218,10 +218,10 @@ void SnippetWidget::slotEdit()
pSnippet->setName( dlg.snippetName->text() );
pSnippet->setText( dlg.snippetText->text() );
- /* if the user changed the tqparent we need to move the snippet */
+ /* if the user changed the parent we need to move the snippet */
if ( SnippetItem::findGroupById(pSnippet->getParent(), _list)->getName() != dlg.cbGroup->currentText() ) {
SnippetGroup * newGroup = dynamic_cast<SnippetGroup*>(SnippetItem::findItemByName(dlg.cbGroup->currentText(), _list));
- pSnippet->tqparent()->takeItem(pSnippet);
+ pSnippet->parent()->takeItem(pSnippet);
newGroup->insertItem(pSnippet);
pSnippet->resetParent();
}
@@ -917,7 +917,7 @@ void SnippetWidget::slotDropped(TQDropEvent *e, TQListViewItem *)
SnippetGroup *group = dynamic_cast<SnippetGroup *>(item2);
if (!group)
- group = dynamic_cast<SnippetGroup *>(item2->tqparent());
+ group = dynamic_cast<SnippetGroup *>(item2->parent());
TQCString dropped;
TQByteArray data = e->tqencodedData("text/plain");
diff --git a/parts/snippet/snippetitem.cpp b/parts/snippet/snippetitem.cpp
index 69010a5d..e2f08a2b 100644
--- a/parts/snippet/snippetitem.cpp
+++ b/parts/snippet/snippetitem.cpp
@@ -11,20 +11,20 @@
#include "snippetitem.h"
-SnippetItem::SnippetItem(TQListView * tqparent, TQString name, TQString text )
- : TQListViewItem( tqparent, name )
+SnippetItem::SnippetItem(TQListView * parent, TQString name, TQString text )
+ : TQListViewItem( parent, name )
{
strName = name;
strText = text;
iParent = -1;
}
-SnippetItem::SnippetItem(TQListViewItem * tqparent, TQString name, TQString text)
- : TQListViewItem( tqparent, name )
+SnippetItem::SnippetItem(TQListViewItem * parent, TQString name, TQString text)
+ : TQListViewItem( parent, name )
{
strName = name;
strText = text;
- iParent = ((SnippetGroup *)tqparent)->getId();
+ iParent = ((SnippetGroup *)parent)->getId();
}
SnippetItem::~SnippetItem()
@@ -69,7 +69,7 @@ void SnippetItem::setName(TQString name)
void SnippetItem::resetParent()
{
- SnippetGroup * group = dynamic_cast<SnippetGroup*>(tqparent());
+ SnippetGroup * group = dynamic_cast<SnippetGroup*>(parent());
if (group)
iParent = group->getId();
}
@@ -100,8 +100,8 @@ Deklaration for class SnippetGroup
int SnippetGroup::iMaxId = 1;
-SnippetGroup::SnippetGroup(TQListView * tqparent, TQString name, int id, TQString lang)
- : SnippetItem(tqparent, name, "GROUP")
+SnippetGroup::SnippetGroup(TQListView * parent, TQString name, int id, TQString lang)
+ : SnippetItem(parent, name, "GROUP")
{
if (id > 0) {
iId = id;
diff --git a/parts/snippet/snippetitem.h b/parts/snippet/snippetitem.h
index d96ecd5b..ee181725 100644
--- a/parts/snippet/snippetitem.h
+++ b/parts/snippet/snippetitem.h
@@ -24,7 +24,7 @@ It also holds the needed data for one snippet.
class SnippetItem : public TQListViewItem {
friend class SnippetGroup;
public:
- SnippetItem(TQListViewItem * tqparent, TQString name, TQString text);
+ SnippetItem(TQListViewItem * parent, TQString name, TQString text);
~SnippetItem();
TQString getName();
@@ -37,7 +37,7 @@ public:
static SnippetGroup * findGroupById(int id, TQPtrList<SnippetItem> &list);
private:
- SnippetItem(TQListView * tqparent, TQString name, TQString text);
+ SnippetItem(TQListView * parent, TQString name, TQString text);
TQString strName;
TQString strText;
int iParent;
@@ -51,7 +51,7 @@ it in the main TQPtrList<SnippetItem>.
*/
class SnippetGroup : public SnippetItem {
public:
- SnippetGroup(TQListView * tqparent, TQString name, int id, TQString lang=i18n("All"));
+ SnippetGroup(TQListView * parent, TQString name, int id, TQString lang=i18n("All"));
~SnippetGroup();
int getId() { return iId; }
diff --git a/parts/snippet/snippetsettings.cpp b/parts/snippet/snippetsettings.cpp
index d66094e7..8e559ba5 100644
--- a/parts/snippet/snippetsettings.cpp
+++ b/parts/snippet/snippetsettings.cpp
@@ -15,14 +15,14 @@
#include "snippet_widget.h"
-SnippetSettings::SnippetSettings(TQWidget *tqparent, const char *name)
- : SnippetSettingsBase(tqparent, name)
+SnippetSettings::SnippetSettings(TQWidget *parent, const char *name)
+ : SnippetSettingsBase(parent, name)
{
_widget = NULL;
}
-SnippetSettings::SnippetSettings(SnippetWidget * w, TQWidget *tqparent, const char *name)
- : SnippetSettingsBase(tqparent, name)
+SnippetSettings::SnippetSettings(SnippetWidget * w, TQWidget *parent, const char *name)
+ : SnippetSettingsBase(parent, name)
{
_cfg = w->getSnippetConfig();
_widget = w;
diff --git a/parts/snippet/snippetsettings.h b/parts/snippet/snippetsettings.h
index 44c84e33..62b228b1 100644
--- a/parts/snippet/snippetsettings.h
+++ b/parts/snippet/snippetsettings.h
@@ -26,8 +26,8 @@ class SnippetSettings : public SnippetSettingsBase
Q_OBJECT
TQ_OBJECT
public:
- SnippetSettings(TQWidget *tqparent = 0, const char *name = 0);
- SnippetSettings(SnippetWidget * w, TQWidget *tqparent = 0, const char *name = 0);
+ SnippetSettings(TQWidget *parent = 0, const char *name = 0);
+ SnippetSettings(SnippetWidget * w, TQWidget *parent = 0, const char *name = 0);
~SnippetSettings();
diff --git a/parts/texttools/texttoolspart.cpp b/parts/texttools/texttoolspart.cpp
index 3697b89f..332d97e3 100644
--- a/parts/texttools/texttoolspart.cpp
+++ b/parts/texttools/texttoolspart.cpp
@@ -28,8 +28,8 @@ typedef KDevGenericFactory<TextToolsPart> TextToolsFactory;
static const KDevPluginInfo data("kdevtexttools");
K_EXPORT_COMPONENT_FACTORY( libkdevtexttools, TextToolsFactory( data ) )
-TextToolsPart::TextToolsPart(TQObject *tqparent, const char *name, const TQStringList &)
- : KDevPlugin(&data, tqparent, name ? name : "TextToolsPart")
+TextToolsPart::TextToolsPart(TQObject *parent, const char *name, const TQStringList &)
+ : KDevPlugin(&data, parent, name ? name : "TextToolsPart")
{
setInstance(TextToolsFactory::instance());
// setXMLFile("kdevfileview.rc");
diff --git a/parts/texttools/texttoolspart.h b/parts/texttools/texttoolspart.h
index 42443c48..2f2768ab 100644
--- a/parts/texttools/texttoolspart.h
+++ b/parts/texttools/texttoolspart.h
@@ -25,7 +25,7 @@ class TextToolsPart : public KDevPlugin
TQ_OBJECT
public:
- TextToolsPart( TQObject *tqparent, const char *name, const TQStringList & );
+ TextToolsPart( TQObject *parent, const char *name, const TQStringList & );
~TextToolsPart();
private slots:
diff --git a/parts/texttools/texttoolswidget.cpp b/parts/texttools/texttoolswidget.cpp
index 269c8136..a6815959 100644
--- a/parts/texttools/texttoolswidget.cpp
+++ b/parts/texttools/texttoolswidget.cpp
@@ -30,11 +30,11 @@
class TextStructItem : public TQListViewItem
{
public:
- TextStructItem(TQListView *tqparent)
- : TQListViewItem(tqparent)
+ TextStructItem(TQListView *parent)
+ : TQListViewItem(parent)
{}
- TextStructItem(TQListViewItem *tqparent)
- : TQListViewItem(tqparent)
+ TextStructItem(TQListViewItem *parent)
+ : TQListViewItem(parent)
{
TQListViewItem *item = this;
while (item->nextSibling())
@@ -48,7 +48,7 @@ public:
return extra.isNull()? tag : TQString("%1: %2").tqarg(tag).tqarg(extra);
}
TextStructItem *parentStructItem()
- { return static_cast<TextStructItem*>(tqparent()); }
+ { return static_cast<TextStructItem*>(parent()); }
TQString tag;
TQString extra;
@@ -57,8 +57,8 @@ public:
};
-TextToolsWidget::TextToolsWidget(TextToolsPart *part, TQWidget *tqparent, const char *name)
- : KListView(tqparent, name)
+TextToolsWidget::TextToolsWidget(TextToolsPart *part, TQWidget *parent, const char *name)
+ : KListView(parent, name)
{
setResizeMode(TQListView::LastColumn);
setSorting(-1);
@@ -297,9 +297,9 @@ void TextToolsWidget::parseXML()
}
TextStructItem *closingItem = currentItem;
- while (closingItem->tqparent() && closingItem->tag != tag)
+ while (closingItem->parent() && closingItem->tag != tag)
closingItem = closingItem->parentStructItem();
- if (closingItem->tqparent()) {
+ if (closingItem->parent()) {
closingItem->endpos = endpos;
currentItem = closingItem->parentStructItem();
} else {
@@ -377,7 +377,7 @@ void TextToolsWidget::parseLaTeX()
TQString title = re.cap(2);
kdDebug(9030) << "Match with " << tag << " and title " << title << endl;
int level = hierarchyLevels.find(tag);
- while (currentItem->tqparent() && level <= hierarchyLevels.find(currentItem->tag))
+ while (currentItem->parent() && level <= hierarchyLevels.find(currentItem->tag))
currentItem = currentItem->parentStructItem();
TextStructItem *item = new TextStructItem(currentItem);
diff --git a/parts/texttools/texttoolswidget.h b/parts/texttools/texttoolswidget.h
index edbd834b..0d5593a2 100644
--- a/parts/texttools/texttoolswidget.h
+++ b/parts/texttools/texttoolswidget.h
@@ -29,7 +29,7 @@ class TextToolsWidget : public KListView
public:
enum Mode { HTML, Docbook, LaTeX };
- TextToolsWidget( TextToolsPart *part, TQWidget *tqparent=0, const char *name=0 );
+ TextToolsWidget( TextToolsPart *part, TQWidget *parent=0, const char *name=0 );
~TextToolsWidget();
void setMode(Mode mode, KParts::Part *part);
diff --git a/parts/tipofday/tipofday_part.cpp b/parts/tipofday/tipofday_part.cpp
index 02195822..e1de784a 100644
--- a/parts/tipofday/tipofday_part.cpp
+++ b/parts/tipofday/tipofday_part.cpp
@@ -24,8 +24,8 @@ static const KDevPluginInfo data("kdevtipofday");
typedef KDevGenericFactory<TipOfDayPart> TipOfDayFactory;
K_EXPORT_COMPONENT_FACTORY( libkdevtipofday, TipOfDayFactory( data ) )
-TipOfDayPart::TipOfDayPart(TQObject *tqparent, const char *name, const TQStringList &)
- : KDevPlugin(&data, tqparent, name ? name : "TipOfDayPart")
+TipOfDayPart::TipOfDayPart(TQObject *parent, const char *name, const TQStringList &)
+ : KDevPlugin(&data, parent, name ? name : "TipOfDayPart")
{
setInstance(TipOfDayFactory::instance());
diff --git a/parts/tipofday/tipofday_part.h b/parts/tipofday/tipofday_part.h
index faf3ca19..83bedf04 100644
--- a/parts/tipofday/tipofday_part.h
+++ b/parts/tipofday/tipofday_part.h
@@ -17,7 +17,7 @@ class TipOfDayPart : public KDevPlugin
public:
- TipOfDayPart(TQObject *tqparent, const char *name, const TQStringList &);
+ TipOfDayPart(TQObject *parent, const char *name, const TQStringList &);
public slots:
diff --git a/parts/tools/kapplicationtree.cpp b/parts/tools/kapplicationtree.cpp
index 1844ba06..7db56d91 100644
--- a/parts/tools/kapplicationtree.cpp
+++ b/parts/tools/kapplicationtree.cpp
@@ -65,9 +65,9 @@ template class TQPtrList<TQString>;
// ----------------------------------------------------------------------
-KDevAppTreeListItem::KDevAppTreeListItem( KListView* tqparent, const TQString & name,
+KDevAppTreeListItem::KDevAppTreeListItem( KListView* parent, const TQString & name,
const TQPixmap& pixmap, bool parse, bool dir, const TQString& p, const TQString& c, const TQString& dE )
- : TQListViewItem( tqparent, name )
+ : TQListViewItem( parent, name )
{
init(pixmap, parse, dir, p, c, dE);
}
@@ -75,9 +75,9 @@ KDevAppTreeListItem::KDevAppTreeListItem( KListView* tqparent, const TQString &
// ----------------------------------------------------------------------
-KDevAppTreeListItem::KDevAppTreeListItem( TQListViewItem* tqparent, const TQString & name,
+KDevAppTreeListItem::KDevAppTreeListItem( TQListViewItem* parent, const TQString & name,
const TQPixmap& pixmap, bool parse, bool dir, const TQString& p, const TQString& c, const TQString& dE )
- : TQListViewItem( tqparent, name )
+ : TQListViewItem( parent, name )
{
init(pixmap, parse, dir, p, c, dE);
}
@@ -118,7 +118,7 @@ void KDevAppTreeListItem::activate()
void KDevAppTreeListItem::setOpen( bool o )
{
if( o && !parsed ) { // fill the tqchildren before opening
- ((KDevApplicationTree *) tqparent())->addDesktopGroup( path, this );
+ ((KDevApplicationTree *) parent())->addDesktopGroup( path, this );
parsed = true;
}
TQListViewItem::setOpen( o );
@@ -131,8 +131,8 @@ bool KDevAppTreeListItem::isDirectory()
// ----------------------------------------------------------------------
-KDevApplicationTree::KDevApplicationTree( TQWidget *tqparent, const char* name )
- : KListView( tqparent, name ), currentitem(0)
+KDevApplicationTree::KDevApplicationTree( TQWidget *parent, const char* name )
+ : KListView( parent, name ), currentitem(0)
{
addColumn( i18n("Known Applications") );
setRootIsDecorated( true );
diff --git a/parts/tools/kapplicationtree.h b/parts/tools/kapplicationtree.h
index 2e869889..4887d848 100644
--- a/parts/tools/kapplicationtree.h
+++ b/parts/tools/kapplicationtree.h
@@ -50,9 +50,9 @@ protected:
void init(const TQPixmap& pixmap, bool parse, bool dir, const TQString& _path, const TQString& _exec, const TQString& _dEntry);
public:
- KDevAppTreeListItem( KListView* tqparent, const TQString & name, const TQPixmap& pixmap,
+ KDevAppTreeListItem( KListView* parent, const TQString & name, const TQPixmap& pixmap,
bool parse, bool dir, const TQString& p, const TQString& c, const TQString& dE );
- KDevAppTreeListItem( TQListViewItem* tqparent, const TQString & name, const TQPixmap& pixmap,
+ KDevAppTreeListItem( TQListViewItem* parent, const TQString & name, const TQPixmap& pixmap,
bool parse, bool dir, const TQString& p, const TQString& c, const TQString& dE );
bool isDirectory();
@@ -76,7 +76,7 @@ class KDevApplicationTree : public KListView
Q_OBJECT
TQ_OBJECT
public:
- KDevApplicationTree( TQWidget *tqparent, const char* name = 0 );
+ KDevApplicationTree( TQWidget *parent, const char* name = 0 );
/**
* Add a group of .desktop/.kdelnk entries
diff --git a/parts/tools/tools_part.cpp b/parts/tools/tools_part.cpp
index b6420714..ef30ffa8 100644
--- a/parts/tools/tools_part.cpp
+++ b/parts/tools/tools_part.cpp
@@ -39,8 +39,8 @@ K_EXPORT_COMPONENT_FACTORY( libkdevtools, ToolsFactory( data ) )
TQMap<int, TQString> externalToolMenuEntries;
-ToolsPart::ToolsPart(TQObject *tqparent, const char *name, const TQStringList &)
- : KDevPlugin( &data, tqparent, name ? name : "ToolsPart")
+ToolsPart::ToolsPart(TQObject *parent, const char *name, const TQStringList &)
+ : KDevPlugin( &data, parent, name ? name : "ToolsPart")
{
setInstance(ToolsFactory::instance());
diff --git a/parts/tools/tools_part.h b/parts/tools/tools_part.h
index 5654d1ef..6b24b7b9 100644
--- a/parts/tools/tools_part.h
+++ b/parts/tools/tools_part.h
@@ -27,7 +27,7 @@ class ToolsPart : public KDevPlugin
public:
- ToolsPart( TQObject *tqparent, const char *name, const TQStringList & );
+ ToolsPart( TQObject *parent, const char *name, const TQStringList & );
~ToolsPart();
diff --git a/parts/tools/toolsconfig.cpp b/parts/tools/toolsconfig.cpp
index 915490d1..1b4c90f3 100644
--- a/parts/tools/toolsconfig.cpp
+++ b/parts/tools/toolsconfig.cpp
@@ -17,8 +17,8 @@
#include "kapplicationtree.h"
-ToolsConfig::ToolsConfig(TQWidget *tqparent, const char *name)
- : TQWidget(tqparent, name), _tree(0)
+ToolsConfig::ToolsConfig(TQWidget *parent, const char *name)
+ : TQWidget(parent, name), _tree(0)
{
_entries.setAutoDelete(true);
}
diff --git a/parts/tools/toolsconfig.h b/parts/tools/toolsconfig.h
index 81ae27ab..4b5cf26f 100644
--- a/parts/tools/toolsconfig.h
+++ b/parts/tools/toolsconfig.h
@@ -31,7 +31,7 @@ class ToolsConfig : public TQWidget
public:
- ToolsConfig(TQWidget *tqparent = 0, const char *name = 0);
+ ToolsConfig(TQWidget *parent = 0, const char *name = 0);
public slots:
diff --git a/parts/tools/toolsconfigwidget.cpp b/parts/tools/toolsconfigwidget.cpp
index da96adad..b4643b26 100644
--- a/parts/tools/toolsconfigwidget.cpp
+++ b/parts/tools/toolsconfigwidget.cpp
@@ -41,8 +41,8 @@ struct ToolsConfigEntry
};
-ToolsConfigWidget::ToolsConfigWidget(TQWidget *tqparent, const char *name)
- : ToolsConfigWidgetBase(tqparent, name)
+ToolsConfigWidget::ToolsConfigWidget(TQWidget *parent, const char *name)
+ : ToolsConfigWidgetBase(parent, name)
{
m_toolsmenuEntries.setAutoDelete(true);
m_filecontextEntries.setAutoDelete(true);
diff --git a/parts/tools/toolsconfigwidget.h b/parts/tools/toolsconfigwidget.h
index d0b468ac..37812bac 100644
--- a/parts/tools/toolsconfigwidget.h
+++ b/parts/tools/toolsconfigwidget.h
@@ -26,7 +26,7 @@ class ToolsConfigWidget : public ToolsConfigWidgetBase
TQ_OBJECT
public:
- ToolsConfigWidget(TQWidget *tqparent=0, const char *name=0);
+ ToolsConfigWidget(TQWidget *parent=0, const char *name=0);
~ToolsConfigWidget();
public slots:
diff --git a/parts/uimode/uichooser_part.cpp b/parts/uimode/uichooser_part.cpp
index 64a07b70..855f4daf 100644
--- a/parts/uimode/uichooser_part.cpp
+++ b/parts/uimode/uichooser_part.cpp
@@ -18,8 +18,8 @@ typedef KDevGenericFactory<UIChooserPart> UIChooserFactory;
static const KDevPluginInfo data("kdevuichooser");
K_EXPORT_COMPONENT_FACTORY( libkdevuichooser, UIChooserFactory( data ) )
-UIChooserPart::UIChooserPart(TQObject *tqparent, const char *name, const TQStringList &)
- : KDevPlugin( &data, tqparent, name ? name : "UIChooserPart")
+UIChooserPart::UIChooserPart(TQObject *parent, const char *name, const TQStringList &)
+ : KDevPlugin( &data, parent, name ? name : "UIChooserPart")
{
setInstance(UIChooserFactory::instance());
diff --git a/parts/uimode/uichooser_part.h b/parts/uimode/uichooser_part.h
index 1e48d35b..a6b79532 100644
--- a/parts/uimode/uichooser_part.h
+++ b/parts/uimode/uichooser_part.h
@@ -18,7 +18,7 @@ class UIChooserPart : public KDevPlugin
TQ_OBJECT
public:
- UIChooserPart(TQObject *tqparent, const char *name, const TQStringList &);
+ UIChooserPart(TQObject *parent, const char *name, const TQStringList &);
~UIChooserPart();
private slots:
diff --git a/parts/uimode/uichooser_widget.cpp b/parts/uimode/uichooser_widget.cpp
index 064380e0..2fe6b919 100644
--- a/parts/uimode/uichooser_widget.cpp
+++ b/parts/uimode/uichooser_widget.cpp
@@ -27,8 +27,8 @@
#include "kdevmainwindow.h"
#include "uichooser_widget.h"
-UIChooserWidget::UIChooserWidget( UIChooserPart * part, TQWidget *tqparent, const char *name)
- : UIChooser(tqparent, name)
+UIChooserWidget::UIChooserWidget( UIChooserPart * part, TQWidget *parent, const char *name)
+ : UIChooser(parent, name)
,m_part(part), _lastMode(0L)
{
load();
diff --git a/parts/uimode/uichooser_widget.h b/parts/uimode/uichooser_widget.h
index 4901f1af..67b45142 100644
--- a/parts/uimode/uichooser_widget.h
+++ b/parts/uimode/uichooser_widget.h
@@ -21,7 +21,7 @@ public:
_NeverShowTabs = 2
};
- UIChooserWidget( UIChooserPart * part, TQWidget *tqparent=0, const char *name=0 );
+ UIChooserWidget( UIChooserPart * part, TQWidget *parent=0, const char *name=0 );
public slots:
void accept();
diff --git a/parts/valgrind/valgrind_dialog.cpp b/parts/valgrind/valgrind_dialog.cpp
index 5caa2db6..cfca7074 100644
--- a/parts/valgrind/valgrind_dialog.cpp
+++ b/parts/valgrind/valgrind_dialog.cpp
@@ -16,8 +16,8 @@
#include "valgrind_dialog.moc"
-ValgrindDialog::ValgrindDialog( Type type, TQWidget* tqparent )
- : KDialogBase( tqparent, "valgrind dialog", true, i18n("Valgrind Memory Check"), Ok|Cancel ),
+ValgrindDialog::ValgrindDialog( Type type, TQWidget* parent )
+ : KDialogBase( parent, "valgrind dialog", true, i18n("Valgrind Memory Check"), Ok|Cancel ),
m_type(type)
{
w = new DialogWidget( this );
diff --git a/parts/valgrind/valgrind_dialog.h b/parts/valgrind/valgrind_dialog.h
index d3422b80..0d5153ee 100644
--- a/parts/valgrind/valgrind_dialog.h
+++ b/parts/valgrind/valgrind_dialog.h
@@ -18,7 +18,7 @@ class ValgrindDialog : public KDialogBase
public:
enum Type { Memcheck = 0, Calltree = 1 };
- ValgrindDialog( Type type, TQWidget* tqparent = 0 );
+ ValgrindDialog( Type type, TQWidget* parent = 0 );
~ValgrindDialog();
// the app to check
diff --git a/parts/valgrind/valgrind_part.cpp b/parts/valgrind/valgrind_part.cpp
index 064129cf..abf10a6d 100644
--- a/parts/valgrind/valgrind_part.cpp
+++ b/parts/valgrind/valgrind_part.cpp
@@ -26,8 +26,8 @@ typedef KDevGenericFactory<ValgrindPart> ValgrindFactory;
static const KDevPluginInfo data("kdevvalgrind");
K_EXPORT_COMPONENT_FACTORY( libkdevvalgrind, ValgrindFactory( data ) )
-ValgrindPart::ValgrindPart( TQObject *tqparent, const char *name, const TQStringList& )
- : KDevPlugin( &data, tqparent, name ? name : "ValgrindPart" )
+ValgrindPart::ValgrindPart( TQObject *parent, const char *name, const TQStringList& )
+ : KDevPlugin( &data, parent, name ? name : "ValgrindPart" )
{
setInstance( ValgrindFactory::instance() );
setXMLFile( "kdevpart_valgrind.rc" );
diff --git a/parts/valgrind/valgrind_part.h b/parts/valgrind/valgrind_part.h
index f7e3a4cf..4c5ab785 100644
--- a/parts/valgrind/valgrind_part.h
+++ b/parts/valgrind/valgrind_part.h
@@ -19,7 +19,7 @@ class ValgrindPart : public KDevPlugin
TQ_OBJECT
public:
- ValgrindPart( TQObject *tqparent, const char *name, const TQStringList & );
+ ValgrindPart( TQObject *parent, const char *name, const TQStringList & );
~ValgrindPart();
void runValgrind( const TQString& exec, const TQString& parameters, const TQString& valExec, const TQString& valParameters );
diff --git a/parts/valgrind/valgrind_widget.cpp b/parts/valgrind/valgrind_widget.cpp
index 00eca21e..074a2c38 100644
--- a/parts/valgrind/valgrind_widget.cpp
+++ b/parts/valgrind/valgrind_widget.cpp
@@ -24,15 +24,15 @@
class ValListViewItem: public TQListViewItem
{
public:
- ValListViewItem( TQListView* tqparent, int key, int pid, const TQString& message ):
- TQListViewItem( tqparent, TQString::number( key ), TQString::number( pid ), message ),
+ ValListViewItem( TQListView* parent, int key, int pid, const TQString& message ):
+ TQListViewItem( parent, TQString::number( key ), TQString::number( pid ), message ),
_key( key ), _pid ( pid ), backtrace( false ), _line( -1 ), _active( false ) {}
- ValListViewItem( ValListViewItem* tqparent, int key, int pid, const TQString& message, const TQString& filename, int line, bool active ):
- TQListViewItem( tqparent, TQString::number( key ), TQString(), message ),
+ ValListViewItem( ValListViewItem* parent, int key, int pid, const TQString& message, const TQString& filename, int line, bool active ):
+ TQListViewItem( parent, TQString::number( key ), TQString(), message ),
_key( key ), _pid( pid ), backtrace( true ), _filename( filename ), _line( line ), _active( active )
{
- if ( tqparent->_pid != _pid && _pid > 0 )
+ if ( parent->_pid != _pid && _pid > 0 )
setText( 1, TQString::number( _pid ) );
}
diff --git a/parts/vcsmanager/vcsmanagerpart.cpp b/parts/vcsmanager/vcsmanagerpart.cpp
index 16cad089..43e8bdb7 100644
--- a/parts/vcsmanager/vcsmanagerpart.cpp
+++ b/parts/vcsmanager/vcsmanagerpart.cpp
@@ -48,8 +48,8 @@ K_EXPORT_COMPONENT_FACTORY( libkdevvcsmanager, VCSManagerFactory( data ) )
#define GLOBALDOC_OPTIONS 1
#define PROJECTDOC_OPTIONS 2
-VCSManagerPart::VCSManagerPart(TQObject *tqparent, const char *name, const TQStringList &/*args*/)
- : KDevPlugin(&data, tqparent, name ? name : "VCSManagerPart")
+VCSManagerPart::VCSManagerPart(TQObject *parent, const char *name, const TQStringList &/*args*/)
+ : KDevPlugin(&data, parent, name ? name : "VCSManagerPart")
{
kdDebug() << " ********** VCSManagerPart::VCSManagerPart() ************** " << endl;
diff --git a/parts/vcsmanager/vcsmanagerpart.h b/parts/vcsmanager/vcsmanagerpart.h
index 2d135b73..5edd77ac 100644
--- a/parts/vcsmanager/vcsmanagerpart.h
+++ b/parts/vcsmanager/vcsmanagerpart.h
@@ -40,7 +40,7 @@ class VCSManagerPart: public KDevPlugin
Q_OBJECT
TQ_OBJECT
public:
- VCSManagerPart(TQObject *tqparent, const char *name, const TQStringList &args);
+ VCSManagerPart(TQObject *parent, const char *name, const TQStringList &args);
~VCSManagerPart();
TQString vcsPlugin();
void loadVCSPlugin();
diff --git a/parts/vcsmanager/vcsmanagerprojectconfig.cpp b/parts/vcsmanager/vcsmanagerprojectconfig.cpp
index 2202484b..ef2f9568 100644
--- a/parts/vcsmanager/vcsmanagerprojectconfig.cpp
+++ b/parts/vcsmanager/vcsmanagerprojectconfig.cpp
@@ -28,8 +28,8 @@
#include "vcsmanagerprojectconfig.h"
#include "vcsmanagerpart.h"
-VCSManagerProjectConfig::VCSManagerProjectConfig( VCSManagerPart *part, TQWidget *tqparent, const char *name )
- : VCSManagerProjectConfigBase( tqparent, name ), m_part( part )
+VCSManagerProjectConfig::VCSManagerProjectConfig( VCSManagerPart *part, TQWidget *parent, const char *name )
+ : VCSManagerProjectConfigBase( parent, name ), m_part( part )
{
setup();
}
diff --git a/parts/vcsmanager/vcsmanagerprojectconfig.h b/parts/vcsmanager/vcsmanagerprojectconfig.h
index 9dbe0b27..9d4774f9 100644
--- a/parts/vcsmanager/vcsmanagerprojectconfig.h
+++ b/parts/vcsmanager/vcsmanagerprojectconfig.h
@@ -31,7 +31,7 @@ class VCSManagerProjectConfig: public VCSManagerProjectConfigBase
Q_OBJECT
TQ_OBJECT
public:
- VCSManagerProjectConfig( VCSManagerPart *part, TQWidget *tqparent = 0, const char *name = 0);
+ VCSManagerProjectConfig( VCSManagerPart *part, TQWidget *parent = 0, const char *name = 0);
public slots:
void accept();