diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
commit | 32b67ac0690de411b26b1d5e715b188c27442248 (patch) | |
tree | 43167816a3df6b3a877d71c9a7963ed270dcc8c9 /languages | |
parent | 330c33ab6f97b279737bf9527c9add7bb1475450 (diff) | |
download | tdevelop-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 'languages')
267 files changed, 941 insertions, 941 deletions
diff --git a/languages/ada/adasupportpart.cpp b/languages/ada/adasupportpart.cpp index c1caf305..85374ee4 100644 --- a/languages/ada/adasupportpart.cpp +++ b/languages/ada/adasupportpart.cpp @@ -50,8 +50,8 @@ struct AdaSupportPartData { AdaSupportPartData () : problemReporter (0) {} }; -AdaSupportPart::AdaSupportPart (TQObject *tqparent, const char *name, const TQStringList &) - : KDevLanguageSupport (&data, tqparent, name ? name : "AdaSupportPart"), d (new AdaSupportPartData()) +AdaSupportPart::AdaSupportPart (TQObject *parent, const char *name, const TQStringList &) + : KDevLanguageSupport (&data, parent, name ? name : "AdaSupportPart"), d (new AdaSupportPartData()) { setInstance (AdaSupportPartFactory::instance ()); diff --git a/languages/ada/adasupportpart.h b/languages/ada/adasupportpart.h index a2e01a5f..6d32c18a 100644 --- a/languages/ada/adasupportpart.h +++ b/languages/ada/adasupportpart.h @@ -15,7 +15,7 @@ class AdaSupportPart : public KDevLanguageSupport Q_OBJECT TQ_OBJECT public: - AdaSupportPart (TQObject *tqparent, const char *name, const TQStringList &); + AdaSupportPart (TQObject *parent, const char *name, const TQStringList &); ~AdaSupportPart (); void parseContents (const TQString& contents, const TQString& fileName); diff --git a/languages/ada/problemreporter.cpp b/languages/ada/problemreporter.cpp index 23ef2981..616f8449 100644 --- a/languages/ada/problemreporter.cpp +++ b/languages/ada/problemreporter.cpp @@ -52,13 +52,13 @@ class ProblemItem: public TQListViewItem{ public: - ProblemItem( TQListView* tqparent, const TQString& level, const TQString& problem, + ProblemItem( TQListView* parent, const TQString& level, const TQString& problem, const TQString& file, const TQString& line, const TQString& column ) - : TQListViewItem( tqparent, level, problem, file, line, column ) {} + : TQListViewItem( parent, level, problem, file, line, column ) {} - ProblemItem( TQListViewItem* tqparent, const TQString& level, const TQString& problem, + ProblemItem( TQListViewItem* parent, const TQString& level, const TQString& problem, const TQString& file, const TQString& line, const TQString& column ) - : TQListViewItem( tqparent, level, problem, file, line, column ) {} + : TQListViewItem( parent, level, problem, file, line, column ) {} int compare( TQListViewItem* item, int column, bool ascending ) const { if( column == 3 || column == 4 ){ @@ -73,8 +73,8 @@ public: }; -ProblemReporter::ProblemReporter( AdaSupportPart* part, TQWidget* tqparent, const char* name ) - : TQListView( tqparent, name ), +ProblemReporter::ProblemReporter( AdaSupportPart* part, TQWidget* parent, const char* name ) + : TQListView( parent, name ), m_adaSupport( part ), m_editor( 0 ), m_document( 0 ), diff --git a/languages/ada/problemreporter.h b/languages/ada/problemreporter.h index 84c9ce57..5ac12154 100644 --- a/languages/ada/problemreporter.h +++ b/languages/ada/problemreporter.h @@ -41,7 +41,7 @@ class ProblemReporter: public TQListView{ Q_OBJECT TQ_OBJECT public: - ProblemReporter( AdaSupportPart* part, TQWidget* tqparent=0, const char* name=0 ); + ProblemReporter( AdaSupportPart* part, TQWidget* parent=0, const char* name=0 ); virtual ~ProblemReporter(); virtual void reportError( TQString message, TQString filename, diff --git a/languages/bash/bashsupport_part.cpp b/languages/bash/bashsupport_part.cpp index 4b167623..a36761a8 100644 --- a/languages/bash/bashsupport_part.cpp +++ b/languages/bash/bashsupport_part.cpp @@ -36,8 +36,8 @@ typedef KDevGenericFactory<BashSupportPart> BashSupportFactory; static const KDevPluginInfo data("kdevbashsupport"); K_EXPORT_COMPONENT_FACTORY( libkdevbashsupport, BashSupportFactory( data ) ) -BashSupportPart::BashSupportPart(TQObject *tqparent, const char *name, const TQStringList& ) -: KDevLanguageSupport (&data, tqparent, name ? name : "BashSupportPart" ) +BashSupportPart::BashSupportPart(TQObject *parent, const char *name, const TQStringList& ) +: KDevLanguageSupport (&data, parent, name ? name : "BashSupportPart" ) { setInstance(BashSupportFactory::instance()); setXMLFile("kdevbashsupport.rc"); diff --git a/languages/bash/bashsupport_part.h b/languages/bash/bashsupport_part.h index b083a32a..a05e93f9 100644 --- a/languages/bash/bashsupport_part.h +++ b/languages/bash/bashsupport_part.h @@ -52,7 +52,7 @@ class BashSupportPart : public KDevLanguageSupport Q_OBJECT TQ_OBJECT public: - BashSupportPart(TQObject *tqparent, const char *name, const TQStringList &); + BashSupportPart(TQObject *parent, const char *name, const TQStringList &); virtual ~BashSupportPart(); protected: diff --git a/languages/cpp/addattributedialog.cpp b/languages/cpp/addattributedialog.cpp index 84929a22..fcc59880 100644 --- a/languages/cpp/addattributedialog.cpp +++ b/languages/cpp/addattributedialog.cpp @@ -41,8 +41,8 @@ #include <tqtextstream.h> AddAttributeDialog::AddAttributeDialog( CppSupportPart* cppSupport, ClassDom klass, - TQWidget* tqparent, const char* name, bool modal, WFlags fl ) -: AddAttributeDialogBase( tqparent, name, modal, fl ), m_cppSupport( cppSupport ), m_klass( klass ), m_count( 0 ) + TQWidget* parent, const char* name, bool modal, WFlags fl ) +: AddAttributeDialogBase( parent, name, modal, fl ), m_cppSupport( cppSupport ), m_klass( klass ), m_count( 0 ) { access->insertStringList( TQStringList() << "Public" << "Protected" << "Private" ); diff --git a/languages/cpp/addattributedialog.h b/languages/cpp/addattributedialog.h index ffe2a92d..948eefa7 100644 --- a/languages/cpp/addattributedialog.h +++ b/languages/cpp/addattributedialog.h @@ -32,7 +32,7 @@ class AddAttributeDialog : public AddAttributeDialogBase TQ_OBJECT public: AddAttributeDialog( CppSupportPart* cppSupport, ClassDom klass, - 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 ); ~AddAttributeDialog(); virtual void addAttribute(); diff --git a/languages/cpp/addmethoddialog.cpp b/languages/cpp/addmethoddialog.cpp index 80397074..b7ffe02c 100644 --- a/languages/cpp/addmethoddialog.cpp +++ b/languages/cpp/addmethoddialog.cpp @@ -44,8 +44,8 @@ #include <tqtextstream.h> AddMethodDialog::AddMethodDialog( CppSupportPart* cppSupport, ClassDom klass, - TQWidget* tqparent, const char* name, bool modal, WFlags fl ) -: AddMethodDialogBase( tqparent, name, modal, fl ), m_cppSupport( cppSupport ), m_klass( klass ), m_count( 0 ) + TQWidget* parent, const char* name, bool modal, WFlags fl ) +: AddMethodDialogBase( parent, name, modal, fl ), m_cppSupport( cppSupport ), m_klass( klass ), m_count( 0 ) { TQString fileName = m_klass->fileName(); diff --git a/languages/cpp/addmethoddialog.h b/languages/cpp/addmethoddialog.h index 70ab9958..f0bb1f2d 100644 --- a/languages/cpp/addmethoddialog.h +++ b/languages/cpp/addmethoddialog.h @@ -32,7 +32,7 @@ class AddMethodDialog : public AddMethodDialogBase TQ_OBJECT public: AddMethodDialog( CppSupportPart* cppSupport, ClassDom klass, - 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 ); ~AddMethodDialog(); virtual void addMethod(); diff --git a/languages/cpp/app_templates/kapp/appview.cpp b/languages/cpp/app_templates/kapp/appview.cpp index 5b42a36a..5f9d906a 100644 --- a/languages/cpp/app_templates/kapp/appview.cpp +++ b/languages/cpp/app_templates/kapp/appview.cpp @@ -13,8 +13,8 @@ #include <krun.h> #include <klocale.h> -%{APPNAME}View::%{APPNAME}View(TQWidget *tqparent) - : TQWidget(tqparent), +%{APPNAME}View::%{APPNAME}View(TQWidget *parent) + : TQWidget(parent), DCOPObject("%{APPNAME}Iface") { // setup our tqlayout manager to automatically add our widgets diff --git a/languages/cpp/app_templates/kapp/appview.h b/languages/cpp/app_templates/kapp/appview.h index 2eab2322..a32c35a0 100644 --- a/languages/cpp/app_templates/kapp/appview.h +++ b/languages/cpp/app_templates/kapp/appview.h @@ -29,7 +29,7 @@ public: /** * Default constructor */ - %{APPNAME}View(TQWidget *tqparent); + %{APPNAME}View(TQWidget *parent); /** * Destructor diff --git a/languages/cpp/app_templates/kapp/pref.cpp b/languages/cpp/app_templates/kapp/pref.cpp index 3d720a65..673df14e 100644 --- a/languages/cpp/app_templates/kapp/pref.cpp +++ b/languages/cpp/app_templates/kapp/pref.cpp @@ -22,8 +22,8 @@ m_pageTwo = new %{APPNAME}PrefPageTwo(frame); } -%{APPNAME}PrefPageOne::%{APPNAME}PrefPageOne(TQWidget *tqparent) - : TQFrame(tqparent) +%{APPNAME}PrefPageOne::%{APPNAME}PrefPageOne(TQWidget *parent) + : TQFrame(parent) { TQHBoxLayout *tqlayout = new TQHBoxLayout(this); tqlayout->setAutoAdd(true); @@ -31,8 +31,8 @@ new TQLabel(i18n("Add something here"), this); } -%{APPNAME}PrefPageTwo::%{APPNAME}PrefPageTwo(TQWidget *tqparent) - : TQFrame(tqparent) +%{APPNAME}PrefPageTwo::%{APPNAME}PrefPageTwo(TQWidget *parent) + : TQFrame(parent) { TQHBoxLayout *tqlayout = new TQHBoxLayout(this); tqlayout->setAutoAdd(true); diff --git a/languages/cpp/app_templates/kapp/pref.h b/languages/cpp/app_templates/kapp/pref.h index 23798000..b22ab262 100644 --- a/languages/cpp/app_templates/kapp/pref.h +++ b/languages/cpp/app_templates/kapp/pref.h @@ -26,7 +26,7 @@ class %{APPNAME}PrefPageOne : public TQFrame Q_OBJECT TQ_OBJECT public: - %{APPNAME}PrefPageOne(TQWidget *tqparent = 0); + %{APPNAME}PrefPageOne(TQWidget *parent = 0); }; class %{APPNAME}PrefPageTwo : public TQFrame @@ -34,7 +34,7 @@ class %{APPNAME}PrefPageTwo : public TQFrame Q_OBJECT TQ_OBJECT public: - %{APPNAME}PrefPageTwo(TQWidget *tqparent = 0); + %{APPNAME}PrefPageTwo(TQWidget *parent = 0); }; #endif // _%{APPNAMEUC}PREF_H_ diff --git a/languages/cpp/app_templates/kateplugin/plugin_app.cpp b/languages/cpp/app_templates/kateplugin/plugin_app.cpp index 8c729f72..1a40df32 100644 --- a/languages/cpp/app_templates/kateplugin/plugin_app.cpp +++ b/languages/cpp/app_templates/kateplugin/plugin_app.cpp @@ -33,15 +33,15 @@ KatePluginFactory::~KatePluginFactory() delete s_instance; } -TQObject* KatePluginFactory::createObject( TQObject* tqparent, const char* name, const char*, const TQStringList & ) +TQObject* KatePluginFactory::createObject( TQObject* parent, const char* name, const char*, const TQStringList & ) { - return new KatePlugin%{APPNAME}( tqparent, name ); + return new KatePlugin%{APPNAME}( parent, name ); } KInstance* KatePluginFactory::s_instance = 0L; -KatePlugin%{APPNAME}::KatePlugin%{APPNAME}( TQObject* tqparent, const char* name ) - : Kate::Plugin ( (Kate::Application*)tqparent, name ) +KatePlugin%{APPNAME}::KatePlugin%{APPNAME}( TQObject* parent, const char* name ) + : Kate::Plugin ( (Kate::Application*)parent, name ) { } diff --git a/languages/cpp/app_templates/kateplugin/plugin_app.h b/languages/cpp/app_templates/kateplugin/plugin_app.h index 2183e88e..53e46d06 100644 --- a/languages/cpp/app_templates/kateplugin/plugin_app.h +++ b/languages/cpp/app_templates/kateplugin/plugin_app.h @@ -23,7 +23,7 @@ class KatePluginFactory : public KLibFactory KatePluginFactory(); virtual ~KatePluginFactory(); - virtual TQObject* createObject( TQObject* tqparent = 0, const char* pname = 0, const char* name = TQOBJECT_OBJECT_NAME_STRING, const TQStringList &args = TQStringList() ); + virtual TQObject* createObject( TQObject* parent = 0, const char* pname = 0, const char* name = TQOBJECT_OBJECT_NAME_STRING, const TQStringList &args = TQStringList() ); private: static KInstance* s_instance; @@ -35,7 +35,7 @@ class KatePlugin%{APPNAME} : public Kate::Plugin, Kate::PluginViewInterface TQ_OBJECT public: - KatePlugin%{APPNAME}( TQObject* tqparent = 0, const char* name = 0 ); + KatePlugin%{APPNAME}( TQObject* parent = 0, const char* name = 0 ); virtual ~KatePlugin%{APPNAME}(); void addView (Kate::MainWindow *win); diff --git a/languages/cpp/app_templates/kateplugin2/plugin_app.cpp b/languages/cpp/app_templates/kateplugin2/plugin_app.cpp index 1670f252..18595d10 100644 --- a/languages/cpp/app_templates/kateplugin2/plugin_app.cpp +++ b/languages/cpp/app_templates/kateplugin2/plugin_app.cpp @@ -37,15 +37,15 @@ KatePluginFactory::~KatePluginFactory() delete s_instance; } -TQObject* KatePluginFactory::createObject( TQObject* tqparent, const char* name, const char*, const TQStringList & ) +TQObject* KatePluginFactory::createObject( TQObject* parent, const char* name, const char*, const TQStringList & ) { - return new KatePlugin%{APPNAME}( tqparent, name ); + return new KatePlugin%{APPNAME}( parent, name ); } KInstance* KatePluginFactory::s_instance = 0L; -KatePlugin%{APPNAME}::KatePlugin%{APPNAME}( TQObject* tqparent, const char* name ) - : Kate::Plugin ( (Kate::Application*)tqparent, name ) +KatePlugin%{APPNAME}::KatePlugin%{APPNAME}( TQObject* parent, const char* name ) + : Kate::Plugin ( (Kate::Application*)parent, name ) { } @@ -114,7 +114,7 @@ void KatePlugin%{APPNAME}::slotApplyConfig( %{APPNAME}ConfigPage* p ) /** * %{APPNAME}ConfigPage */ -%{APPNAME}ConfigPage::%{APPNAME}ConfigPage (TQObject* tqparent /*= 0L*/, TQWidget *parentWidget /*= 0L*/) +%{APPNAME}ConfigPage::%{APPNAME}ConfigPage (TQObject* parent /*= 0L*/, TQWidget *parentWidget /*= 0L*/) : Kate::PluginConfigPage( parentWidget ) { TQVBoxLayout* lo = new TQVBoxLayout( this, 0, 0, "config_page_layout" ); diff --git a/languages/cpp/app_templates/kateplugin2/plugin_app.h b/languages/cpp/app_templates/kateplugin2/plugin_app.h index 3550a344..297c0b4c 100644 --- a/languages/cpp/app_templates/kateplugin2/plugin_app.h +++ b/languages/cpp/app_templates/kateplugin2/plugin_app.h @@ -27,7 +27,7 @@ public: KatePluginFactory(); virtual ~KatePluginFactory(); - virtual TQObject* createObject( TQObject* tqparent = 0, const char* pname = 0, const char* name = TQOBJECT_OBJECT_NAME_STRING, const TQStringList &args = TQStringList() ); + virtual TQObject* createObject( TQObject* parent = 0, const char* pname = 0, const char* name = TQOBJECT_OBJECT_NAME_STRING, const TQStringList &args = TQStringList() ); private: static KInstance* s_instance; @@ -39,7 +39,7 @@ class KatePlugin%{APPNAME} : public Kate::Plugin, Kate::PluginViewInterface, Kat TQ_OBJECT public: - KatePlugin%{APPNAME}( TQObject* tqparent = 0, const char* name = 0 ); + KatePlugin%{APPNAME}( TQObject* parent = 0, const char* name = 0 ); virtual ~KatePlugin%{APPNAME}(); void addView (Kate::MainWindow *win); @@ -71,7 +71,7 @@ class %{APPNAME}ConfigPage : public Kate::PluginConfigPage friend class KatePlugin%{APPNAME}; public: - %{APPNAME}ConfigPage (TQObject* tqparent = 0L, TQWidget *parentWidget = 0L); + %{APPNAME}ConfigPage (TQObject* parent = 0L, TQWidget *parentWidget = 0L); ~%{APPNAME}ConfigPage (); /** Reimplemented from Kate::PluginConfigPage; just emits configPageApplyRequest( this ). */ diff --git a/languages/cpp/app_templates/kcmodule/module.cpp b/languages/cpp/app_templates/kcmodule/module.cpp index 4e9d3ca5..bb15b923 100644 --- a/languages/cpp/app_templates/kcmodule/module.cpp +++ b/languages/cpp/app_templates/kcmodule/module.cpp @@ -11,8 +11,8 @@ typedef KGenericFactory<%{APPNAME}, TQWidget> %{APPNAME}Factory; K_EXPORT_COMPONENT_FACTORY( kcm_%{APPNAME}, %{APPNAME}Factory("kcm%{APPNAMELC}")) -%{APPNAME}::%{APPNAME}(TQWidget *tqparent, const char *name, const TQStringList&) - : KCModule(tqparent, name), myAboutData(0) +%{APPNAME}::%{APPNAME}(TQWidget *parent, const char *name, const TQStringList&) + : KCModule(parent, name), myAboutData(0) { // place widgets here load(); diff --git a/languages/cpp/app_templates/kcmodule/module.h b/languages/cpp/app_templates/kcmodule/module.h index 57542aae..8be473a9 100644 --- a/languages/cpp/app_templates/kcmodule/module.h +++ b/languages/cpp/app_templates/kcmodule/module.h @@ -12,7 +12,7 @@ class %{APPNAME}: public KCModule TQ_OBJECT public: - %{APPNAME}( TQWidget *tqparent=0, const char *name=0, const TQStringList& = TQStringList() ); + %{APPNAME}( TQWidget *parent=0, const char *name=0, const TQStringList& = TQStringList() ); ~%{APPNAME}(); virtual void load(); diff --git a/languages/cpp/app_templates/kconfig35/appview.cpp b/languages/cpp/app_templates/kconfig35/appview.cpp index 0c82dd25..6123db0b 100644 --- a/languages/cpp/app_templates/kconfig35/appview.cpp +++ b/languages/cpp/app_templates/kconfig35/appview.cpp @@ -6,8 +6,8 @@ #include <klocale.h> #include <tqlabel.h> -%{APPNAMELC}View::%{APPNAMELC}View(TQWidget *tqparent) - : %{APPNAMELC}view_base(tqparent) +%{APPNAMELC}View::%{APPNAMELC}View(TQWidget *parent) + : %{APPNAMELC}view_base(parent) { settingsChanged(); } diff --git a/languages/cpp/app_templates/kconfig35/appview.h b/languages/cpp/app_templates/kconfig35/appview.h index 897072a6..338cfaa9 100644 --- a/languages/cpp/app_templates/kconfig35/appview.h +++ b/languages/cpp/app_templates/kconfig35/appview.h @@ -27,7 +27,7 @@ public: /** * Default constructor */ - %{APPNAMELC}View(TQWidget *tqparent); + %{APPNAMELC}View(TQWidget *parent); /** * Destructor diff --git a/languages/cpp/app_templates/kde4app/kapp4view.h b/languages/cpp/app_templates/kde4app/kapp4view.h index c4ce6517..c8851bdc 100644 --- a/languages/cpp/app_templates/kde4app/kapp4view.h +++ b/languages/cpp/app_templates/kde4app/kapp4view.h @@ -27,7 +27,7 @@ public: /** * Default constructor */ - %{APPNAME}View(TQWidget *tqparent); + %{APPNAME}View(TQWidget *parent); /** * Destructor diff --git a/languages/cpp/app_templates/kdevlang/kdevlang_part.cpp b/languages/cpp/app_templates/kdevlang/kdevlang_part.cpp index 1ca8f046..364ec0d7 100644 --- a/languages/cpp/app_templates/kdevlang/kdevlang_part.cpp +++ b/languages/cpp/app_templates/kdevlang/kdevlang_part.cpp @@ -21,8 +21,8 @@ typedef KGenericFactory<%{APPNAME}Part> %{APPNAME}Factory; K_EXPORT_COMPONENT_FACTORY( libkdev%{APPNAMELC}, %{APPNAME}Factory( "kdev%{APPNAMELC}" ) ); static const KDevPluginInfo data("kdev%{APPNAMELC}"); -%{APPNAME}Part::%{APPNAME}Part(TQObject *tqparent, const char *name, const TQStringList& ) -: KDevLanguageSupport(&data, tqparent, name ? name : "%{APPNAME}Part" ) +%{APPNAME}Part::%{APPNAME}Part(TQObject *parent, const char *name, const TQStringList& ) +: KDevLanguageSupport(&data, parent, name ? name : "%{APPNAME}Part" ) { setInstance(%{APPNAME}Factory::instance()); setXMLFile("kdevlang_%{APPNAMELC}.rc"); diff --git a/languages/cpp/app_templates/kdevlang/kdevlang_part.h b/languages/cpp/app_templates/kdevlang/kdevlang_part.h index 234107bb..e8b4d15a 100644 --- a/languages/cpp/app_templates/kdevlang/kdevlang_part.h +++ b/languages/cpp/app_templates/kdevlang/kdevlang_part.h @@ -20,7 +20,7 @@ class %{APPNAME}Part : public KDevLanguageSupport Q_OBJECT TQ_OBJECT public: - %{APPNAME}Part(TQObject *tqparent, const char *name, const TQStringList &); + %{APPNAME}Part(TQObject *parent, const char *name, const TQStringList &); ~%{APPNAME}Part(); protected: virtual Features features(); diff --git a/languages/cpp/app_templates/kdevpart/globalconfig.cpp b/languages/cpp/app_templates/kdevpart/globalconfig.cpp index 54e56426..cddf3e7e 100644 --- a/languages/cpp/app_templates/kdevpart/globalconfig.cpp +++ b/languages/cpp/app_templates/kdevpart/globalconfig.cpp @@ -3,8 +3,8 @@ #include "%{APPNAMELC}part.h" -%{APPNAME}GlobalConfig::%{APPNAME}GlobalConfig(%{APPNAME}Part *part, TQWidget *tqparent, const char *name) - : %{APPNAME}GlobalConfigBase(tqparent, name), m_part(part) +%{APPNAME}GlobalConfig::%{APPNAME}GlobalConfig(%{APPNAME}Part *part, TQWidget *parent, const char *name) + : %{APPNAME}GlobalConfigBase(parent, name), m_part(part) { } diff --git a/languages/cpp/app_templates/kdevpart/globalconfig.h b/languages/cpp/app_templates/kdevpart/globalconfig.h index f08bd1bd..b7bfc732 100644 --- a/languages/cpp/app_templates/kdevpart/globalconfig.h +++ b/languages/cpp/app_templates/kdevpart/globalconfig.h @@ -11,7 +11,7 @@ class %{APPNAME}GlobalConfig: public %{APPNAME}GlobalConfigBase Q_OBJECT TQ_OBJECT public: - %{APPNAME}GlobalConfig(%{APPNAME}Part *part, TQWidget *tqparent = 0, const char *name = 0); + %{APPNAME}GlobalConfig(%{APPNAME}Part *part, TQWidget *parent = 0, const char *name = 0); public slots: void accept(); diff --git a/languages/cpp/app_templates/kdevpart/kdevpart_part.cpp b/languages/cpp/app_templates/kdevpart/kdevpart_part.cpp index 96ddb6ca..082549c4 100644 --- a/languages/cpp/app_templates/kdevpart/kdevpart_part.cpp +++ b/languages/cpp/app_templates/kdevpart/kdevpart_part.cpp @@ -28,8 +28,8 @@ K_EXPORT_COMPONENT_FACTORY( libkdev%{APPNAMELC}, %{APPNAME}Factory( data ) ); #define GLOBALDOC_OPTIONS 1 #define PROJECTDOC_OPTIONS 2 -%{APPNAME}Part::%{APPNAME}Part(TQObject *tqparent, const char *name, const TQStringList &/*args*/) - : KDevPlugin(&data, tqparent, name ? name : "%{APPNAME}Part") +%{APPNAME}Part::%{APPNAME}Part(TQObject *parent, const char *name, const TQStringList &/*args*/) + : KDevPlugin(&data, parent, name ? name : "%{APPNAME}Part") { setInstance(%{APPNAME}Factory::instance()); setXMLFile("kdev%{APPNAMELC}.rc"); diff --git a/languages/cpp/app_templates/kdevpart/kdevpart_part.h b/languages/cpp/app_templates/kdevpart/kdevpart_part.h index ddedde17..05494c1d 100644 --- a/languages/cpp/app_templates/kdevpart/kdevpart_part.h +++ b/languages/cpp/app_templates/kdevpart/kdevpart_part.h @@ -21,7 +21,7 @@ class %{APPNAME}Part: public KDevPlugin Q_OBJECT TQ_OBJECT public: - %{APPNAME}Part(TQObject *tqparent, const char *name, const TQStringList &args); + %{APPNAME}Part(TQObject *parent, const char *name, const TQStringList &args); ~%{APPNAME}Part(); private slots: diff --git a/languages/cpp/app_templates/kdevpart/projectconfig.cpp b/languages/cpp/app_templates/kdevpart/projectconfig.cpp index a3bc8b8c..42a9f3e7 100644 --- a/languages/cpp/app_templates/kdevpart/projectconfig.cpp +++ b/languages/cpp/app_templates/kdevpart/projectconfig.cpp @@ -3,8 +3,8 @@ #include "%{APPNAMELC}part.h" -%{APPNAME}ProjectConfig::%{APPNAME}ProjectConfig(%{APPNAME}Part *part, TQWidget *tqparent, const char *name) - : %{APPNAME}ProjectConfigBase(tqparent, name), m_part(part) +%{APPNAME}ProjectConfig::%{APPNAME}ProjectConfig(%{APPNAME}Part *part, TQWidget *parent, const char *name) + : %{APPNAME}ProjectConfigBase(parent, name), m_part(part) { } diff --git a/languages/cpp/app_templates/kdevpart/projectconfig.h b/languages/cpp/app_templates/kdevpart/projectconfig.h index 2d13ce14..fe77464b 100644 --- a/languages/cpp/app_templates/kdevpart/projectconfig.h +++ b/languages/cpp/app_templates/kdevpart/projectconfig.h @@ -11,7 +11,7 @@ class %{APPNAME}ProjectConfig: public %{APPNAME}ProjectConfigBase Q_OBJECT TQ_OBJECT public: - %{APPNAME}ProjectConfig(%{APPNAME}Part *part, TQWidget *tqparent = 0, const char *name = 0); + %{APPNAME}ProjectConfig(%{APPNAME}Part *part, TQWidget *parent = 0, const char *name = 0); public slots: void accept(); diff --git a/languages/cpp/app_templates/kdevpart2/globalconfig.cpp b/languages/cpp/app_templates/kdevpart2/globalconfig.cpp index 54e56426..cddf3e7e 100644 --- a/languages/cpp/app_templates/kdevpart2/globalconfig.cpp +++ b/languages/cpp/app_templates/kdevpart2/globalconfig.cpp @@ -3,8 +3,8 @@ #include "%{APPNAMELC}part.h" -%{APPNAME}GlobalConfig::%{APPNAME}GlobalConfig(%{APPNAME}Part *part, TQWidget *tqparent, const char *name) - : %{APPNAME}GlobalConfigBase(tqparent, name), m_part(part) +%{APPNAME}GlobalConfig::%{APPNAME}GlobalConfig(%{APPNAME}Part *part, TQWidget *parent, const char *name) + : %{APPNAME}GlobalConfigBase(parent, name), m_part(part) { } diff --git a/languages/cpp/app_templates/kdevpart2/globalconfig.h b/languages/cpp/app_templates/kdevpart2/globalconfig.h index f08bd1bd..b7bfc732 100644 --- a/languages/cpp/app_templates/kdevpart2/globalconfig.h +++ b/languages/cpp/app_templates/kdevpart2/globalconfig.h @@ -11,7 +11,7 @@ class %{APPNAME}GlobalConfig: public %{APPNAME}GlobalConfigBase Q_OBJECT TQ_OBJECT public: - %{APPNAME}GlobalConfig(%{APPNAME}Part *part, TQWidget *tqparent = 0, const char *name = 0); + %{APPNAME}GlobalConfig(%{APPNAME}Part *part, TQWidget *parent = 0, const char *name = 0); public slots: void accept(); diff --git a/languages/cpp/app_templates/kdevpart2/kdevpart_part.cpp b/languages/cpp/app_templates/kdevpart2/kdevpart_part.cpp index 96ddb6ca..082549c4 100644 --- a/languages/cpp/app_templates/kdevpart2/kdevpart_part.cpp +++ b/languages/cpp/app_templates/kdevpart2/kdevpart_part.cpp @@ -28,8 +28,8 @@ K_EXPORT_COMPONENT_FACTORY( libkdev%{APPNAMELC}, %{APPNAME}Factory( data ) ); #define GLOBALDOC_OPTIONS 1 #define PROJECTDOC_OPTIONS 2 -%{APPNAME}Part::%{APPNAME}Part(TQObject *tqparent, const char *name, const TQStringList &/*args*/) - : KDevPlugin(&data, tqparent, name ? name : "%{APPNAME}Part") +%{APPNAME}Part::%{APPNAME}Part(TQObject *parent, const char *name, const TQStringList &/*args*/) + : KDevPlugin(&data, parent, name ? name : "%{APPNAME}Part") { setInstance(%{APPNAME}Factory::instance()); setXMLFile("kdev%{APPNAMELC}.rc"); diff --git a/languages/cpp/app_templates/kdevpart2/kdevpart_part.h b/languages/cpp/app_templates/kdevpart2/kdevpart_part.h index ddedde17..05494c1d 100644 --- a/languages/cpp/app_templates/kdevpart2/kdevpart_part.h +++ b/languages/cpp/app_templates/kdevpart2/kdevpart_part.h @@ -21,7 +21,7 @@ class %{APPNAME}Part: public KDevPlugin Q_OBJECT TQ_OBJECT public: - %{APPNAME}Part(TQObject *tqparent, const char *name, const TQStringList &args); + %{APPNAME}Part(TQObject *parent, const char *name, const TQStringList &args); ~%{APPNAME}Part(); private slots: diff --git a/languages/cpp/app_templates/kdevpart2/projectconfig.cpp b/languages/cpp/app_templates/kdevpart2/projectconfig.cpp index a3bc8b8c..42a9f3e7 100644 --- a/languages/cpp/app_templates/kdevpart2/projectconfig.cpp +++ b/languages/cpp/app_templates/kdevpart2/projectconfig.cpp @@ -3,8 +3,8 @@ #include "%{APPNAMELC}part.h" -%{APPNAME}ProjectConfig::%{APPNAME}ProjectConfig(%{APPNAME}Part *part, TQWidget *tqparent, const char *name) - : %{APPNAME}ProjectConfigBase(tqparent, name), m_part(part) +%{APPNAME}ProjectConfig::%{APPNAME}ProjectConfig(%{APPNAME}Part *part, TQWidget *parent, const char *name) + : %{APPNAME}ProjectConfigBase(parent, name), m_part(part) { } diff --git a/languages/cpp/app_templates/kdevpart2/projectconfig.h b/languages/cpp/app_templates/kdevpart2/projectconfig.h index 2d13ce14..fe77464b 100644 --- a/languages/cpp/app_templates/kdevpart2/projectconfig.h +++ b/languages/cpp/app_templates/kdevpart2/projectconfig.h @@ -11,7 +11,7 @@ class %{APPNAME}ProjectConfig: public %{APPNAME}ProjectConfigBase Q_OBJECT TQ_OBJECT public: - %{APPNAME}ProjectConfig(%{APPNAME}Part *part, TQWidget *tqparent = 0, const char *name = 0); + %{APPNAME}ProjectConfig(%{APPNAME}Part *part, TQWidget *parent = 0, const char *name = 0); public slots: void accept(); diff --git a/languages/cpp/app_templates/kfileplugin/kfile_plugin.cpp b/languages/cpp/app_templates/kfileplugin/kfile_plugin.cpp index 5ccbec50..db259cb3 100644 --- a/languages/cpp/app_templates/kfileplugin/kfile_plugin.cpp +++ b/languages/cpp/app_templates/kfileplugin/kfile_plugin.cpp @@ -13,9 +13,9 @@ typedef KGenericFactory<%{APPNAME}Plugin> %{APPNAME}Factory; K_EXPORT_COMPONENT_FACTORY(kfile_%{APPNAME}, %{APPNAME}Factory( "kfile_%{APPNAMELC}" )) -%{APPNAME}Plugin::%{APPNAME}Plugin(TQObject *tqparent, const char *name, +%{APPNAME}Plugin::%{APPNAME}Plugin(TQObject *parent, const char *name, const TQStringList &args) - : KFilePlugin(tqparent, name, args) + : KFilePlugin(parent, name, args) { //add the mimetype here - example: //KFileMimeTypeInfo* info = addMimeTypeInfo( "text/html" ); diff --git a/languages/cpp/app_templates/kfileplugin/kfile_plugin.h b/languages/cpp/app_templates/kfileplugin/kfile_plugin.h index 93303359..f2ed7408 100644 --- a/languages/cpp/app_templates/kfileplugin/kfile_plugin.h +++ b/languages/cpp/app_templates/kfileplugin/kfile_plugin.h @@ -16,7 +16,7 @@ class %{APPNAME}Plugin: public KFilePlugin TQ_OBJECT public: - %{APPNAME}Plugin( TQObject *tqparent, const char *name, const TQStringList& args ); + %{APPNAME}Plugin( TQObject *parent, const char *name, const TQStringList& args ); virtual bool readInfo( KFileMetaInfo& info, uint what); }; diff --git a/languages/cpp/app_templates/khello2/widget.cpp b/languages/cpp/app_templates/khello2/widget.cpp index 40e2d2bb..266e894f 100644 --- a/languages/cpp/app_templates/khello2/widget.cpp +++ b/languages/cpp/app_templates/khello2/widget.cpp @@ -4,8 +4,8 @@ #include "%{APPNAMELC}widget.h" -%{APPNAME}Widget::%{APPNAME}Widget(TQWidget* tqparent, const char* name, WFlags fl) - : %{APPNAME}WidgetBase(tqparent,name,fl) +%{APPNAME}Widget::%{APPNAME}Widget(TQWidget* parent, const char* name, WFlags fl) + : %{APPNAME}WidgetBase(parent,name,fl) {} %{APPNAME}Widget::~%{APPNAME}Widget() diff --git a/languages/cpp/app_templates/khello2/widget.h b/languages/cpp/app_templates/khello2/widget.h index 3773456b..ed436a38 100644 --- a/languages/cpp/app_templates/khello2/widget.h +++ b/languages/cpp/app_templates/khello2/widget.h @@ -11,7 +11,7 @@ class %{APPNAME}Widget : public %{APPNAME}WidgetBase TQ_OBJECT public: - %{APPNAME}Widget(TQWidget* tqparent = 0, const char* name = 0, WFlags fl = 0 ); + %{APPNAME}Widget(TQWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); ~%{APPNAME}Widget(); /*$PUBLIC_FUNCTIONS$*/ diff --git a/languages/cpp/app_templates/kicker/applet.cpp b/languages/cpp/app_templates/kicker/applet.cpp index d609fa26..29ec3d1d 100644 --- a/languages/cpp/app_templates/kicker/applet.cpp +++ b/languages/cpp/app_templates/kicker/applet.cpp @@ -10,8 +10,8 @@ #include "%{APPNAMELC}.h" -%{APPNAME}::%{APPNAME}(const TQString& configFile, Type type, int actions, TQWidget *tqparent, const char *name) - : KPanelApplet(configFile, type, actions, tqparent, name) +%{APPNAME}::%{APPNAME}(const TQString& configFile, Type type, int actions, TQWidget *parent, const char *name) + : KPanelApplet(configFile, type, actions, parent, name) { // Get the current application configuration handle ksConfig = config(); @@ -62,11 +62,11 @@ void %{APPNAME}::resizeEvent(TQResizeEvent *e) extern "C" { - KPanelApplet* init( TQWidget *tqparent, const TQString& configFile) + KPanelApplet* init( TQWidget *parent, const TQString& configFile) { KGlobal::locale()->insertCatalogue("%{APPNAMELC}"); return new %{APPNAME}(configFile, KPanelApplet::Normal, KPanelApplet::About | KPanelApplet::Help | KPanelApplet::Preferences, - tqparent, "%{APPNAMELC}"); + parent, "%{APPNAMELC}"); } } diff --git a/languages/cpp/app_templates/kicker/applet.h b/languages/cpp/app_templates/kicker/applet.h index b11b1aa9..1c134399 100644 --- a/languages/cpp/app_templates/kicker/applet.h +++ b/languages/cpp/app_templates/kicker/applet.h @@ -24,11 +24,11 @@ public: * @param configFile The configFile handed over in the factory function. * @param Type The applet @ref type(). * @param actions Standard RMB menu actions supported by the applet (see @ref action() ). - * @param tqparent The pointer to the tqparent widget handed over in the factory function. + * @param parent The pointer to the parent widget handed over in the factory function. * @param name A TQt object name for your applet. **/ %{APPNAME}(const TQString& configFile, Type t = Normal, int actions = 0, - TQWidget *tqparent = 0, const char *name = 0); + TQWidget *parent = 0, const char *name = 0); /** destructor */ ~%{APPNAME}(); diff --git a/languages/cpp/app_templates/kmake/mainviewimp.cpp b/languages/cpp/app_templates/kmake/mainviewimp.cpp index 5e953b0d..8a0de706 100644 --- a/languages/cpp/app_templates/kmake/mainviewimp.cpp +++ b/languages/cpp/app_templates/kmake/mainviewimp.cpp @@ -3,8 +3,8 @@ #include <tqlabel.h> #include <klocale.h> -MainViewImp::MainViewImp(TQWidget* tqparent, const char* name, WFlags fl) -: MainView(tqparent,name,fl) +MainViewImp::MainViewImp(TQWidget* parent, const char* name, WFlags fl) +: MainView(parent,name,fl) { } diff --git a/languages/cpp/app_templates/kmake/mainviewimp.h b/languages/cpp/app_templates/kmake/mainviewimp.h index 1a8af0b8..bcd627d0 100644 --- a/languages/cpp/app_templates/kmake/mainviewimp.h +++ b/languages/cpp/app_templates/kmake/mainviewimp.h @@ -9,7 +9,7 @@ class MainViewImp : public MainView TQ_OBJECT public: - MainViewImp(TQWidget* tqparent = 0, const char* name = 0, WFlags fl = 0 ); + MainViewImp(TQWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); ~MainViewImp(); public slots: diff --git a/languages/cpp/app_templates/kofficepart/kopart_factory.cpp b/languages/cpp/app_templates/kofficepart/kopart_factory.cpp index d020ed5e..86287a3f 100644 --- a/languages/cpp/app_templates/kofficepart/kopart_factory.cpp +++ b/languages/cpp/app_templates/kofficepart/kopart_factory.cpp @@ -23,8 +23,8 @@ extern "C" KInstance* %{APPNAME}Factory::s_global = 0L; KAboutData* %{APPNAME}Factory::s_aboutData = 0L; -%{APPNAME}Factory::%{APPNAME}Factory( TQObject* tqparent, const char* name ) - : KoFactory( tqparent, name ) +%{APPNAME}Factory::%{APPNAME}Factory( TQObject* parent, const char* name ) + : KoFactory( parent, name ) { global(); } @@ -37,14 +37,14 @@ KAboutData* %{APPNAME}Factory::s_aboutData = 0L; s_global = 0L; } -KParts::Part* %{APPNAME}Factory::createPartObject( TQWidget *parentWidget, const char *widgetName, TQObject* tqparent, const char* name, const char* classname, const TQStringList & ) +KParts::Part* %{APPNAME}Factory::createPartObject( TQWidget *parentWidget, const char *widgetName, TQObject* parent, const char* name, const char* classname, const TQStringList & ) { // If classname is "KoDocument", our host is a koffice application // otherwise, the host wants us as a simple part, so switch to readonly and single view. bool bWantKoDocument = ( strcmp( classname, "KoDocument" ) == 0 ); // parentWidget and widgetName are used by KoDocument for the "readonly+singleView" case. - %{APPNAME}Part *part = new %{APPNAME}Part( parentWidget, widgetName, tqparent, name, !bWantKoDocument ); + %{APPNAME}Part *part = new %{APPNAME}Part( parentWidget, widgetName, parent, name, !bWantKoDocument ); if ( !bWantKoDocument ) part->setReadWrite( false ); diff --git a/languages/cpp/app_templates/kofficepart/kopart_factory.h b/languages/cpp/app_templates/kofficepart/kopart_factory.h index b0f934d9..9e820797 100644 --- a/languages/cpp/app_templates/kofficepart/kopart_factory.h +++ b/languages/cpp/app_templates/kofficepart/kopart_factory.h @@ -16,10 +16,10 @@ class %{APPNAME}Factory : public KoFactory Q_OBJECT TQ_OBJECT public: - %{APPNAME}Factory( TQObject* tqparent = 0, const char* name = 0 ); + %{APPNAME}Factory( TQObject* parent = 0, const char* name = 0 ); ~%{APPNAME}Factory(); - virtual KParts::Part *createPartObject( TQWidget *parentWidget = 0, const char *widgetName = 0, TQObject *tqparent = 0, const char *name = 0, const char *classname = "KoDocument", const TQStringList &args = TQStringList() ); + virtual KParts::Part *createPartObject( TQWidget *parentWidget = 0, const char *widgetName = 0, TQObject *parent = 0, const char *name = 0, const char *classname = "KoDocument", const TQStringList &args = TQStringList() ); static KInstance* global(); diff --git a/languages/cpp/app_templates/kofficepart/kopart_part.cpp b/languages/cpp/app_templates/kofficepart/kopart_part.cpp index fe8c0cca..a1196404 100644 --- a/languages/cpp/app_templates/kofficepart/kopart_part.cpp +++ b/languages/cpp/app_templates/kofficepart/kopart_part.cpp @@ -8,8 +8,8 @@ #include <tqpainter.h> -%{APPNAME}Part::%{APPNAME}Part( TQWidget *parentWidget, const char *widgetName, TQObject* tqparent, const char* name, bool singleViewMode ) - : KoDocument( parentWidget, widgetName, tqparent, name, singleViewMode ) +%{APPNAME}Part::%{APPNAME}Part( TQWidget *parentWidget, const char *widgetName, TQObject* parent, const char* name, bool singleViewMode ) + : KoDocument( parentWidget, widgetName, parent, name, singleViewMode ) { } @@ -19,9 +19,9 @@ bool %{APPNAME}Part::initDoc( InitDocFlags flags, TQWidget* parentWidget ) return TRUE; } -KoView* %{APPNAME}Part::createViewInstance( TQWidget* tqparent, const char* name ) +KoView* %{APPNAME}Part::createViewInstance( TQWidget* parent, const char* name ) { - return new %{APPNAME}View( this, tqparent, name ); + return new %{APPNAME}View( this, parent, name ); } bool %{APPNAME}Part::loadOasis( const TQDomDocument & doc, KoOasisStyles& oasisStyles, const TQDomDocument & settings, KoStore* store ) diff --git a/languages/cpp/app_templates/kofficepart/kopart_part.h b/languages/cpp/app_templates/kofficepart/kopart_part.h index fc67a523..21ad460a 100644 --- a/languages/cpp/app_templates/kofficepart/kopart_part.h +++ b/languages/cpp/app_templates/kofficepart/kopart_part.h @@ -13,7 +13,7 @@ class %{APPNAME}Part : public KoDocument Q_OBJECT TQ_OBJECT public: - %{APPNAME}Part( TQWidget *parentWidget = 0, const char *widgetName = 0, TQObject* tqparent = 0, const char* name = 0, bool singleViewMode = false ); + %{APPNAME}Part( TQWidget *parentWidget = 0, const char *widgetName = 0, TQObject* parent = 0, const char* name = 0, bool singleViewMode = false ); virtual void paintContent( TQPainter& painter, const TQRect& rect, bool transparent = FALSE, double zoomX = 1.0, double zoomY = 1.0 ); @@ -25,7 +25,7 @@ public: virtual bool saveOasis( KoStore* store, KoXmlWriter* manifestWriter ); protected: - virtual KoView* createViewInstance( TQWidget* tqparent, const char* name ); + virtual KoView* createViewInstance( TQWidget* parent, const char* name ); }; #endif diff --git a/languages/cpp/app_templates/kofficepart/kopart_view.cpp b/languages/cpp/app_templates/kofficepart/kopart_view.cpp index 240251f9..f32707a8 100644 --- a/languages/cpp/app_templates/kofficepart/kopart_view.cpp +++ b/languages/cpp/app_templates/kofficepart/kopart_view.cpp @@ -13,8 +13,8 @@ #include <klocale.h> #include <kdebug.h> -%{APPNAME}View::%{APPNAME}View( %{APPNAME}Part* part, TQWidget* tqparent, const char* name ) - : KoView( part, tqparent, name ) +%{APPNAME}View::%{APPNAME}View( %{APPNAME}Part* part, TQWidget* parent, const char* name ) + : KoView( part, parent, name ) { setInstance( %{APPNAME}Factory::global() ); setXMLFile( "%{APPNAMELC}.rc" ); diff --git a/languages/cpp/app_templates/kofficepart/kopart_view.h b/languages/cpp/app_templates/kofficepart/kopart_view.h index bcaac2e1..2b97fe4f 100644 --- a/languages/cpp/app_templates/kofficepart/kopart_view.h +++ b/languages/cpp/app_templates/kofficepart/kopart_view.h @@ -18,7 +18,7 @@ class %{APPNAME}View : public KoView Q_OBJECT TQ_OBJECT public: - %{APPNAME}View( %{APPNAME}Part* part, TQWidget* tqparent = 0, const char* name = 0 ); + %{APPNAME}View( %{APPNAME}Part* part, TQWidget* parent = 0, const char* name = 0 ); protected slots: void cut(); diff --git a/languages/cpp/app_templates/konqnavpanel/konqnavpanel.cpp b/languages/cpp/app_templates/konqnavpanel/konqnavpanel.cpp index 4f0d7557..ae9a85a6 100644 --- a/languages/cpp/app_templates/konqnavpanel/konqnavpanel.cpp +++ b/languages/cpp/app_templates/konqnavpanel/konqnavpanel.cpp @@ -7,8 +7,8 @@ #include "%{APPNAMELC}.h" #include "%{APPNAMELC}.moc" -%{APPNAME}::%{APPNAME}(KInstance *inst,TQObject *tqparent,TQWidget *widgetParent, TQString &desktopName, const char* name): - KonqSidebarPlugin(inst,tqparent,widgetParent,desktopName,name) +%{APPNAME}::%{APPNAME}(KInstance *inst,TQObject *parent,TQWidget *widgetParent, TQString &desktopName, const char* name): + KonqSidebarPlugin(inst,parent,widgetParent,desktopName,name) { widget=new TQLabel("Init Value",widgetParent); } diff --git a/languages/cpp/app_templates/konqnavpanel/konqnavpanel.h b/languages/cpp/app_templates/konqnavpanel/konqnavpanel.h index b219619b..83c5c2c4 100644 --- a/languages/cpp/app_templates/konqnavpanel/konqnavpanel.h +++ b/languages/cpp/app_templates/konqnavpanel/konqnavpanel.h @@ -21,12 +21,12 @@ public: * Construct a @ref KonqSidebarPlugin. * * @param inst The sidebar's kinstance class. - * @param tqparent The sidebar internal button info class responsible for this plugin. + * @param parent The sidebar internal button info class responsible for this plugin. * @param widgetParent The container which will contain the plugins widget. * @param desktopName The filename of the configuration file. * @param name A TQt object name for your plugin. **/ - %{APPNAME}(KInstance *inst,TQObject *tqparent,TQWidget *widgetParent, TQString &desktopName, const char* name=0); + %{APPNAME}(KInstance *inst,TQObject *parent,TQWidget *widgetParent, TQString &desktopName, const char* name=0); /** destructor */ ~%{APPNAME}(); diff --git a/languages/cpp/app_templates/kpartapp/app_part.cpp b/languages/cpp/app_templates/kpartapp/app_part.cpp index 479a6782..1f3992af 100644 --- a/languages/cpp/app_templates/kpartapp/app_part.cpp +++ b/languages/cpp/app_templates/kpartapp/app_part.cpp @@ -13,8 +13,8 @@ #include <tqmultilineedit.h> %{APPNAME}Part::%{APPNAME}Part( TQWidget *parentWidget, const char *widgetName, - TQObject *tqparent, const char *name ) - : KParts::ReadWritePart(tqparent, name) + TQObject *parent, const char *name ) + : KParts::ReadWritePart(parent, name) { // we need an instance setInstance( %{APPNAME}PartFactory::instance() ); @@ -74,7 +74,7 @@ void %{APPNAME}Part::setModified(bool modified) else save->setEnabled(false); - // in any event, we want our tqparent to do it's thing + // in any event, we want our parent to do it's thing ReadWritePart::setModified(modified); } @@ -165,11 +165,11 @@ KAboutData* %{APPNAME}PartFactory::s_about = 0L; } KParts::Part* %{APPNAME}PartFactory::createPartObject( TQWidget *parentWidget, const char *widgetName, - TQObject *tqparent, const char *name, + TQObject *parent, const char *name, const char *classname, const TQStringList &args ) { // Create an instance of our Part - %{APPNAME}Part* obj = new %{APPNAME}Part( parentWidget, widgetName, tqparent, name ); + %{APPNAME}Part* obj = new %{APPNAME}Part( parentWidget, widgetName, parent, name ); // See if we are to be read-write or not if (TQCString(classname) == "KParts::ReadOnlyPart") diff --git a/languages/cpp/app_templates/kpartapp/app_part.h b/languages/cpp/app_templates/kpartapp/app_part.h index 3a481c5c..30f99b04 100644 --- a/languages/cpp/app_templates/kpartapp/app_part.h +++ b/languages/cpp/app_templates/kpartapp/app_part.h @@ -27,7 +27,7 @@ public: * Default constructor */ %{APPNAME}Part(TQWidget *parentWidget, const char *widgetName, - TQObject *tqparent, const char *name); + TQObject *parent, const char *name); /** * Destructor @@ -76,7 +76,7 @@ public: %{APPNAME}PartFactory(); virtual ~%{APPNAME}PartFactory(); 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/languages/cpp/app_templates/kpartplugin/plugin_app.cpp b/languages/cpp/app_templates/kpartplugin/plugin_app.cpp index dac6dc20..61e3ca0e 100644 --- a/languages/cpp/app_templates/kpartplugin/plugin_app.cpp +++ b/languages/cpp/app_templates/kpartplugin/plugin_app.cpp @@ -8,8 +8,8 @@ #include <klocale.h> #include <kglobal.h> -Plugin%{APPNAME}::Plugin%{APPNAME}( TQObject* tqparent, const char* name ) - : Plugin( tqparent, name ) +Plugin%{APPNAME}::Plugin%{APPNAME}( TQObject* parent, const char* name ) + : Plugin( parent, name ) { // Instantiate all of your actions here. These will appear in // Konqueror's menu and toolbars. @@ -27,7 +27,7 @@ void Plugin%{APPNAME}::slotAction() // This plugin assumes KHTMLPart. If your plugin can handle more // than this or a different Part than this, simply delete or // change the following block. - if ( !tqparent()->inherits("KHTMLPart") ) + if ( !parent()->inherits("KHTMLPart") ) { TQString title( i18n( "Cannot Translate Source" ) ); TQString text( i18n( "You cannot translate anything except web pages " @@ -37,9 +37,9 @@ void Plugin%{APPNAME}::slotAction() return; } - // Get a handle on our tqparent so we may get the necessary data for + // Get a handle on our parent so we may get the necessary data for // processing - KHTMLPart *part = dynamic_cast<KHTMLPart *>(tqparent()); + KHTMLPart *part = dynamic_cast<KHTMLPart *>(parent()); // This plugin only uses the URL. You may use whatever data you // need. @@ -83,9 +83,9 @@ void Plugin%{APPNAME}::slotAction() s_instance = 0; } -TQObject* %{APPNAME}Factory::createObject( TQObject* tqparent, const char* name, const char*, const TQStringList & ) +TQObject* %{APPNAME}Factory::createObject( TQObject* parent, const char* name, const char*, const TQStringList & ) { - return new Plugin%{APPNAME}( tqparent, name ); + return new Plugin%{APPNAME}( parent, name ); } KInstance *%{APPNAME}Factory::instance() diff --git a/languages/cpp/app_templates/kpartplugin/plugin_app.h b/languages/cpp/app_templates/kpartplugin/plugin_app.h index 3d637d1b..cff0a63c 100644 --- a/languages/cpp/app_templates/kpartplugin/plugin_app.h +++ b/languages/cpp/app_templates/kpartplugin/plugin_app.h @@ -10,7 +10,7 @@ class Plugin%{APPNAME} : public KParts::Plugin Q_OBJECT TQ_OBJECT public: - Plugin%{APPNAME}( TQObject* tqparent = 0, const char* name = 0 ); + Plugin%{APPNAME}( TQObject* parent = 0, const char* name = 0 ); virtual ~Plugin%{APPNAME}(); public slots: @@ -25,7 +25,7 @@ public: %{APPNAME}Factory(); virtual ~%{APPNAME}Factory(); - virtual TQObject* createObject( TQObject* tqparent = 0, const char* pname = 0, const char* name = TQOBJECT_OBJECT_NAME_STRING, const TQStringList &args = TQStringList() ); + virtual TQObject* createObject( TQObject* parent = 0, const char* pname = 0, const char* name = TQOBJECT_OBJECT_NAME_STRING, const TQStringList &args = TQStringList() ); static KInstance* instance(); diff --git a/languages/cpp/app_templates/kscons_kmdi/app_part.cpp b/languages/cpp/app_templates/kscons_kmdi/app_part.cpp index 0818d856..06a6409c 100644 --- a/languages/cpp/app_templates/kscons_kmdi/app_part.cpp +++ b/languages/cpp/app_templates/kscons_kmdi/app_part.cpp @@ -18,8 +18,8 @@ typedef KParts::GenericFactory<%{APPNAMELC}Part> %{APPNAMELC}PartFactory; K_EXPORT_COMPONENT_FACTORY( lib%{APPNAMELC}part, %{APPNAMELC}PartFactory ); %{APPNAMELC}Part::%{APPNAMELC}Part( TQWidget *parentWidget, const char *widgetName, - TQObject *tqparent, const char *name, const TQStringList & /*args*/) - : KParts::ReadWritePart(tqparent) + TQObject *parent, const char *name, const TQStringList & /*args*/) + : KParts::ReadWritePart(parent) { // we need an instance setInstance( %{APPNAMELC}PartFactory::instance() ); @@ -88,7 +88,7 @@ void %{APPNAMELC}Part::setModified(bool modified) else save->setEnabled(false); - // in any event, we want our tqparent to do it's thing + // in any event, we want our parent to do it's thing ReadWritePart::setModified(modified); } diff --git a/languages/cpp/app_templates/kscons_kmdi/app_part.h b/languages/cpp/app_templates/kscons_kmdi/app_part.h index fabeedbc..5ab44003 100644 --- a/languages/cpp/app_templates/kscons_kmdi/app_part.h +++ b/languages/cpp/app_templates/kscons_kmdi/app_part.h @@ -29,7 +29,7 @@ public: * Default constructor */ %{APPNAMELC}Part(TQWidget *parentWidget, const char *widgetName, - TQObject *tqparent, const char *name, const TQStringList & /*args*/); + TQObject *parent, const char *name, const TQStringList & /*args*/); /** * Destructor diff --git a/languages/cpp/app_templates/kscons_kmdi/kmdikonsole.cpp b/languages/cpp/app_templates/kscons_kmdi/kmdikonsole.cpp index d0c856ec..5bd6b949 100644 --- a/languages/cpp/app_templates/kscons_kmdi/kmdikonsole.cpp +++ b/languages/cpp/app_templates/kscons_kmdi/kmdikonsole.cpp @@ -12,7 +12,7 @@ #include "kmdikonsole.h" -kmdikonsole::kmdikonsole(TQWidget *tqparent, const char *name) : TQVBox(tqparent, name) +kmdikonsole::kmdikonsole(TQWidget *parent, const char *name) : TQVBox(parent, name) { m_haskonsole = false; respawn(); diff --git a/languages/cpp/app_templates/kscons_kmdi/kmdikonsole.h b/languages/cpp/app_templates/kscons_kmdi/kmdikonsole.h index e97175c1..727e9675 100644 --- a/languages/cpp/app_templates/kscons_kmdi/kmdikonsole.h +++ b/languages/cpp/app_templates/kscons_kmdi/kmdikonsole.h @@ -11,7 +11,7 @@ class kmdikonsole : public TQVBox TQ_OBJECT public: - kmdikonsole( TQWidget* tqparent, const char* name=0); + kmdikonsole( TQWidget* parent, const char* name=0); ~kmdikonsole(); public slots: diff --git a/languages/cpp/app_templates/kscons_kxt/appview.cpp b/languages/cpp/app_templates/kscons_kxt/appview.cpp index a474e605..f2dd28a3 100644 --- a/languages/cpp/app_templates/kscons_kxt/appview.cpp +++ b/languages/cpp/app_templates/kscons_kxt/appview.cpp @@ -6,8 +6,8 @@ #include <klocale.h> #include <tqlabel.h> -%{APPNAME}View::%{APPNAME}View(TQWidget *tqparent) - : %{APPNAME}view_base(tqparent) +%{APPNAME}View::%{APPNAME}View(TQWidget *parent) + : %{APPNAME}view_base(parent) { settingsChanged(); } diff --git a/languages/cpp/app_templates/kscons_kxt/appview.h b/languages/cpp/app_templates/kscons_kxt/appview.h index 8d4517bd..56a6edd3 100644 --- a/languages/cpp/app_templates/kscons_kxt/appview.h +++ b/languages/cpp/app_templates/kscons_kxt/appview.h @@ -27,7 +27,7 @@ public: /** * Default constructor */ - %{APPNAME}View(TQWidget *tqparent); + %{APPNAME}View(TQWidget *parent); /** * Destructor diff --git a/languages/cpp/app_templates/kscreensaver/kscreensaver.cpp b/languages/cpp/app_templates/kscreensaver/kscreensaver.cpp index 855fb657..efdbf40b 100644 --- a/languages/cpp/app_templates/kscreensaver/kscreensaver.cpp +++ b/languages/cpp/app_templates/kscreensaver/kscreensaver.cpp @@ -33,8 +33,8 @@ extern "C" //----------------------------------------------------------------------------- //! dialog to setup screen saver parameters -%{APPNAME}Setup::%{APPNAME}Setup( TQWidget *tqparent, const char *name ) - : %{APPNAME}UI( tqparent, name, TRUE ) +%{APPNAME}Setup::%{APPNAME}Setup( TQWidget *parent, const char *name ) + : %{APPNAME}UI( parent, name, TRUE ) { /// @todo //Connect your signals and slots here to configure the screen saver. diff --git a/languages/cpp/app_templates/kscreensaver/kscreensaver.h b/languages/cpp/app_templates/kscreensaver/kscreensaver.h index c8511d34..fc2fd650 100644 --- a/languages/cpp/app_templates/kscreensaver/kscreensaver.h +++ b/languages/cpp/app_templates/kscreensaver/kscreensaver.h @@ -23,7 +23,7 @@ class %{APPNAME}Setup : public %{APPNAME}UI Q_OBJECT TQ_OBJECT public: - %{APPNAME}Setup( TQWidget *tqparent = NULL, const char *name = NULL ); + %{APPNAME}Setup( TQWidget *parent = NULL, const char *name = NULL ); private slots: void slotOkPressed(); diff --git a/languages/cpp/app_templates/kxt/appview.cpp b/languages/cpp/app_templates/kxt/appview.cpp index 0c82dd25..6123db0b 100644 --- a/languages/cpp/app_templates/kxt/appview.cpp +++ b/languages/cpp/app_templates/kxt/appview.cpp @@ -6,8 +6,8 @@ #include <klocale.h> #include <tqlabel.h> -%{APPNAMELC}View::%{APPNAMELC}View(TQWidget *tqparent) - : %{APPNAMELC}view_base(tqparent) +%{APPNAMELC}View::%{APPNAMELC}View(TQWidget *parent) + : %{APPNAMELC}view_base(parent) { settingsChanged(); } diff --git a/languages/cpp/app_templates/kxt/appview.h b/languages/cpp/app_templates/kxt/appview.h index 897072a6..338cfaa9 100644 --- a/languages/cpp/app_templates/kxt/appview.h +++ b/languages/cpp/app_templates/kxt/appview.h @@ -27,7 +27,7 @@ public: /** * Default constructor */ - %{APPNAMELC}View(TQWidget *tqparent); + %{APPNAMELC}View(TQWidget *parent); /** * Destructor diff --git a/languages/cpp/app_templates/opieapp/example.cpp b/languages/cpp/app_templates/opieapp/example.cpp index 6636116e..6a0d616e 100644 --- a/languages/cpp/app_templates/opieapp/example.cpp +++ b/languages/cpp/app_templates/opieapp/example.cpp @@ -6,11 +6,11 @@ typedef OApplicationFactory<%{APPNAME}> %{APPNAME}Factory; OPIE_EXPORT_APP( %{APPNAME}Factory ) /* - * Constructs a %{APPNAME} which is a child of 'tqparent', with the + * Constructs a %{APPNAME} which is a child of 'parent', with the * name 'name' and widget flags set to 'f' */ -%{APPNAME}::%{APPNAME}( TQWidget* tqparent, const char* name, WFlags fl ) - : %{APPNAME}Base( tqparent, name, fl ) +%{APPNAME}::%{APPNAME}( TQWidget* parent, const char* name, WFlags fl ) + : %{APPNAME}Base( parent, name, fl ) { connect(quit, TQT_SIGNAL(clicked()), this, TQT_SLOT(goodBye())); } diff --git a/languages/cpp/app_templates/opieapp/example.h b/languages/cpp/app_templates/opieapp/example.h index 0a8320c9..7da09f5a 100644 --- a/languages/cpp/app_templates/opieapp/example.h +++ b/languages/cpp/app_templates/opieapp/example.h @@ -11,7 +11,7 @@ public: static TQString appName() { return TQString::tqfromLatin1("%{APPNAMELC}" ); } - %{APPNAME}( TQWidget* tqparent = 0, const char* name = 0, WFlags fl = 0 ); + %{APPNAME}( TQWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); ~%{APPNAME}(); private slots: diff --git a/languages/cpp/app_templates/opieapplet/simpleimpl.cpp b/languages/cpp/app_templates/opieapplet/simpleimpl.cpp index cc2a6a17..9a181745 100644 --- a/languages/cpp/app_templates/opieapplet/simpleimpl.cpp +++ b/languages/cpp/app_templates/opieapplet/simpleimpl.cpp @@ -8,8 +8,8 @@ #include "%{APPNAMELC}.h" -%{APPNAME}::%{APPNAME}(TQWidget *tqparent) - : TQWidget( tqparent, "%{APPNAME} Applet" ) { +%{APPNAME}::%{APPNAME}(TQWidget *parent) + : TQWidget( parent, "%{APPNAME} Applet" ) { /* * we will load an Image, scale it for the right usage * remember your applet might be used by different @@ -89,12 +89,12 @@ void %{APPNAME}::paintEvent( TQPaintEvent* ) { /* * For the taskbar interface return a Widget */ -TQWidget* %{APPNAME}Impl::applet( TQWidget* tqparent ) { +TQWidget* %{APPNAME}Impl::applet( TQWidget* parent ) { /* * There are problems with ownership. So we add * our ownlist and clear this; */ - %{APPNAME}* ap = new %{APPNAME}( tqparent ); + %{APPNAME}* ap = new %{APPNAME}( parent ); m_applets.append( ap ); return ap; diff --git a/languages/cpp/app_templates/opieapplet/simpleimpl.h b/languages/cpp/app_templates/opieapplet/simpleimpl.h index 855aed57..311d7c14 100644 --- a/languages/cpp/app_templates/opieapplet/simpleimpl.h +++ b/languages/cpp/app_templates/opieapplet/simpleimpl.h @@ -42,7 +42,7 @@ class %{APPNAME} : public TQWidget { Q_OBJECT TQ_OBJECT public: - %{APPNAME}(TQWidget *tqparent); + %{APPNAME}(TQWidget *parent); ~%{APPNAME}(); private: void mousePressEvent( TQMouseEvent* ); @@ -58,7 +58,7 @@ public: TQRESULT queryInterface( const TQUuid&, TQUnknownInterface** ); - TQWidget *applet( TQWidget* tqparent ); + TQWidget *applet( TQWidget* parent ); int position()const; /* diff --git a/languages/cpp/app_templates/opieinput/simpleimpl.cpp b/languages/cpp/app_templates/opieinput/simpleimpl.cpp index ea178e59..6a7bef4f 100644 --- a/languages/cpp/app_templates/opieinput/simpleimpl.cpp +++ b/languages/cpp/app_templates/opieinput/simpleimpl.cpp @@ -102,10 +102,10 @@ void %{APPNAME}::slotCtrl(bool b){ delete m_icn; } -TQWidget *%{APPNAME}Impl::inputMethod( TQWidget *tqparent, TQt::WFlags f ) +TQWidget *%{APPNAME}Impl::inputMethod( TQWidget *parent, TQt::WFlags f ) { if ( !m_pickboard ) - m_pickboard = new %{APPNAME}( tqparent, f ); + m_pickboard = new %{APPNAME}( parent, f ); return m_pickboard; } diff --git a/languages/cpp/app_templates/opieinput/simpleimpl.h b/languages/cpp/app_templates/opieinput/simpleimpl.h index 76af8138..ab41e38d 100644 --- a/languages/cpp/app_templates/opieinput/simpleimpl.h +++ b/languages/cpp/app_templates/opieinput/simpleimpl.h @@ -37,7 +37,7 @@ public: TQ_REFCOUNT #endif - virtual TQWidget *inputMethod( TQWidget *tqparent, TQt::WFlags f ); + virtual TQWidget *inputMethod( TQWidget *parent, TQt::WFlags f ); virtual void resetState(); virtual TQPixmap *icon(); virtual TQString name(); diff --git a/languages/cpp/app_templates/opiemenu/simpleimpl.h b/languages/cpp/app_templates/opiemenu/simpleimpl.h index 61c3cc5b..71d7afa4 100644 --- a/languages/cpp/app_templates/opiemenu/simpleimpl.h +++ b/languages/cpp/app_templates/opiemenu/simpleimpl.h @@ -26,7 +26,7 @@ public: /* virtual TQString tr( const char* ) const; virtual TQString tr( const char*, const char* ) const; */ - virtual TQPopupMenu *popup ( TQWidget *tqparent ) const; + virtual TQPopupMenu *popup ( TQWidget *parent ) const; virtual void activated ( ); }; diff --git a/languages/cpp/app_templates/opienet/simpleiface.cpp b/languages/cpp/app_templates/opienet/simpleiface.cpp index 9b38bc77..e98148d2 100644 --- a/languages/cpp/app_templates/opienet/simpleiface.cpp +++ b/languages/cpp/app_templates/opienet/simpleiface.cpp @@ -1,9 +1,9 @@ #include "%{APPNAMELC}iface.h" -%{APPNAME}Interface::%{APPNAME}Interface( TQObject* tqparent, +%{APPNAME}Interface::%{APPNAME}Interface( TQObject* parent, const char* name, bool status ) - : Interface(tqparent, name, status ) + : Interface(parent, name, status ) { } diff --git a/languages/cpp/app_templates/opienet/simpleiface.h b/languages/cpp/app_templates/opienet/simpleiface.h index c38d884f..d998de8f 100644 --- a/languages/cpp/app_templates/opienet/simpleiface.h +++ b/languages/cpp/app_templates/opienet/simpleiface.h @@ -8,7 +8,7 @@ class %{APPNAME}Interface : public Interface { TQ_OBJECT public: - %{APPNAME}Interface(TQObject* tqparent, const char* name = "vpn", bool up = false ); + %{APPNAME}Interface(TQObject* parent, const char* name = "vpn", bool up = false ); ~%{APPNAME}Interface(); public slots: diff --git a/languages/cpp/app_templates/opietoday/exampleplugin.cpp b/languages/cpp/app_templates/opietoday/exampleplugin.cpp index d3dc37ab..12d702b6 100644 --- a/languages/cpp/app_templates/opietoday/exampleplugin.cpp +++ b/languages/cpp/app_templates/opietoday/exampleplugin.cpp @@ -36,7 +36,7 @@ TQString %{APPNAME}::pixmapNameConfig() const { } // No config widget yet, look at the datebook plugin for an example of that -TodayConfigWidget* %{APPNAME}::configWidget( TQWidget* /*tqparent*/ ) { +TodayConfigWidget* %{APPNAME}::configWidget( TQWidget* /*parent*/ ) { return 0l; } diff --git a/languages/cpp/app_templates/opietoday/examplepluginwidget.cpp b/languages/cpp/app_templates/opietoday/examplepluginwidget.cpp index 98b19f9a..2f491481 100644 --- a/languages/cpp/app_templates/opietoday/examplepluginwidget.cpp +++ b/languages/cpp/app_templates/opietoday/examplepluginwidget.cpp @@ -3,8 +3,8 @@ #include "%{APPNAMELC}widget.h" -%{APPNAME}Widget::%{APPNAME}Widget( TQWidget *tqparent, const char* name) - : TQWidget(tqparent, name ) { +%{APPNAME}Widget::%{APPNAME}Widget( TQWidget *parent, const char* name) + : TQWidget(parent, name ) { m_exampleLabel = 0l; m_layout = 0l; diff --git a/languages/cpp/app_templates/opietoday/examplepluginwidget.h b/languages/cpp/app_templates/opietoday/examplepluginwidget.h index f5e35d4e..f079013e 100644 --- a/languages/cpp/app_templates/opietoday/examplepluginwidget.h +++ b/languages/cpp/app_templates/opietoday/examplepluginwidget.h @@ -11,7 +11,7 @@ class %{APPNAME}Widget : public TQWidget { TQ_OBJECT public: - %{APPNAME}Widget( TQWidget *tqparent, const char *name ); + %{APPNAME}Widget( TQWidget *parent, const char *name ); ~%{APPNAME}Widget(); void refresh(); diff --git a/languages/cpp/app_templates/qtopia4app/example.cpp b/languages/cpp/app_templates/qtopia4app/example.cpp index 12c3f634..735f7e03 100644 --- a/languages/cpp/app_templates/qtopia4app/example.cpp +++ b/languages/cpp/app_templates/qtopia4app/example.cpp @@ -2,8 +2,8 @@ #include "%{APPNAMELC}.h" #include <tqpushbutton.h> -%{APPNAME}Base::%{APPNAME}Base( TQWidget *tqparent, TQt::WFlags f ) - : TQWidget( tqparent, f ) +%{APPNAME}Base::%{APPNAME}Base( TQWidget *parent, TQt::WFlags f ) + : TQWidget( parent, f ) { setupUi( this ); } @@ -13,11 +13,11 @@ } /* - * Constructs a %{APPNAME} which is a child of 'tqparent', with the + * Constructs a %{APPNAME} which is a child of 'parent', with the * name 'name' and widget flags set to 'f' */ -%{APPNAME}::%{APPNAME}( TQWidget *tqparent, TQt::WFlags f ) - : %{APPNAME}Base( tqparent, f ) +%{APPNAME}::%{APPNAME}( TQWidget *parent, TQt::WFlags f ) + : %{APPNAME}Base( parent, f ) { connect(quit, TQT_SIGNAL(clicked()), this, TQT_SLOT(goodBye())); } diff --git a/languages/cpp/app_templates/qtopia4app/example.h b/languages/cpp/app_templates/qtopia4app/example.h index e4c44a8f..0b174641 100644 --- a/languages/cpp/app_templates/qtopia4app/example.h +++ b/languages/cpp/app_templates/qtopia4app/example.h @@ -6,7 +6,7 @@ class %{APPNAME}Base : public TQWidget, public Ui_%{APPNAME}Base { public: - %{APPNAME}Base( TQWidget *tqparent = 0, TQt::WFlags f = 0 ); + %{APPNAME}Base( TQWidget *parent = 0, TQt::WFlags f = 0 ); virtual ~%{APPNAME}Base(); }; @@ -15,7 +15,7 @@ class %{APPNAME} : public %{APPNAME}Base Q_OBJECT TQ_OBJECT public: - %{APPNAME}( TQWidget *tqparent = 0, TQt::WFlags f = 0 ); + %{APPNAME}( TQWidget *parent = 0, TQt::WFlags f = 0 ); virtual ~%{APPNAME}(); private slots: diff --git a/languages/cpp/app_templates/qtopiaapp/example.cpp b/languages/cpp/app_templates/qtopiaapp/example.cpp index 85082508..d68f6c6d 100644 --- a/languages/cpp/app_templates/qtopiaapp/example.cpp +++ b/languages/cpp/app_templates/qtopiaapp/example.cpp @@ -3,11 +3,11 @@ #include <tqpushbutton.h> /* - * Constructs a %{APPNAME} which is a child of 'tqparent', with the + * Constructs a %{APPNAME} which is a child of 'parent', with the * name 'name' and widget flags set to 'f' */ -%{APPNAME}::%{APPNAME}( TQWidget* tqparent, const char* name, WFlags fl ) - : %{APPNAME}Base( tqparent, name, fl ) +%{APPNAME}::%{APPNAME}( TQWidget* parent, const char* name, WFlags fl ) + : %{APPNAME}Base( parent, name, fl ) { connect(quit, TQT_SIGNAL(clicked()), this, TQT_SLOT(goodBye())); } diff --git a/languages/cpp/app_templates/qtopiaapp/example.h b/languages/cpp/app_templates/qtopiaapp/example.h index 64abf97c..84f90cfd 100644 --- a/languages/cpp/app_templates/qtopiaapp/example.h +++ b/languages/cpp/app_templates/qtopiaapp/example.h @@ -9,7 +9,7 @@ class %{APPNAME} : public %{APPNAME}Base TQ_OBJECT public: - %{APPNAME}( TQWidget* tqparent = 0, const char* name = 0, WFlags fl = 0 ); + %{APPNAME}( TQWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); ~%{APPNAME}(); private slots: diff --git a/languages/cpp/ast_utils.cpp b/languages/cpp/ast_utils.cpp index 8db2e754..050d4c24 100644 --- a/languages/cpp/ast_utils.cpp +++ b/languages/cpp/ast_utils.cpp @@ -63,8 +63,8 @@ void scopeOfNode( AST* ast, TQStringList& scope ) if ( !ast ) return ; - if ( ast->tqparent() ) - scopeOfNode( ast->tqparent(), scope ); + if ( ast->parent() ) + scopeOfNode( ast->parent(), scope ); TQString s; switch ( ast->nodeType() ) diff --git a/languages/cpp/ccconfigwidget.cpp b/languages/cpp/ccconfigwidget.cpp index 7bf2601e..e786fb87 100644 --- a/languages/cpp/ccconfigwidget.cpp +++ b/languages/cpp/ccconfigwidget.cpp @@ -60,8 +60,8 @@ using namespace std; -CCConfigWidget::CCConfigWidget( CppSupportPart* part, TQWidget* tqparent, const char* name ) - : CCConfigWidgetBase( tqparent, name ) +CCConfigWidget::CCConfigWidget( CppSupportPart* part, TQWidget* parent, const char* name ) + : CCConfigWidgetBase( parent, name ) { m_pPart = part; connect( m_pPart->codeRepository(), TQT_SIGNAL( catalogRegistered( Catalog* ) ), diff --git a/languages/cpp/ccconfigwidget.h b/languages/cpp/ccconfigwidget.h index 3cf2f89b..3e7fe0bf 100644 --- a/languages/cpp/ccconfigwidget.h +++ b/languages/cpp/ccconfigwidget.h @@ -26,7 +26,7 @@ class CCConfigWidget : public CCConfigWidgetBase TQ_OBJECT public: - CCConfigWidget( CppSupportPart* part, TQWidget* tqparent = 0, const char* name = 0 ); + CCConfigWidget( CppSupportPart* part, TQWidget* parent = 0, const char* name = 0 ); virtual ~CCConfigWidget( ); public slots: diff --git a/languages/cpp/classgeneratorconfig.cpp b/languages/cpp/classgeneratorconfig.cpp index 963faa71..70ad5d10 100644 --- a/languages/cpp/classgeneratorconfig.cpp +++ b/languages/cpp/classgeneratorconfig.cpp @@ -21,8 +21,8 @@ #include "cppsupportfactory.h" #include "classgeneratorconfig.h" -ClassGeneratorConfig::ClassGeneratorConfig( TQWidget* tqparent, const char* name, WFlags fl ) - : ClassGeneratorConfigBase( tqparent, name, fl ) +ClassGeneratorConfig::ClassGeneratorConfig( TQWidget* parent, const char* name, WFlags fl ) + : ClassGeneratorConfigBase( parent, name, fl ) { readConfig(); currTemplate = &cppHeaderText; @@ -34,8 +34,8 @@ ClassGeneratorConfig::ClassGeneratorConfig( TQString v_cppHeaderText, TQString v TQString v_gtkHeaderText, TQString v_gtkSourceText, NameCase v_fileCase, NameCase v_defCase, NameCase v_superCase, bool v_showAuthor, bool v_genDoc, bool v_reformat, - TQWidget* tqparent, const char* name, WFlags fl ) - : ClassGeneratorConfigBase( tqparent, name, fl ), + TQWidget* parent, const char* name, WFlags fl ) + : ClassGeneratorConfigBase( parent, name, fl ), cppHeaderText( v_cppHeaderText ), cppSourceText( v_cppSourceText ), objcHeaderText( v_objcHeaderText ), objcSourceText( v_objcSourceText ), gtkHeaderText( v_gtkHeaderText ), gtkSourceText( v_gtkSourceText ) diff --git a/languages/cpp/classgeneratorconfig.h b/languages/cpp/classgeneratorconfig.h index f9a82752..bbe59e24 100644 --- a/languages/cpp/classgeneratorconfig.h +++ b/languages/cpp/classgeneratorconfig.h @@ -22,14 +22,14 @@ class ClassGeneratorConfig : public ClassGeneratorConfigBase public: enum NameCase { LowerCase, UpperCase, SameAsClassCase, SameAsFileCase }; - ClassGeneratorConfig( TQWidget* tqparent = 0, const char* name = 0, WFlags fl = 0 ); + ClassGeneratorConfig( TQWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); ClassGeneratorConfig( TQString v_cppHeaderText, TQString v_cppSourceText, TQString v_objcHeaderText, TQString v_objcSourceText, TQString v_gtkHeaderText, TQString v_gtkSourceText, NameCase v_fileCase, NameCase v_defCase, NameCase v_superCase, bool v_showAuthor, bool v_genDoc, bool v_reformat, - TQWidget* tqparent = 0, const char* name = 0, WFlags fl = 0 ); + TQWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); ~ClassGeneratorConfig(); /*$PUBLIC_FUNCTIONS$*/ diff --git a/languages/cpp/compiler/gccoptions/gccoptionsplugin.cpp b/languages/cpp/compiler/gccoptions/gccoptionsplugin.cpp index 533f6ad7..4add5992 100644 --- a/languages/cpp/compiler/gccoptions/gccoptionsplugin.cpp +++ b/languages/cpp/compiler/gccoptions/gccoptionsplugin.cpp @@ -29,7 +29,7 @@ K_EXPORT_COMPONENT_FACTORY( libkdevgccoptions, KGenericFactory<GccOptionsPlugin> class GeneralTab : public TQWidget { public: - GeneralTab( GccOptionsPlugin::Type type, TQWidget *tqparent = 0, const char *name = 0 ); + GeneralTab( GccOptionsPlugin::Type type, TQWidget *parent = 0, const char *name = 0 ); ~GeneralTab(); void readFlags( TQStringList *str ); @@ -43,7 +43,7 @@ private: class OptimizationTab : public TQWidget { public: - OptimizationTab( GccOptionsPlugin::Type type, TQWidget *tqparent = 0, const char *name = 0 ); + OptimizationTab( GccOptionsPlugin::Type type, TQWidget *parent = 0, const char *name = 0 ); ~OptimizationTab(); void readFlags( TQStringList *str ); @@ -58,7 +58,7 @@ private: class G77Tab : public TQWidget { public: - G77Tab( TQWidget *tqparent = 0, const char *name = 0 ); + G77Tab( TQWidget *parent = 0, const char *name = 0 ); ~G77Tab(); void readFlags( TQStringList *str ); @@ -72,7 +72,7 @@ private: class Warnings1Tab : public TQWidget { public: - Warnings1Tab( GccOptionsPlugin::Type type, TQWidget *tqparent = 0, const char *name = 0 ); + Warnings1Tab( GccOptionsPlugin::Type type, TQWidget *parent = 0, const char *name = 0 ); ~Warnings1Tab(); void readFlags( TQStringList *str ); @@ -87,7 +87,7 @@ private: class Warnings2Tab : public TQWidget { public: - Warnings2Tab( GccOptionsPlugin::Type type, TQWidget *tqparent = 0, const char *name = 0 ); + Warnings2Tab( GccOptionsPlugin::Type type, TQWidget *parent = 0, const char *name = 0 ); ~Warnings2Tab(); void readFlags( TQStringList *str ); @@ -98,8 +98,8 @@ private: }; -GeneralTab::GeneralTab( GccOptionsPlugin::Type type, TQWidget *tqparent, const char *name ) - : TQWidget( tqparent, name ), controller( new FlagCheckBoxController ) +GeneralTab::GeneralTab( GccOptionsPlugin::Type type, TQWidget *parent, const char *name ) + : TQWidget( parent, name ), controller( new FlagCheckBoxController ) { TQBoxLayout * tqlayout = new TQVBoxLayout( this, KDialog::marginHint(), KDialog::spacingHint() ); tqlayout->setAutoAdd( true ); @@ -164,8 +164,8 @@ void GeneralTab::writeFlags( TQStringList *list ) } -OptimizationTab::OptimizationTab( GccOptionsPlugin::Type type, TQWidget *tqparent, const char *name ) - : TQWidget( tqparent, name ) +OptimizationTab::OptimizationTab( GccOptionsPlugin::Type type, TQWidget *parent, const char *name ) + : TQWidget( parent, name ) { TQBoxLayout * tqlayout = new TQVBoxLayout( this, KDialog::marginHint(), KDialog::spacingHint() ); tqlayout->setAutoAdd( true ); @@ -261,8 +261,8 @@ void OptimizationTab::writeFlags( TQStringList *list ) } -G77Tab::G77Tab( TQWidget *tqparent, const char *name ) - : TQWidget( tqparent, name ), controller( new FlagCheckBoxController ) +G77Tab::G77Tab( TQWidget *parent, const char *name ) + : TQWidget( parent, name ), controller( new FlagCheckBoxController ) { TQBoxLayout * tqlayout = new TQVBoxLayout( this, KDialog::marginHint(), KDialog::spacingHint() ); tqlayout->setAutoAdd( true ); @@ -316,8 +316,8 @@ void G77Tab::writeFlags( TQStringList *list ) } -Warnings1Tab::Warnings1Tab( GccOptionsPlugin::Type type, TQWidget *tqparent, const char *name ) - : TQWidget( tqparent, name ), controller( new FlagCheckBoxController ) +Warnings1Tab::Warnings1Tab( GccOptionsPlugin::Type type, TQWidget *parent, const char *name ) + : TQWidget( parent, name ), controller( new FlagCheckBoxController ) { TQBoxLayout * tqlayout = new TQVBoxLayout( this, KDialog::marginHint(), KDialog::spacingHint() ); tqlayout->setAutoAdd( true ); @@ -414,8 +414,8 @@ void Warnings1Tab::writeFlags( TQStringList *list ) } -Warnings2Tab::Warnings2Tab( GccOptionsPlugin::Type type, TQWidget *tqparent, const char *name ) - : TQWidget( tqparent, name ) +Warnings2Tab::Warnings2Tab( GccOptionsPlugin::Type type, TQWidget *parent, const char *name ) + : TQWidget( parent, name ) { TQBoxLayout * tqlayout = new TQVBoxLayout( this, KDialog::marginHint(), KDialog::spacingHint() ); tqlayout->setAutoAdd( true ); @@ -572,8 +572,8 @@ void Warnings2Tab::writeFlags( TQStringList *list ) // Last but not least... :-) -GccOptionsDialog::GccOptionsDialog( GccOptionsPlugin::Type type, TQWidget *tqparent, const char *name ) - : KDialogBase( Tabbed, GccOptionsPlugin::captionForType( type ), Ok | Cancel, Ok, tqparent, name, true ) +GccOptionsDialog::GccOptionsDialog( GccOptionsPlugin::Type type, TQWidget *parent, const char *name ) + : KDialogBase( Tabbed, GccOptionsPlugin::captionForType( type ), Ok | Cancel, Ok, parent, name, true ) { TQVBox * vbox; @@ -649,8 +649,8 @@ TQString GccOptionsDialog::flags() const } -GccOptionsPlugin::GccOptionsPlugin( TQObject *tqparent, const char *name, const TQStringList &args ) - : KDevCompilerOptions( tqparent, name ) +GccOptionsPlugin::GccOptionsPlugin( TQObject *parent, const char *name, const TQStringList &args ) + : KDevCompilerOptions( parent, name ) { gcctype = Unknown; @@ -688,11 +688,11 @@ TQString GccOptionsPlugin::captionForType( Type type ) } -TQString GccOptionsPlugin::exec( TQWidget *tqparent, const TQString &flags ) +TQString GccOptionsPlugin::exec( TQWidget *parent, const TQString &flags ) { if ( gcctype == Unknown ) return TQString(); - GccOptionsDialog *dlg = new GccOptionsDialog( gcctype, tqparent, "gcc options dialog" ); + GccOptionsDialog *dlg = new GccOptionsDialog( gcctype, parent, "gcc options dialog" ); TQString newFlags = flags; dlg->setFlags( flags ); if ( dlg->exec() == TQDialog::Accepted ) diff --git a/languages/cpp/compiler/gccoptions/gccoptionsplugin.h b/languages/cpp/compiler/gccoptions/gccoptionsplugin.h index 0ac93c23..d5a0d644 100644 --- a/languages/cpp/compiler/gccoptions/gccoptionsplugin.h +++ b/languages/cpp/compiler/gccoptions/gccoptionsplugin.h @@ -31,12 +31,12 @@ class GccOptionsPlugin : public KDevCompilerOptions public: enum Type { GCC, GPP, G77, Unknown }; - GccOptionsPlugin( TQObject *tqparent, const char *name, const TQStringList &args ); + GccOptionsPlugin( TQObject *parent, const char *name, const TQStringList &args ); ~GccOptionsPlugin(); static TQString captionForType(Type type); - virtual TQString exec(TQWidget *tqparent, const TQString &flags); + virtual TQString exec(TQWidget *parent, const TQString &flags); private: Type gcctype; @@ -46,7 +46,7 @@ private: class GccOptionsDialog : public KDialogBase { public: - GccOptionsDialog( GccOptionsPlugin::Type type, TQWidget *tqparent=0, const char *name=0 ); + GccOptionsDialog( GccOptionsPlugin::Type type, TQWidget *parent=0, const char *name=0 ); ~GccOptionsDialog(); void setFlags(const TQString &flags); diff --git a/languages/cpp/cppcodecompletion.cpp b/languages/cpp/cppcodecompletion.cpp index 846aec77..be16ec28 100644 --- a/languages/cpp/cppcodecompletion.cpp +++ b/languages/cpp/cppcodecompletion.cpp @@ -348,7 +348,7 @@ struct PopupFillerHelpStruct { TQMap<TQString, TQPopupMenu*> m_namespacePopupCache; - void insertItem( TQPopupMenu* tqparent, SimpleTypeImpl::MemberInfo d , TQString prefix ) { + void insertItem( TQPopupMenu* parent, SimpleTypeImpl::MemberInfo d , TQString prefix ) { Q_UNUSED(prefix); TQString memType = d.memberTypeToString(); @@ -357,12 +357,12 @@ struct PopupFillerHelpStruct { memType = "enum"; TQString txt = i18n( "Jump to %1 %2" ).tqarg( memType ).tqarg( cleanForMenu( d.name ) ); - int id = tqparent->insertItem( txt, receiver, TQT_SLOT( popupAction( int ) ) ); + int id = parent->insertItem( txt, receiver, TQT_SLOT( popupAction( int ) ) ); receiver->m_popupActions.insert( id, d.decl ); } - void insertItem ( TQPopupMenu* tqparent, TypeDesc d , TQString prefix ) { + void insertItem ( TQPopupMenu* parent, TypeDesc d , TQString prefix ) { Debug dbg( "#insert# ", 10 ); TQString txt1, txt2; @@ -374,14 +374,14 @@ struct PopupFillerHelpStruct { for ( SimpleTypeNamespace::SlaveList::iterator it = slaves.begin(); it != slaves.end(); ++it ) { SimpleTypeCodeModel* cm = dynamic_cast<SimpleTypeCodeModel*>( ( *it ).first.first.resolved().data() ); if ( cm && cm->item() ) { - TQPopupMenu * m = PopupTracker::createPopup( tqparent ); + TQPopupMenu * m = PopupTracker::createPopup( parent ); TQString scope = cm->scope().join("::"); TQMap< TQString, TQPopupMenu* >::iterator it = m_namespacePopupCache.find( scope ); if( it != m_namespacePopupCache.end() ) { - tqparent->insertItem( "Imported Namespace " + scope, *it ); + parent->insertItem( "Imported Namespace " + scope, *it ); delete m; } else { - tqparent->insertItem( "Imported Namespace " + scope, m ); + parent->insertItem( "Imported Namespace " + scope, m ); insertItem( m, ( new SimpleTypeCachedCodeModel( cm->item() ) ) ->desc(), prefix ); m_namespacePopupCache.insert( scope, m ); @@ -390,7 +390,7 @@ struct PopupFillerHelpStruct { SimpleTypeNamespace* cn = dynamic_cast<SimpleTypeNamespace*>( ( *it ).first.first.resolved().data() ); if( cn ) { TypePointer t = new SimpleTypeNamespace( cn ); //To avoid endless recursion, this needs to be done(the dynamic-cast above fails) - insertItem( tqparent, t->desc(), prefix ); + insertItem( parent, t->desc(), prefix ); } } } @@ -423,7 +423,7 @@ struct PopupFillerHelpStruct { int sLine, sCol, eLine, eCol; i->getStartPosition( &sLine, &sCol ); i->getEndPosition( &eLine, &eCol ); - insertItem( tqparent, (new SimpleTypeCodeModel( i ))->desc(), prefix + " " + (*it)->name() + TQString(" (%1 Lines): ").tqarg( eLine - sLine ) ); ///SimpleTypeCodeModel is used instead of SimpleTypeCachedNodeModel, so the detection at (1) does not trigger, this avoids endless recursion. + insertItem( parent, (new SimpleTypeCodeModel( i ))->desc(), prefix + " " + (*it)->name() + TQString(" (%1 Lines): ").tqarg( eLine - sLine ) ); ///SimpleTypeCodeModel is used instead of SimpleTypeCachedNodeModel, so the detection at (1) does not trigger, this avoids endless recursion. } } @@ -447,12 +447,12 @@ struct PopupFillerHelpStruct { } } - int id = tqparent->insertItem( txt1, receiver, TQT_SLOT( popupAction( int ) ) ); + int id = parent->insertItem( txt1, receiver, TQT_SLOT( popupAction( int ) ) ); if ( d.resolved() ) receiver->m_popupActions.insert( id, d.resolved() ->getDeclarationInfo() ); if ( !txt2.isEmpty() ) { - int id2 = tqparent->insertItem( txt2, receiver, TQT_SLOT( popupDefinitionAction( int ) ) ); + int id2 = parent->insertItem( txt2, receiver, TQT_SLOT( popupDefinitionAction( int ) ) ); if ( d.resolved() ) receiver->m_popupDefinitionActions.insert( id2, d.resolved() ->getDeclarationInfo() ); } @@ -523,7 +523,7 @@ struct PopupClassViewFillerHelpStruct { return false; } - void insertItem( TQPopupMenu* tqparent, SimpleTypeImpl::MemberInfo d , TQString prefix ) { + void insertItem( TQPopupMenu* parent, SimpleTypeImpl::MemberInfo d , TQString prefix ) { Q_UNUSED(prefix); FileDom f = receiver->m_pSupport->codeModel() ->fileByName( d.decl.file ); if ( !f ) @@ -537,12 +537,12 @@ struct PopupClassViewFillerHelpStruct { memType = "enum"; TQString txt = i18n( "Show %1 %2" ).tqarg( memType ).tqarg( cleanForMenu( d.name ) ); - int id = tqparent->insertItem( txt, receiver, TQT_SLOT( popupClassViewAction( int ) ) ); + int id = parent->insertItem( txt, receiver, TQT_SLOT( popupClassViewAction( int ) ) ); receiver->m_popupClassViewActions.insert( id, dom ); } - void insertItem ( TQPopupMenu* tqparent, TypeDesc d , TQString prefix ) { + void insertItem ( TQPopupMenu* parent, TypeDesc d , TQString prefix ) { Debug dbg( "#insert# ", 10 ); TQString txt; @@ -565,12 +565,12 @@ struct PopupClassViewFillerHelpStruct { for ( SimpleTypeNamespace::SlaveList::iterator it = slaves.begin(); it != slaves.end(); ++it ) { SimpleTypeCodeModel* cm = dynamic_cast<SimpleTypeCodeModel*>( ( *it ).first.first.resolved().data() ); if ( cm && cm->item() ) { - insertItem( tqparent, ( new SimpleTypeCachedCodeModel( cm->item() ) ) ->desc(), prefix ); + insertItem( parent, ( new SimpleTypeCachedCodeModel( cm->item() ) ) ->desc(), prefix ); } else { SimpleTypeNamespace* cn = dynamic_cast<SimpleTypeNamespace*>( ( *it ).first.first.resolved().data() ); if( cn ) { TypePointer t = new SimpleTypeNamespace( cn ); //to avoid endless recursion (caching would be better) - insertItem( tqparent, t->desc(), prefix ); + insertItem( parent, t->desc(), prefix ); } } } @@ -596,7 +596,7 @@ struct PopupClassViewFillerHelpStruct { } } - int id = tqparent->insertItem( txt, receiver, TQT_SLOT( popupClassViewAction( int ) ) ); + int id = parent->insertItem( txt, receiver, TQT_SLOT( popupClassViewAction( int ) ) ); if ( dom ) receiver->m_popupClassViewActions.insert( id, dom ); @@ -612,13 +612,13 @@ class PopupFiller { PopupFiller( HelpStruct str , TQString dAdd, int maxCount = 100 ) : struk( str ), depthAdd( dAdd ), s( maxCount ) {} - void fillIncludes( const DeclarationInfo& decl, TQPopupMenu* tqparent, bool& needSeparator ) { + void fillIncludes( const DeclarationInfo& decl, TQPopupMenu* parent, bool& needSeparator ) { if( !struk.receiver->getIncludeFiles()[ HashedString( decl.file ) ] ) { TQString file = decl.file; //The include-file seems to be missing if( needSeparator ) { needSeparator = false; - tqparent->insertSeparator(); + parent->insertSeparator(); } TQString includeFile = file; @@ -644,7 +644,7 @@ class PopupFiller { //kdDebug( 9007 ) << "found include-file \"" << includeFile << "\"" << endl; } - int id = tqparent->insertItem( i18n( "#include \"%1\" ( defines %2 )" ).tqarg ( includeFile ).tqarg( decl.name ), struk.receiver, TQT_SLOT( popupAction( int ) ) ); + int id = parent->insertItem( i18n( "#include \"%1\" ( defines %2 )" ).tqarg ( includeFile ).tqarg( decl.name ), struk.receiver, TQT_SLOT( popupAction( int ) ) ); DeclarationInfo fakeDec; fakeDec.name = decl.name; fakeDec.file = includeFile; @@ -653,7 +653,7 @@ class PopupFiller { } } - void fill( TQPopupMenu * tqparent, LocateResult d, TQString prefix = "", const DeclarationInfo & sourceVariable = DeclarationInfo() ) { + void fill( TQPopupMenu * parent, LocateResult d, TQString prefix = "", const DeclarationInfo & sourceVariable = DeclarationInfo() ) { Debug dbg( "#fl# ", 10 ) ; @@ -673,29 +673,29 @@ class PopupFiller { /*int id = m->insertItem( i18n("jump to variable-declaration \"%1\"").tqarg( type.sourceVariable.name ) , this, TQT_SLOT( popupAction( int ) ) ); m_popupActions.insert( id, type.sourceVariable );*/ - struk.insertItem( tqparent, f, prefix ); + struk.insertItem( parent, f, prefix ); - tqparent->insertSeparator(); + parent->insertSeparator(); if ( !sourceVariable.comment.isEmpty() ) { - TQPopupMenu * m = PopupTracker::createPopup( tqparent ); - tqparent->insertItem( i18n( "Comment on %1" ).tqarg( sourceVariable.name ), m ); + TQPopupMenu * m = PopupTracker::createPopup( parent ); + parent->insertItem( i18n( "Comment on %1" ).tqarg( sourceVariable.name ), m ); TQStringList ls = prepareTextForMenu( sourceVariable.comment, 15, 100 ); for ( TQStringList::iterator it = ls.begin(); it != ls.end(); ++it ) { m->insertItem( *it, 0, TQT_SLOT( popupClassViewAction( int ) ) ); } - tqparent->insertSeparator(); + parent->insertSeparator(); } } - struk.insertItem( tqparent, d, prefix ); + struk.insertItem( parent, d, prefix ); if( d->resolved() && !d->resolved()->specialization().isEmpty() ) { - SimpleType p = d->resolved()->tqparent(); + SimpleType p = d->resolved()->parent(); LocateResult r = p->locateDecType( d->name() ); if( r ) { - TQPopupMenu * m = PopupTracker::createPopup( tqparent ); - tqparent->insertItem( i18n( "Specialized from \"%1\"" ).tqarg( cleanForMenu( r->fullNameChain() ) ), m ); + TQPopupMenu * m = PopupTracker::createPopup( parent ); + parent->insertItem( i18n( "Specialized from \"%1\"" ).tqarg( cleanForMenu( r->fullNameChain() ) ), m ); fill( m, r ); } } @@ -703,11 +703,11 @@ class PopupFiller { TypeDesc::TemplateParams p = d->templateParams(); for ( TypeDesc::TemplateParams::iterator it = p.begin(); it != p.end(); ++it ) { //if( (*it)->resolved() ) { - TQPopupMenu * m = PopupTracker::createPopup( tqparent ); - tqparent->insertItem( i18n( "Template-param \"%1\"" ).tqarg( cleanForMenu( ( *it ) ->fullNameChain() ) ), m ); + TQPopupMenu * m = PopupTracker::createPopup( parent ); + parent->insertItem( i18n( "Template-param \"%1\"" ).tqarg( cleanForMenu( ( *it ) ->fullNameChain() ) ), m ); fill( m, **it ); /*} else { - fill( tqparent, **it, prefix + depthAdd ); + fill( parent, **it, prefix + depthAdd ); }*/ } @@ -715,16 +715,16 @@ class PopupFiller { if ( d->resolved() ->asFunction() ) { LocateResult rt = d->resolved() ->locateDecType( d->resolved() ->asFunction() ->getReturnType() ); if ( rt ) { - TQPopupMenu * m = PopupTracker::createPopup( tqparent ); - tqparent->insertItem( i18n( "Return-type \"%1\"" ).tqarg( cleanForMenu( rt->fullNameChain() ) ), m ); + TQPopupMenu * m = PopupTracker::createPopup( parent ); + parent->insertItem( i18n( "Return-type \"%1\"" ).tqarg( cleanForMenu( rt->fullNameChain() ) ), m ); fill( m, rt ); } TQValueList<TypeDesc> args = d->resolved() ->asFunction() ->getArgumentTypes(); TQStringList argNames = d->resolved() ->asFunction() ->getArgumentNames(); if ( !args.isEmpty() ) { - TQPopupMenu * m = PopupTracker::createPopup( tqparent ); - tqparent->insertItem( i18n( "Argument-types" ), m ); + TQPopupMenu * m = PopupTracker::createPopup( parent ); + parent->insertItem( i18n( "Argument-types" ), m ); TQStringList::iterator it2 = argNames.begin(); for ( TQValueList<TypeDesc>::iterator it = args.begin(); it != args.end(); ++it ) { LocateResult at = d->resolved() ->locateDecType( *it ); @@ -745,8 +745,8 @@ class PopupFiller { if ( d.trace() ) { TQValueList<TQPair<SimpleTypeImpl::MemberInfo, TypeDesc> > trace = d.trace() ->trace(); if ( !trace.isEmpty() ) { - TQPopupMenu * m = PopupTracker::createPopup( tqparent ); - tqparent->insertItem( i18n( "Trace" ), m ); + TQPopupMenu * m = PopupTracker::createPopup( parent ); + parent->insertItem( i18n( "Trace" ), m ); for ( TQValueList<TQPair<SimpleTypeImpl::MemberInfo, TypeDesc> >::iterator it = trace.begin(); it != trace.end(); ++it ) { TQPopupMenu * mo = PopupTracker::createPopup( m ); @@ -778,21 +778,21 @@ class PopupFiller { if ( d->resolved() ) { TQValueList<LocateResult> bases = d->resolved() ->getBases(); for ( TQValueList<LocateResult>::iterator it = bases.begin(); it != bases.end(); ++it ) { - TQPopupMenu * m = PopupTracker::createPopup( tqparent ); - tqparent->insertItem( i18n( "Base-class \"%1\"" ).tqarg( cleanForMenu( ( *it ) ->fullNameChain() ) ), m ); + TQPopupMenu * m = PopupTracker::createPopup( parent ); + parent->insertItem( i18n( "Base-class \"%1\"" ).tqarg( cleanForMenu( ( *it ) ->fullNameChain() ) ), m ); fill( m, *it ); } - if ( d->resolved() ->tqparent() && d->resolved() ->tqparent() ->desc() ) { - TQPopupMenu * m = PopupTracker::createPopup( tqparent ); - tqparent->insertItem( i18n( "Nested in \"%1\"" ).tqarg( cleanForMenu( d->resolved() ->tqparent() ->fullTypeResolved() ) ), m ); - fill( m, d->resolved() ->tqparent() ->desc() ); + if ( d->resolved() ->parent() && d->resolved() ->parent() ->desc() ) { + TQPopupMenu * m = PopupTracker::createPopup( parent ); + parent->insertItem( i18n( "Nested in \"%1\"" ).tqarg( cleanForMenu( d->resolved() ->parent() ->fullTypeResolved() ) ), m ); + fill( m, d->resolved() ->parent() ->desc() ); } if ( !d->resolved() ->comment().isEmpty() ) { - tqparent->insertSeparator(); - TQPopupMenu * m = PopupTracker::createPopup( tqparent ); - tqparent->insertItem( i18n( "Comment on %1" ).tqarg( cleanForMenu( d->name() ) ), m ); + parent->insertSeparator(); + TQPopupMenu * m = PopupTracker::createPopup( parent ); + parent->insertItem( i18n( "Comment on %1" ).tqarg( cleanForMenu( d->name() ) ), m ); TQStringList ls = prepareTextForMenu( d->resolved() ->comment(), 15, 100 ); for ( TQStringList::iterator it = ls.begin(); it != ls.end(); ++it ) { m->insertItem( *it, 0, TQT_SLOT( popupClassViewAction( int ) ) ); @@ -809,14 +809,14 @@ class PopupFiller { if ( !trace.isEmpty() ) { for ( TQValueList<TQPair<SimpleTypeImpl::MemberInfo, TypeDesc> >::iterator it = trace.begin(); it != trace.end(); ++it ) { if( struk.shouldShowIncludeMenu() && struk.receiver->cppSupport()->codeCompletionConfig()->preProcessAllHeaders() && !(*it).first.decl.file.operator TQString().isEmpty() ) - fillIncludes( (*it).first.decl, tqparent, needSeparator ); + fillIncludes( (*it).first.decl, parent, needSeparator ); } } } //Show the include-file for the item itself if( d->resolved() && !d->resolved()->isNamespace() && struk.receiver->cppSupport() ) { - fillIncludes( d->resolved()->getDeclarationInfo(), tqparent, needSeparator ); + fillIncludes( d->resolved()->getDeclarationInfo(), parent, needSeparator ); } } } @@ -1691,7 +1691,7 @@ void CppCodeCompletion::slotTextHint( int line, int column, TQString &text ) { } text += "type: \"" + type.resultType->fullTypeResolved() + "\""; } - if( type.resultType->tqparent()) text += "\nnested in: \"" + type.resultType->tqparent()->fullTypeResolvedWithScope() + "\""; + if( type.resultType->parent()) text += "\nnested in: \"" + type.resultType->parent()->fullTypeResolvedWithScope() + "\""; DeclarationInfo i = type.resultType->getDeclarationInfo(); if( i ) text += "\n" + i.locationToText(); @@ -2790,7 +2790,7 @@ void CppCodeCompletion::completeText( bool invokedOnDemand /*= false*/ ) { } if( !t->isNamespace() || invokedOnDemand || alwaysIncludeNamespaces ) computeCompletionEntryList( t, entryList, t->scope(), false, depth ); - t = t->tqparent(); + t = t->parent(); depth++; } } @@ -2807,7 +2807,7 @@ void CppCodeCompletion::completeText( bool invokedOnDemand /*= false*/ ) { } if ( ( (t->isNamespace() && invokedOnDemand) || alwaysIncludeNamespaces ) || ( first && isInstance ) ) computeCompletionEntryList( t, entryList, t->scope(), t->isNamespace() ? true : isInstance, depth ); - t = t->tqparent(); + t = t->parent(); depth++; first = false; } @@ -2890,7 +2890,7 @@ void CppCodeCompletion::completeText( bool invokedOnDemand /*= false*/ ) { if ( method ) signatureList += computeSignatureList( method ); if ( t ) - t = t->tqparent(); + t = t->parent(); } while ( !ready && s ); if ( !signatureList.isEmpty() ) { @@ -3293,7 +3293,7 @@ FunctionDefinitionAST * CppCodeCompletion::functionDefinition( AST* node ) { while ( node ) { if ( node->nodeType() == NodeType_FunctionDefinition ) return static_cast<FunctionDefinitionAST*>( node ); - node = node->tqparent(); + node = node->parent(); } return 0; } @@ -3360,7 +3360,7 @@ TQString codeModelAccessToString( CodeModelItem::Access access ) { #define MAXCOMMENTCOLUMNS 45 -TQString CppCodeCompletion::commentFromItem( const SimpleType& tqparent, const ItemDom& item ) { +TQString CppCodeCompletion::commentFromItem( const SimpleType& parent, const ItemDom& item ) { --m_maxComments; static TQString maxReached = " "; if( m_maxComments < 0 ) { @@ -3371,8 +3371,8 @@ TQString CppCodeCompletion::commentFromItem( const SimpleType& tqparent, const I item->getStartPosition( &line, &col ); - if ( !tqparent->scope().isEmpty() ) { - ret += "Container: " + tqparent->fullTypeResolvedWithScope(); + if ( !parent->scope().isEmpty() ) { + ret += "Container: " + parent->fullTypeResolvedWithScope(); } if ( item->isEnum() ) { @@ -3451,7 +3451,7 @@ TQString CppCodeCompletion::commentFromItem( const SimpleType& tqparent, const I ret += "\nKind: Typedef"; if ( t ) { ret += "\nType: " + t->type(); - LocateResult r = tqparent->locateDecType( t->type() ); + LocateResult r = parent->locateDecType( t->type() ); if ( r.desc().resolved() ) ret += "\nResolved type: " + r.desc().resolved() ->fullTypeResolvedWithScope(); else @@ -3469,7 +3469,7 @@ TQString CppCodeCompletion::commentFromItem( const SimpleType& tqparent, const I return ret; } -TQString CppCodeCompletion::commentFromTag( const SimpleType& tqparent, Tag& tag ) { +TQString CppCodeCompletion::commentFromTag( const SimpleType& parent, Tag& tag ) { --m_maxComments; static TQString maxReached = " "; if( m_maxComments < 0 ) { @@ -3480,8 +3480,8 @@ TQString CppCodeCompletion::commentFromTag( const SimpleType& tqparent, Tag& tag tag.getStartPosition( &line, &col ); TQString ret; // = tag.comment(); - if ( !tqparent->scope().isEmpty() ) { - ret += "Container: " + tqparent->fullTypeResolvedWithScope(); + if ( !parent->scope().isEmpty() ) { + ret += "Container: " + parent->fullTypeResolvedWithScope(); } /* if( tag.kind() == Tag::Kind_Enum ) { @@ -3571,7 +3571,7 @@ TQString CppCodeCompletion::commentFromTag( const SimpleType& tqparent, Tag& tag if ( tag.kind() == Tag::Kind_Typedef ) { ret += "\nKind: Typedef"; ret += "\nType: " + tagType( tag ); - LocateResult r = tqparent->locateDecType( tagType( tag ) ); + LocateResult r = parent->locateDecType( tagType( tag ) ); if ( r.desc().resolved() ) ret += "\nResolved type: " + r.desc().resolved() ->fullTypeResolvedWithScope(); else @@ -3962,7 +3962,7 @@ void CppCodeCompletion::computeCompletionEntryList( SimpleType type, TQValueList computeCompletionEntryList( type, entryList, scope->namespaceList(), isInstance, depth ); } -void CppCodeCompletion::computeCompletionEntryList( TQString tqparent, SimpleType type, TQValueList< CodeCompletionEntry > & entryList, const ClassList & lst, bool isInstance, int depth ) { +void CppCodeCompletion::computeCompletionEntryList( TQString parent, SimpleType type, TQValueList< CodeCompletionEntry > & entryList, const ClassList & lst, bool isInstance, int depth ) { Debug d( "#cel#" ); if ( !safetyCounter || !d ) return ; @@ -3981,7 +3981,7 @@ void CppCodeCompletion::computeCompletionEntryList( TQString tqparent, SimpleTyp if ( isInstance ) continue; - entry.userdata = TQString( "%1%2%3%4%5" ).tqarg( CodeModelItem::Public ).tqarg( depth ).tqarg( tqparent ).tqarg( 6 ); + entry.userdata = TQString( "%1%2%3%4%5" ).tqarg( CodeModelItem::Public ).tqarg( depth ).tqarg( parent ).tqarg( 6 ); entryList << entry; @@ -3993,7 +3993,7 @@ void CppCodeCompletion::computeCompletionEntryList( TQString tqparent, SimpleTyp } } -void CppCodeCompletion::computeCompletionEntryList( TQString tqparent, SimpleType type, TQValueList< CodeCompletionEntry > & entryList, const TypeAliasList & lst, bool isInstance, int depth ) { +void CppCodeCompletion::computeCompletionEntryList( TQString parent, SimpleType type, TQValueList< CodeCompletionEntry > & entryList, const TypeAliasList & lst, bool isInstance, int depth ) { Debug d( "#cel#" ); if ( !safetyCounter || !d ) return ; @@ -4015,7 +4015,7 @@ void CppCodeCompletion::computeCompletionEntryList( TQString tqparent, SimpleTyp entry.prefix = stringMult( depth, " " ) + entry.prefix.stripWhiteSpace(); entry.text = klass->name(); entry.comment = commentFromItem( type, klass.data() ); - entry.userdata = TQString( "%1%2%3%4%5" ).tqarg( CodeModelItem::Public ).tqarg( depth ).tqarg( tqparent ).tqarg( 5 ); + entry.userdata = TQString( "%1%2%3%4%5" ).tqarg( CodeModelItem::Public ).tqarg( depth ).tqarg( parent ).tqarg( 5 ); entryList << entry; } } diff --git a/languages/cpp/cppcodecompletion.h b/languages/cpp/cppcodecompletion.h index 4b619984..27bfc1b6 100644 --- a/languages/cpp/cppcodecompletion.h +++ b/languages/cpp/cppcodecompletion.h @@ -52,9 +52,9 @@ public: static uint pendingPopups; - static TQPopupMenu* createPopup( TQWidget* tqparent ) { + static TQPopupMenu* createPopup( TQWidget* parent ) { if( !pt ) pt = new PopupTracker(); - TQPopupMenu* m = new TQPopupMenu( tqparent ); + TQPopupMenu* m = new TQPopupMenu( parent ); ++pendingPopups; connect( m, TQT_SIGNAL(destroyed()), pt, TQT_SLOT(destroyedPopup()) ); return m; @@ -189,8 +189,8 @@ private: bool functionContains( FunctionDom f , int line, int col ); void getFunctionBody( FunctionDom f , int& line, int& col ); void selectItem( ItemDom item ); - void addTypePopups( TQPopupMenu* tqparent, TypeDesc d, TQString depthAdd, TQString prefix = "" ); - void addTypeClassPopups( TQPopupMenu* tqparent, TypeDesc d, TQString depthAdd, TQString prefix = "" ); + void addTypePopups( TQPopupMenu* parent, TypeDesc d, TQString depthAdd, TQString prefix = "" ); + void addTypeClassPopups( TQPopupMenu* parent, TypeDesc d, TQString depthAdd, TQString prefix = "" ); TQValueList<TQStringList> computeSignatureList( CppEvaluation::EvaluationResult function ); void integratePart( KParts::Part* part ); void setupCodeInformationRepository(); @@ -235,8 +235,8 @@ private: void computeCompletionEntryList( SimpleType type, TQValueList<CodeCompletionEntry>& entryList, NamespaceDom scope, bool isInstance, int depth ); void computeCompletionEntryList( SimpleType type, TQValueList<CodeCompletionEntry>& entryList, const FunctionList& methods, bool isInstance, int depth ); void computeCompletionEntryList( SimpleType type, TQValueList<CodeCompletionEntry>& entryList, const VariableList& attributes, bool isInstance, int depth ); - void computeCompletionEntryList( TQString tqparent, SimpleType type, TQValueList<CodeCompletionEntry>& entryList, const ClassList& lst, bool isInstance, int depth ); - void computeCompletionEntryList( TQString tqparent, SimpleType type, TQValueList<CodeCompletionEntry>& entryList, const TypeAliasList& lst, bool isInstance, int depth ); + void computeCompletionEntryList( TQString parent, SimpleType type, TQValueList<CodeCompletionEntry>& entryList, const ClassList& lst, bool isInstance, int depth ); + void computeCompletionEntryList( TQString parent, SimpleType type, TQValueList<CodeCompletionEntry>& entryList, const TypeAliasList& lst, bool isInstance, int depth ); void computeCompletionEntryList( SimpleType type, TQValueList<CodeCompletionEntry>& entryList, const NamespaceList& lst, bool isInstance, int depth ); SimpleContext* computeContext( FunctionDefinitionAST* ast, int line, int col, int lineOffset, int colOffset ); @@ -298,8 +298,8 @@ private: //If more then the given count of comments were requested, all following ones will be blank.(Performance-reasons) void setMaxComments( int count ); - TQString commentFromItem( const SimpleType& tqparent, const ItemDom& item ); - TQString commentFromTag( const SimpleType& tqparent, Tag& tag ); + TQString commentFromItem( const SimpleType& parent, const ItemDom& item ); + TQString commentFromTag( const SimpleType& parent, Tag& tag ); ItemDom m_cachedFromContext; ///Can be a function or a class, representing the position from where the last completion was started. Necessary as long as all imports are put into the global namespace. diff --git a/languages/cpp/cppevaluation.cpp b/languages/cpp/cppevaluation.cpp index a20c2339..bb3e354b 100644 --- a/languages/cpp/cppevaluation.cpp +++ b/languages/cpp/cppevaluation.cpp @@ -433,7 +433,7 @@ EvaluationResult ExpressionEvaluation::evaluateAtomicExpression( TypeDesc expr, } depth++; - if( !ready ) current = current->tqparent(); + if( !ready ) current = current->parent(); } } /* @@ -455,7 +455,7 @@ EvaluationResult ExpressionEvaluation::evaluateAtomicExpression( TypeDesc expr, if( !bestRet || /** Did we find a constructor within a class? */ - (type->resolved() && ( bestRet->resolved() && type->resolved()->desc() == bestRet->resolved()->tqparent()->desc() && bestRet->resolved()->asFunction() ) ) ) { + (type->resolved() && ( bestRet->resolved() && type->resolved()->desc() == bestRet->resolved()->parent()->desc() && bestRet->resolved()->asFunction() ) ) ) { /*if ( type && type->resolved() ) {*/ EvaluationResult ret = type; diff --git a/languages/cpp/cppimplementationwidget.cpp b/languages/cpp/cppimplementationwidget.cpp index bd727d95..75d01b5f 100644 --- a/languages/cpp/cppimplementationwidget.cpp +++ b/languages/cpp/cppimplementationwidget.cpp @@ -37,14 +37,14 @@ #include <filetemplate.h> CppImplementationWidget::CppImplementationWidget( KDevLanguageSupport *part, - TQWidget *tqparent, const char *name, bool modal ) - : ImplementationWidget( part, tqparent, name, modal ) + TQWidget *parent, const char *name, bool modal ) + : ImplementationWidget( part, parent, name, modal ) {} TQStringList CppImplementationWidget::createClassFiles() { - TQString template_h = "#ifndef $DEFTEXT$_H\n#define $DEFTEXT$_H\n\n#include \"$BASEINCLUDE$\"\n\nclass $CLASSNAME$: public $BASECLASSNAME$ {\nQ_OBJECT\nTQ_OBJECT\npublic:\n $CLASSNAME$(TQWidget *tqparent = 0, const char *name = 0);\n};\n\n#endif\n"; - TQString template_cpp = "#include \"$CLASSINCLUDE$\"\n\n$CLASSNAME$::$CLASSNAME$(TQWidget *tqparent, const char *name)\n :$BASECLASSNAME$(tqparent, name)\n{\n}\n"; + TQString template_h = "#ifndef $DEFTEXT$_H\n#define $DEFTEXT$_H\n\n#include \"$BASEINCLUDE$\"\n\nclass $CLASSNAME$: public $BASECLASSNAME$ {\nQ_OBJECT\nTQ_OBJECT\npublic:\n $CLASSNAME$(TQWidget *parent = 0, const char *name = 0);\n};\n\n#endif\n"; + TQString template_cpp = "#include \"$CLASSINCLUDE$\"\n\n$CLASSNAME$::$CLASSNAME$(TQWidget *parent, const char *name)\n :$BASECLASSNAME$(parent, name)\n{\n}\n"; if ( m_part->project() ->options() == KDevProject::UsesAutotoolsBuildSystem ) template_cpp += "\n#include \"$TQMOCINCLUDE$\"\n"; diff --git a/languages/cpp/cppimplementationwidget.h b/languages/cpp/cppimplementationwidget.h index da1ef71b..c766156e 100644 --- a/languages/cpp/cppimplementationwidget.h +++ b/languages/cpp/cppimplementationwidget.h @@ -32,7 +32,7 @@ class CppImplementationWidget : public ImplementationWidget Q_OBJECT TQ_OBJECT public: - CppImplementationWidget( KDevLanguageSupport *part, TQWidget* tqparent = 0, const char* name = 0, bool modal = false ); + CppImplementationWidget( KDevLanguageSupport *part, TQWidget* parent = 0, const char* name = 0, bool modal = false ); protected: virtual TQStringList createClassFiles(); diff --git a/languages/cpp/cppnewclassdlg.cpp b/languages/cpp/cppnewclassdlg.cpp index db4d0160..65fb9c76 100644 --- a/languages/cpp/cppnewclassdlg.cpp +++ b/languages/cpp/cppnewclassdlg.cpp @@ -57,8 +57,8 @@ TQString TQRegExp_escape( const TQString& str ) return TQRegExp::escape( str ); } -CppNewClassDialog::CppNewClassDialog( CppSupportPart *part, TQWidget *tqparent, const char *name ) - : CppNewClassDialogBase( tqparent, name ), myModel( 0 ) +CppNewClassDialog::CppNewClassDialog( CppSupportPart *part, TQWidget *parent, const char *name ) + : CppNewClassDialogBase( parent, name ), myModel( 0 ) { headerModified = false; baseincludeModified = false; @@ -377,8 +377,8 @@ void CppNewClassDialog::checkTQWidgetInheritance( int val ) basename_edit->setText( TQWIDGET_OBJECT_NAME_STRING ); } /* constructors_cpp_edit->append(classname_edit->text() + "::" + classname_edit->text() + - "(TQWidget *tqparent, const char *name):\n TQWidget(tqparent, name)\n{\n}\n"); - constructors_h_edit->append(classname_edit->text() + "(TQWidget *tqparent, const char *name);\n");*/ + "(TQWidget *parent, const char *name):\n TQWidget(parent, name)\n{\n}\n"); + constructors_h_edit->append(classname_edit->text() + "(TQWidget *parent, const char *name);\n");*/ } if ( val && ( baseclasses_view->childCount() > 1 ) ) @@ -952,21 +952,21 @@ void CppNewClassDialog::addToConstructorsList( TQCheckListItem *myClass, Functio new PCheckListItem<FunctionDom>( method, myClass, m_part->formatModelItem( method.data() ), TQCheckListItem::RadioButton ); } -void CppNewClassDialog::addToMethodsList( TQListViewItem *tqparent, FunctionDom method ) +void CppNewClassDialog::addToMethodsList( TQListViewItem *parent, FunctionDom method ) { - PCheckListItem<FunctionDom> *it = new PCheckListItem<FunctionDom>( method, tqparent, m_part->formatModelItem( method.data() ), TQCheckListItem::CheckBox ); + PCheckListItem<FunctionDom> *it = new PCheckListItem<FunctionDom>( method, parent, m_part->formatModelItem( method.data() ), TQCheckListItem::CheckBox ); method->isAbstract() ? it->setText( 1, i18n( "replace" ) ) : it->setText( 1, i18n( "extend" ) ); } -void CppNewClassDialog::addToUpgradeList( TQListViewItem *tqparent, FunctionDom method, TQString modifier ) +void CppNewClassDialog::addToUpgradeList( TQListViewItem *parent, FunctionDom method, TQString modifier ) { - PListViewItem<FunctionDom> *it = new PListViewItem<FunctionDom>( method, tqparent, m_part->formatModelItem( method.data() ) ); + PListViewItem<FunctionDom> *it = new PListViewItem<FunctionDom>( method, parent, m_part->formatModelItem( method.data() ) ); it->setText( 1, modifier ); } -void CppNewClassDialog::addToUpgradeList( TQListViewItem *tqparent, VariableDom attr, TQString modifier ) +void CppNewClassDialog::addToUpgradeList( TQListViewItem *parent, VariableDom attr, TQString modifier ) { - PListViewItem<VariableDom> *it = new PListViewItem<VariableDom>( attr, tqparent, m_part->formatModelItem( attr.data() ) ); + PListViewItem<VariableDom> *it = new PListViewItem<VariableDom>( attr, parent, m_part->formatModelItem( attr.data() ) ); it->setText( 1, modifier ); } @@ -1244,13 +1244,13 @@ void CppNewClassDialog::to_constructors_list_clicked() PCheckListItem<FunctionDom> *curr; if ( ( curr = dynamic_cast<PCheckListItem<FunctionDom>* >( it.current() ) ) ) { - if ( curr->isOn() && curr->tqparent() ) + if ( curr->isOn() && curr->parent() ) { //fill the base classes list base += base.isEmpty() ? ": " : ", "; - base += curr->tqparent() ->text( 0 ); + base += curr->parent() ->text( 0 ); PCheckListItem<ClassDom> *p; - if ( ( p = dynamic_cast<PCheckListItem<ClassDom>* >( curr->tqparent() ) ) ) + if ( ( p = dynamic_cast<PCheckListItem<ClassDom>* >( curr->parent() ) ) ) { base += p->templateAddition; } @@ -1507,7 +1507,7 @@ void CppNewClassDialog::ClassGenerator::common_text() PCheckListItem<FunctionDom> *curr; if ( ( curr = dynamic_cast<PCheckListItem<FunctionDom>* >( it.current() ) ) ) { - if ( curr->isOn() && ( curr->tqparent() ) && ( curr->tqparent() ->tqparent() ) ) + if ( curr->isOn() && ( curr->parent() ) && ( curr->parent() ->parent() ) ) { TQString * adv_h = 0; if ( curr->item() ->access() == CodeModelItem::Private ) @@ -1519,9 +1519,9 @@ void CppNewClassDialog::ClassGenerator::common_text() // if (advCpp.isEmpty()) advCpp += "\n\n"; - TQString bcName = curr->tqparent() ->tqparent() ->text( 0 ); + TQString bcName = curr->parent() ->parent() ->text( 0 ); PListViewItem<ClassDom> *bc; - if ( ( bc = dynamic_cast<PListViewItem<ClassDom>* >( curr->tqparent() ->tqparent() ) ) ) + if ( ( bc = dynamic_cast<PListViewItem<ClassDom>* >( curr->parent() ->parent() ) ) ) { bcName += bc->templateAddition; } @@ -1540,7 +1540,7 @@ void CppNewClassDialog::ClassGenerator::common_text() PListViewItem<FunctionDom> *curr_m; if ( ( curr = dynamic_cast<PListViewItem<VariableDom>* >( ita.current() ) ) ) { - if ( ( !curr->text( 2 ).isEmpty() ) && ( curr->tqparent() ) && ( curr->tqparent() ->tqparent() ) ) + if ( ( !curr->text( 2 ).isEmpty() ) && ( curr->parent() ) && ( curr->parent() ->parent() ) ) { TQString * adv_h = 0; if ( curr->text( 2 ) == "private" ) @@ -1553,12 +1553,12 @@ void CppNewClassDialog::ClassGenerator::common_text() /* if ((*adv_h).isEmpty()) *adv_h += "\n\n";*/ if ( adv_h ) - *adv_h += TQString( " using " ) + curr->tqparent() ->tqparent() ->text( 0 ) + "::" + curr->item() ->name() + ";\n"; + *adv_h += TQString( " using " ) + curr->parent() ->parent() ->text( 0 ) + "::" + curr->item() ->name() + ";\n"; } } else if ( ( curr_m = dynamic_cast<PListViewItem<FunctionDom>* >( ita.current() ) ) ) { - if ( ( !curr_m->text( 2 ).isEmpty() ) && ( curr_m->tqparent() ) && ( curr_m->tqparent() ->tqparent() ) ) + if ( ( !curr_m->text( 2 ).isEmpty() ) && ( curr_m->parent() ) && ( curr_m->parent() ->parent() ) ) { TQString * adv_h = 0; if ( curr_m->text( 2 ) == "private" ) @@ -1574,7 +1574,7 @@ void CppNewClassDialog::ClassGenerator::common_text() TQString methodName = curr_m->item() ->name(); if ( !methodName.contains( TQRegExp( "^[a-zA-z_]" ) ) ) methodName = "operator" + methodName; - *adv_h += " using " + curr_m->tqparent() ->tqparent() ->text( 0 ) + "::" + methodName + ";\n"; + *adv_h += " using " + curr_m->parent() ->parent() ->text( 0 ) + "::" + methodName + ";\n"; } } ++ita; @@ -1707,26 +1707,26 @@ void CppNewClassDialog::ClassGenerator::gen_implementation() { if( dlg.m_part->qtBuildConfig()->version() == 3 ) { - argsH = "TQWidget *tqparent = 0, const char *name = 0"; - argsCpp = "TQWidget *tqparent, const char *name"; + argsH = "TQWidget *parent = 0, const char *name = 0"; + argsCpp = "TQWidget *parent, const char *name"; } else { - argsH = "TQWidget *tqparent = 0"; - argsCpp = "TQWidget *tqparent"; + argsH = "TQWidget *parent = 0"; + argsCpp = "TQWidget *parent"; } } else if ( qobject ) { if( dlg.m_part->qtBuildConfig()->version() == 3 ) { - argsH = "TQObject *tqparent = 0, const char *name = 0"; - argsCpp = "TQObject *tqparent, const char *name"; + argsH = "TQObject *parent = 0, const char *name = 0"; + argsCpp = "TQObject *parent, const char *name"; } else { - argsH = "TQObject *tqparent = 0"; - argsCpp = "TQObject *tqparent"; + argsH = "TQObject *parent = 0"; + argsCpp = "TQObject *parent"; } } else @@ -1739,16 +1739,16 @@ void CppNewClassDialog::ClassGenerator::gen_implementation() if ( childClass && ( dlg.baseclasses_view->childCount() == 0 ) ) { if( dlg.m_part->qtBuildConfig()->version() == 3 ) - baseInitializer = " : TQWidget(tqparent, name)"; + baseInitializer = " : TQWidget(parent, name)"; else - baseInitializer = " : TQWidget(tqparent)"; + baseInitializer = " : TQWidget(parent)"; } else if ( qobject && ( dlg.baseclasses_view->childCount() == 0 ) ) { if( dlg.m_part->qtBuildConfig()->version() == 3 ) - baseInitializer = " : TQObject(tqparent, name)"; + baseInitializer = " : TQObject(parent, name)"; else - baseInitializer = " : TQObject(tqparent)"; + baseInitializer = " : TQObject(parent)"; } else if ( dlg.baseclasses_view->childCount() != 0 ) { @@ -1766,16 +1766,16 @@ void CppNewClassDialog::ClassGenerator::gen_implementation() if ( childClass && ( baseInitializer == " : " ) ) { if( dlg.m_part->qtBuildConfig()->version() == 3 ) - baseInitializer += it.current()->text( 0 ) + "(tqparent, name)"; + baseInitializer += it.current()->text( 0 ) + "(parent, name)"; else - baseInitializer += it.current()->text( 0 ) + "(tqparent)"; + baseInitializer += it.current()->text( 0 ) + "(parent)"; } else if ( qobject && ( baseInitializer == " : " ) ) { if( dlg.m_part->qtBuildConfig()->version() == 3 ) - baseInitializer += it.current()->text( 0 ) + "(tqparent, name)"; + baseInitializer += it.current()->text( 0 ) + "(parent, name)"; else - baseInitializer += it.current()->text( 0 ) + "(tqparent)"; + baseInitializer += it.current()->text( 0 ) + "(parent)"; } else { diff --git a/languages/cpp/cppnewclassdlg.h b/languages/cpp/cppnewclassdlg.h index 39e9e458..55563f0c 100644 --- a/languages/cpp/cppnewclassdlg.h +++ b/languages/cpp/cppnewclassdlg.h @@ -35,36 +35,36 @@ class PCheckListItem: public TQCheckListItem { public: - PCheckListItem ( T item, TQCheckListItem * tqparent, const TQString & text, Type tt = Controller ) : - TQCheckListItem ( tqparent, text, tt ), m_item( item ) + PCheckListItem ( T item, TQCheckListItem * parent, const TQString & text, Type tt = Controller ) : + TQCheckListItem ( parent, text, tt ), m_item( item ) {} - PCheckListItem ( T item, TQCheckListItem * tqparent, TQListViewItem * after, const TQString & text, Type tt = Controller ) : - TQCheckListItem ( tqparent, after, text, tt ), m_item( item ) + PCheckListItem ( T item, TQCheckListItem * parent, TQListViewItem * after, const TQString & text, Type tt = Controller ) : + TQCheckListItem ( parent, after, text, tt ), m_item( item ) {} - PCheckListItem ( T item, TQListViewItem * tqparent, const TQString & text, Type tt = Controller ) : - TQCheckListItem ( tqparent, text, tt ), m_item( item ) + PCheckListItem ( T item, TQListViewItem * parent, const TQString & text, Type tt = Controller ) : + TQCheckListItem ( parent, text, tt ), m_item( item ) {} - PCheckListItem ( T item, TQListViewItem * tqparent, TQListViewItem * after, const TQString & text, Type tt = Controller ) : - TQCheckListItem ( tqparent, after, text, tt ), m_item( item ) + PCheckListItem ( T item, TQListViewItem * parent, TQListViewItem * after, const TQString & text, Type tt = Controller ) : + TQCheckListItem ( parent, after, text, tt ), m_item( item ) {} - PCheckListItem ( T item, TQListView * tqparent, const TQString & text, Type tt = Controller ) : - TQCheckListItem ( tqparent, text, tt ), m_item( item ) + PCheckListItem ( T item, TQListView * parent, const TQString & text, Type tt = Controller ) : + TQCheckListItem ( parent, text, tt ), m_item( item ) {} - PCheckListItem ( T item, TQListView * tqparent, TQListViewItem * after, const TQString & text, Type tt = Controller ) : - TQCheckListItem ( tqparent, after, text, tt ), m_item( item ) + PCheckListItem ( T item, TQListView * parent, TQListViewItem * after, const TQString & text, Type tt = Controller ) : + TQCheckListItem ( parent, after, text, tt ), m_item( item ) {} - PCheckListItem ( T item, TQListViewItem * tqparent, const TQString & text, const TQPixmap & p ) : - TQCheckListItem ( tqparent, text, p ), m_item( item ) + PCheckListItem ( T item, TQListViewItem * parent, const TQString & text, const TQPixmap & p ) : + TQCheckListItem ( parent, text, p ), m_item( item ) {} - PCheckListItem ( T item, TQListView * tqparent, const TQString & text, const TQPixmap & p ) : - TQCheckListItem ( tqparent, text, p ), m_item( item ) + PCheckListItem ( T item, TQListView * parent, const TQString & text, const TQPixmap & p ) : + TQCheckListItem ( parent, text, p ), m_item( item ) {} T item() @@ -83,20 +83,20 @@ class PListViewItem: public TQListViewItem { public: - PListViewItem ( T item, TQListViewItem * tqparent, TQListViewItem * after, const TQString & text ) : - TQListViewItem ( tqparent, after, text ), m_item( item ) + PListViewItem ( T item, TQListViewItem * parent, TQListViewItem * after, const TQString & text ) : + TQListViewItem ( parent, after, text ), m_item( item ) {} - PListViewItem ( T item, TQListViewItem * tqparent, const TQString & text ) : - TQListViewItem ( tqparent, text ), m_item( item ) + PListViewItem ( T item, TQListViewItem * parent, const TQString & text ) : + TQListViewItem ( parent, text ), m_item( item ) {} - PListViewItem ( T item, TQListView * tqparent, const TQString & text ) : - TQListViewItem ( tqparent, text ), m_item( item ) + PListViewItem ( T item, TQListView * parent, const TQString & text ) : + TQListViewItem ( parent, text ), m_item( item ) {} - PListViewItem ( T item, TQListView * tqparent, TQListViewItem * after, const TQString & text ) : - TQListViewItem ( tqparent, after, text ), m_item( item ) + PListViewItem ( T item, TQListView * parent, TQListViewItem * after, const TQString & text ) : + TQListViewItem ( parent, after, text ), m_item( item ) {} T item() @@ -116,7 +116,7 @@ class CppNewClassDialog : public CppNewClassDialogBase TQ_OBJECT public: - CppNewClassDialog( CppSupportPart *part, TQWidget *tqparent = 0, const char *name = 0 ); + CppNewClassDialog( CppSupportPart *part, TQWidget *parent = 0, const char *name = 0 ); ~CppNewClassDialog(); protected: @@ -168,9 +168,9 @@ protected: void parseClass( TQString clName, TQString inheritance ); void parsePCSClass( TQString clName, TQString inheritance ); void addToConstructorsList( TQCheckListItem *myClass, FunctionDom method ); - void addToMethodsList( TQListViewItem *tqparent, FunctionDom method ); - void addToUpgradeList( TQListViewItem *tqparent, FunctionDom method, TQString modifier ); - void addToUpgradeList( TQListViewItem *tqparent, VariableDom attr, TQString modifier ); + void addToMethodsList( TQListViewItem *parent, FunctionDom method ); + void addToUpgradeList( TQListViewItem *parent, FunctionDom method, TQString modifier ); + void addToUpgradeList( TQListViewItem *parent, VariableDom attr, TQString modifier ); void clearConstructorsList( bool clean = false ); void clearMethodsList( bool clean = false ); void clearUpgradeList( bool clean = false ); diff --git a/languages/cpp/cppnewclassdlgbase.ui b/languages/cpp/cppnewclassdlgbase.ui index 31d25e2c..c4d68a70 100644 --- a/languages/cpp/cppnewclassdlgbase.ui +++ b/languages/cpp/cppnewclassdlgbase.ui @@ -413,7 +413,7 @@ Namespace1::Namespace2::...::NamespaceN</string> <enum>StrongFocus</enum> </property> <property name="whatsThis" stdset="0"> - <string>Insert the base class which your new class will be derived from. If you have checked 'Generate QWidget child class' the new class will be derived from QWidget. If no base class is named, the new class will not have a tqparent class. You can also use template classes here (like BaseClass<int, int>)</string> + <string>Insert the base class which your new class will be derived from. If you have checked 'Generate QWidget child class' the new class will be derived from QWidget. If no base class is named, the new class will not have a parent class. You can also use template classes here (like BaseClass<int, int>)</string> </property> </widget> <widget class="KLineEdit" row="0" column="2"> diff --git a/languages/cpp/cppsupportpart.cpp b/languages/cpp/cppsupportpart.cpp index 204195aa..9cae9c77 100644 --- a/languages/cpp/cppsupportpart.cpp +++ b/languages/cpp/cppsupportpart.cpp @@ -191,8 +191,8 @@ public: }; -CppSupportPart::CppSupportPart( TQObject *tqparent, const char *name, const TQStringList &args ) -: KDevLanguageSupport( CppSupportFactory::info(), tqparent, name ? name : "KDevCppSupport" ), m_backgroundParser(0), +CppSupportPart::CppSupportPart( TQObject *parent, const char *name, const TQStringList &args ) +: KDevLanguageSupport( CppSupportFactory::info(), parent, name ? name : "KDevCppSupport" ), m_backgroundParser(0), m_activeDocument( 0 ), m_activeView( 0 ), m_activeSelection( 0 ), m_activeEditor( 0 ), m_activeViewCursor( 0 ), m_projectClosed( true ), m_projectClosing( false ), m_valid( false ), m_isTyping( false ), m_hadErrors( false ), _jd(0) @@ -1705,7 +1705,7 @@ void CppSupportPart::slotNeedTextHint( int line, int column, TQString& textHint { while ( node && node->nodeType() != NodeType_FunctionDefinition ) - node = node->tqparent(); + node = node->parent(); if ( node ) { @@ -1747,7 +1747,7 @@ void CppSupportPart::MakeMemberHelper( TQString& text, int& atLine, int& atColum { if ( currentNode->nodeType() == NodeType_Declarator ) declarator = ( DeclaratorAST* ) currentNode; - currentNode = currentNode->tqparent(); + currentNode = currentNode->parent(); } SimpleDeclarationAST* decl = currentNode ? ( SimpleDeclarationAST* ) currentNode : 0; @@ -3136,7 +3136,7 @@ TQString CppSupportPart::findHeaderSimple( const TQString &header ) return TQString(); } -UIBlockTester::UIBlockTesterThread::UIBlockTesterThread( UIBlockTester& tqparent ) : TQThread(), m_parent( tqparent ), m_stop(false) { +UIBlockTester::UIBlockTesterThread::UIBlockTesterThread( UIBlockTester& parent ) : TQThread(), m_parent( parent ), m_stop(false) { } void UIBlockTester::UIBlockTesterThread::run() { diff --git a/languages/cpp/cppsupportpart.h b/languages/cpp/cppsupportpart.h index 650831e8..906a2694 100644 --- a/languages/cpp/cppsupportpart.h +++ b/languages/cpp/cppsupportpart.h @@ -42,7 +42,7 @@ class UIBlockTester : public TQObject { TQ_OBJECT class UIBlockTesterThread : public TQThread { public: - UIBlockTesterThread( UIBlockTester& tqparent ); + UIBlockTesterThread( UIBlockTester& parent ); void run(); void stop(); private: @@ -159,7 +159,7 @@ class CppSupportPart : public KDevLanguageSupport TQ_OBJECT public: - CppSupportPart( TQObject *tqparent, const char *name, const TQStringList &args ); + CppSupportPart( TQObject *parent, const char *name, const TQStringList &args ); virtual ~CppSupportPart(); bool isValid() const diff --git a/languages/cpp/creategettersetterdialog.cpp b/languages/cpp/creategettersetterdialog.cpp index 5b5dae69..e63fcf23 100644 --- a/languages/cpp/creategettersetterdialog.cpp +++ b/languages/cpp/creategettersetterdialog.cpp @@ -19,8 +19,8 @@ #include "creategettersetterconfiguration.h" CreateGetterSetterDialog::CreateGetterSetterDialog( CppSupportPart* part, ClassDom aClass, - VariableDom aVar, TQWidget *tqparent, const char *pName ) -: CreateGetterSetterDialogBase( tqparent, pName ), m_part( part ), m_class( aClass ), m_var( aVar ) + VariableDom aVar, TQWidget *parent, const char *pName ) +: CreateGetterSetterDialogBase( parent, pName ), m_part( part ), m_class( aClass ), m_var( aVar ) { TQString name = aVar->name(); setCaption( "Create methods for " + name ); diff --git a/languages/cpp/creategettersetterdialog.h b/languages/cpp/creategettersetterdialog.h index 8f609c33..ac4e4997 100644 --- a/languages/cpp/creategettersetterdialog.h +++ b/languages/cpp/creategettersetterdialog.h @@ -26,7 +26,7 @@ class CreateGetterSetterDialog: public CreateGetterSetterDialogBase Q_OBJECT TQ_OBJECT public: - CreateGetterSetterDialog(CppSupportPart* part, ClassDom aClass, VariableDom var, TQWidget *tqparent = 0, const char *name = 0); + CreateGetterSetterDialog(CppSupportPart* part, ClassDom aClass, VariableDom var, TQWidget *parent = 0, const char *name = 0); protected slots: void accept(); diff --git a/languages/cpp/createpcsdialog.cpp b/languages/cpp/createpcsdialog.cpp index a5b328c4..93c5d754 100644 --- a/languages/cpp/createpcsdialog.cpp +++ b/languages/cpp/createpcsdialog.cpp @@ -132,13 +132,13 @@ private: class PCSListViewItem: public KListViewItem { public: - PCSListViewItem( KService::Ptr ptr, KDevPCSImporter* importer, TQListViewItem* tqparent ) - : KListViewItem( tqparent ), m_importer( importer ) + PCSListViewItem( KService::Ptr ptr, KDevPCSImporter* importer, TQListViewItem* parent ) + : KListViewItem( parent ), m_importer( importer ) { init( ptr ); } - PCSListViewItem( KService::Ptr ptr, KDevPCSImporter* importer, TQListView* tqparent ) - : KListViewItem( tqparent ), m_importer( importer ) + PCSListViewItem( KService::Ptr ptr, KDevPCSImporter* importer, TQListView* parent ) + : KListViewItem( parent ), m_importer( importer ) { init( ptr ); } @@ -196,8 +196,8 @@ public: -CreatePCSDialog::CreatePCSDialog( CppSupportPart* part, TQWidget* tqparent, const char* name, bool modal, WFlags fl ) - : CreatePCSDialogBase( tqparent, name, modal, fl ), m_part( part ), m_jobData( 0 ) +CreatePCSDialog::CreatePCSDialog( CppSupportPart* part, TQWidget* parent, const char* name, bool modal, WFlags fl ) + : CreatePCSDialogBase( parent, name, modal, fl ), m_part( part ), m_jobData( 0 ) { helpButton()->hide(); diff --git a/languages/cpp/createpcsdialog.h b/languages/cpp/createpcsdialog.h index e9371434..cdb30538 100644 --- a/languages/cpp/createpcsdialog.h +++ b/languages/cpp/createpcsdialog.h @@ -22,7 +22,7 @@ class CreatePCSDialog : public CreatePCSDialogBase TQ_OBJECT public: - CreatePCSDialog( CppSupportPart* part, TQWidget* tqparent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 ); + CreatePCSDialog( CppSupportPart* part, TQWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 ); ~CreatePCSDialog(); /*$PUBLIC_FUNCTIONS$*/ diff --git a/languages/cpp/debugger/dbgpsdlg.cpp b/languages/cpp/debugger/dbgpsdlg.cpp index fe04ffd4..64f4dcee 100644 --- a/languages/cpp/debugger/dbgpsdlg.cpp +++ b/languages/cpp/debugger/dbgpsdlg.cpp @@ -50,8 +50,8 @@ namespace GDBDebugger // For use with the internal debugger, but this dialog doesn't know anything // about why it's doing it. -Dbg_PS_Dialog::Dbg_PS_Dialog(TQWidget *tqparent, const char *name) - : KDialog(tqparent, name, true), // modal +Dbg_PS_Dialog::Dbg_PS_Dialog(TQWidget *parent, const char *name) + : KDialog(parent, name, true), // modal psProc_(0), pids_(new KListView(this)), pidLines_(TQString()) diff --git a/languages/cpp/debugger/dbgpsdlg.h b/languages/cpp/debugger/dbgpsdlg.h index 273bb7b8..82e73606 100644 --- a/languages/cpp/debugger/dbgpsdlg.h +++ b/languages/cpp/debugger/dbgpsdlg.h @@ -34,7 +34,7 @@ class Dbg_PS_Dialog : public KDialog TQ_OBJECT public: - Dbg_PS_Dialog( TQWidget *tqparent=0, const char *name=0 ); + Dbg_PS_Dialog( TQWidget *parent=0, const char *name=0 ); ~Dbg_PS_Dialog(); int pidSelected(); diff --git a/languages/cpp/debugger/dbgtoolbar.cpp b/languages/cpp/debugger/dbgtoolbar.cpp index 58cea851..9a3f4e02 100644 --- a/languages/cpp/debugger/dbgtoolbar.cpp +++ b/languages/cpp/debugger/dbgtoolbar.cpp @@ -68,7 +68,7 @@ namespace GDBDebugger class DbgMoveHandle : public TQFrame { public: - DbgMoveHandle(DbgToolBar *tqparent=0, const char * name=0, WFlags f=0); + DbgMoveHandle(DbgToolBar *parent=0, const char * name=0, WFlags f=0); virtual ~DbgMoveHandle(); virtual void mousePressEvent(TQMouseEvent *e); @@ -83,9 +83,9 @@ private: // ************************************************************************** -DbgMoveHandle::DbgMoveHandle(DbgToolBar *tqparent, const char * name, WFlags f) - : TQFrame(tqparent, name, f), - toolBar_(tqparent), +DbgMoveHandle::DbgMoveHandle(DbgToolBar *parent, const char * name, WFlags f) + : TQFrame(parent, name, f), + toolBar_(parent), offset_(TQPoint(0,0)), moving_(false) { @@ -111,9 +111,9 @@ void DbgMoveHandle::mousePressEvent(TQMouseEvent *e) KPopupMenu *menu = new KPopupMenu(this); menu->insertTitle(i18n("Debug Toolbar")); menu->insertItem(i18n("Dock to Panel"), - tqparent(), TQT_SLOT(slotDock())); + parent(), TQT_SLOT(slotDock())); menu->insertItem(i18n("Dock to Panel && Iconify KDevelop"), - tqparent(), TQT_SLOT(slotIconifyAndDock())); + parent(), TQT_SLOT(slotIconifyAndDock())); menu->popup(e->globalPos()); } else { moving_ = true; @@ -159,7 +159,7 @@ class DbgButton : public TQPushButton { public: DbgButton(const TQPixmap &pixmap, const TQString &text, - DbgToolBar *tqparent, const char *name=0); + DbgToolBar *parent, const char *name=0); virtual ~DbgButton() {}; void drawButtonLabel(TQPainter *painter); TQSize tqsizeHint() const; @@ -171,8 +171,8 @@ private: // ************************************************************************** DbgButton::DbgButton(const TQPixmap& pixmap, const TQString& text, - DbgToolBar* tqparent, const char* name) - : TQPushButton(tqparent, name), + DbgToolBar* parent, const char* name) + : TQPushButton(parent, name), pixmap_(pixmap) { setText(text); @@ -217,8 +217,8 @@ TQSize DbgButton::tqsizeHint() const // ************************************************************************** // ************************************************************************** -DbgDocker::DbgDocker(TQWidget* tqparent, DbgToolBar* toolBar, const TQPixmap& pixmap) : - KSystemTray(tqparent, "DbgDocker"), +DbgDocker::DbgDocker(TQWidget* parent, DbgToolBar* toolBar, const TQPixmap& pixmap) : + KSystemTray(parent, "DbgDocker"), toolBar_(toolBar) { setPixmap(pixmap); @@ -258,7 +258,7 @@ void DbgDocker::mousePressEvent(TQMouseEvent *e) // ************************************************************************** DbgToolBar::DbgToolBar(DebuggerPart* part, - TQWidget* tqparent, const char* name) + TQWidget* parent, const char* name) : TQFrame(0, name), part_(part), activeWindow_(0), @@ -268,10 +268,10 @@ DbgToolBar::DbgToolBar(DebuggerPart* part, appIsActive_(false), docked_(false), docker_(0), - dockWindow_(new KSystemTray(tqparent)) + dockWindow_(new KSystemTray(parent)) { winModule_ = new KWinModule(TQT_TQOBJECT(this)); - docker_ = new DbgDocker(tqparent, this, BarIcon("dbgnext")); + docker_ = new DbgDocker(parent, this, BarIcon("dbgnext")); connect(docker_, TQT_SIGNAL(clicked()), part_, TQT_SLOT(slotStepOver())); // Must have noFocus set so that we can see what window was active. diff --git a/languages/cpp/debugger/dbgtoolbar.h b/languages/cpp/debugger/dbgtoolbar.h index 427120d9..a163af0c 100644 --- a/languages/cpp/debugger/dbgtoolbar.h +++ b/languages/cpp/debugger/dbgtoolbar.h @@ -36,7 +36,7 @@ class DbgDocker : public KSystemTray TQ_OBJECT public: - DbgDocker(TQWidget *tqparent, DbgToolBar *toolBar, const TQPixmap &pixmap); + DbgDocker(TQWidget *parent, DbgToolBar *toolBar, const TQPixmap &pixmap); virtual ~DbgDocker() {}; virtual void mousePressEvent(TQMouseEvent *e); @@ -54,7 +54,7 @@ class DbgToolBar : public TQFrame TQ_OBJECT public: - DbgToolBar(DebuggerPart *part, TQWidget* tqparent, const char* name=0); + DbgToolBar(DebuggerPart *part, TQWidget* parent, const char* name=0); virtual ~DbgToolBar(); private slots: diff --git a/languages/cpp/debugger/debuggerconfigwidget.cpp b/languages/cpp/debugger/debuggerconfigwidget.cpp index 2fbc6a88..409329f7 100644 --- a/languages/cpp/debugger/debuggerconfigwidget.cpp +++ b/languages/cpp/debugger/debuggerconfigwidget.cpp @@ -27,8 +27,8 @@ namespace GDBDebugger { -DebuggerConfigWidget::DebuggerConfigWidget(DebuggerPart* part, TQWidget *tqparent, const char *name) - : DebuggerConfigWidgetBase(tqparent, name), dom(*part->projectDom()) +DebuggerConfigWidget::DebuggerConfigWidget(DebuggerPart* part, TQWidget *parent, const char *name) + : DebuggerConfigWidgetBase(parent, name), dom(*part->projectDom()) { gdbPath_edit->setMode(KFile::File|KFile::ExistingOnly|KFile::LocalOnly); diff --git a/languages/cpp/debugger/debuggerconfigwidget.h b/languages/cpp/debugger/debuggerconfigwidget.h index cdd2479d..d17d1202 100644 --- a/languages/cpp/debugger/debuggerconfigwidget.h +++ b/languages/cpp/debugger/debuggerconfigwidget.h @@ -29,7 +29,7 @@ class DebuggerConfigWidget : public DebuggerConfigWidgetBase TQ_OBJECT public: - DebuggerConfigWidget( DebuggerPart* part, TQWidget *tqparent=0, const char *name=0 ); + DebuggerConfigWidget( DebuggerPart* part, TQWidget *parent=0, const char *name=0 ); ~DebuggerConfigWidget(); public slots: diff --git a/languages/cpp/debugger/debuggerpart.cpp b/languages/cpp/debugger/debuggerpart.cpp index 43d6990e..b74b9d63 100644 --- a/languages/cpp/debugger/debuggerpart.cpp +++ b/languages/cpp/debugger/debuggerpart.cpp @@ -76,8 +76,8 @@ static const KDevPluginInfo data("kdevdebugger"); typedef KDevGenericFactory<DebuggerPart> DebuggerFactory; K_EXPORT_COMPONENT_FACTORY( libkdevdebugger, DebuggerFactory( data ) ) -DebuggerPart::DebuggerPart( TQObject *tqparent, const char *name, const TQStringList & ) : - KDevPlugin( &data, tqparent, name ? name : "DebuggerPart" ), +DebuggerPart::DebuggerPart( TQObject *parent, const char *name, const TQStringList & ) : + KDevPlugin( &data, parent, name ? name : "DebuggerPart" ), controller(0), previousDebuggerState_(s_dbgNotStarted), justRestarted_(false), needRebuild_(true), running_(false) diff --git a/languages/cpp/debugger/debuggerpart.h b/languages/cpp/debugger/debuggerpart.h index 71d56568..6981265f 100644 --- a/languages/cpp/debugger/debuggerpart.h +++ b/languages/cpp/debugger/debuggerpart.h @@ -50,7 +50,7 @@ class DebuggerPart : public KDevPlugin, virtual public DebuggerDCOPInterface TQ_OBJECT public: - DebuggerPart( TQObject *tqparent, const char *name, const TQStringList & ); + DebuggerPart( TQObject *parent, const char *name, const TQStringList & ); ~DebuggerPart(); virtual void restorePartialProjectSession(const TQDomElement* el); virtual void savePartialProjectSession(TQDomElement* el); diff --git a/languages/cpp/debugger/debuggertracingdialog.cpp b/languages/cpp/debugger/debuggertracingdialog.cpp index 0af77613..6bf70f3b 100644 --- a/languages/cpp/debugger/debuggertracingdialog.cpp +++ b/languages/cpp/debugger/debuggertracingdialog.cpp @@ -14,8 +14,8 @@ namespace GDBDebugger DebuggerTracingDialog ::DebuggerTracingDialog(Breakpoint* bp, - TQWidget* tqparent, const char* name) - : DebuggerTracingDialogBase(tqparent, name), bp_(bp) + TQWidget* parent, const char* name) + : DebuggerTracingDialogBase(parent, name), bp_(bp) { expressions->setButtons(KEditListBox::Add | KEditListBox::Remove); diff --git a/languages/cpp/debugger/debuggertracingdialog.h b/languages/cpp/debugger/debuggertracingdialog.h index e0e8dc48..4cbffe36 100644 --- a/languages/cpp/debugger/debuggertracingdialog.h +++ b/languages/cpp/debugger/debuggertracingdialog.h @@ -26,7 +26,7 @@ namespace GDBDebugger TQ_OBJECT public: DebuggerTracingDialog(Breakpoint* bp, - TQWidget* tqparent, const char* name = 0); + TQWidget* parent, const char* name = 0); private slots: void enableOrDisable(int); diff --git a/languages/cpp/debugger/disassemblewidget.cpp b/languages/cpp/debugger/disassemblewidget.cpp index 6b848a27..562aa1ae 100644 --- a/languages/cpp/debugger/disassemblewidget.cpp +++ b/languages/cpp/debugger/disassemblewidget.cpp @@ -35,8 +35,8 @@ namespace GDBDebugger /***************************************************************************/ /***************************************************************************/ -DisassembleWidget::DisassembleWidget(GDBController* controller, TQWidget *tqparent, const char *name) - : TQTextEdit(tqparent, name), controller_(controller), +DisassembleWidget::DisassembleWidget(GDBController* controller, TQWidget *parent, const char *name) + : TQTextEdit(parent, name), controller_(controller), active_(false), lower_(0), upper_(0), diff --git a/languages/cpp/debugger/disassemblewidget.h b/languages/cpp/debugger/disassemblewidget.h index 33f29da9..18dc3a7a 100644 --- a/languages/cpp/debugger/disassemblewidget.h +++ b/languages/cpp/debugger/disassemblewidget.h @@ -36,7 +36,7 @@ class DisassembleWidget : public TQTextEdit TQ_OBJECT public: - DisassembleWidget( GDBController* controller, TQWidget *tqparent=0, const char *name=0 ); + DisassembleWidget( GDBController* controller, TQWidget *parent=0, const char *name=0 ); virtual ~DisassembleWidget(); public slots: diff --git a/languages/cpp/debugger/framestackwidget.cpp b/languages/cpp/debugger/framestackwidget.cpp index 28fd076e..639ab74b 100644 --- a/languages/cpp/debugger/framestackwidget.cpp +++ b/languages/cpp/debugger/framestackwidget.cpp @@ -39,9 +39,9 @@ namespace GDBDebugger { FramestackWidget::FramestackWidget(GDBController* controller, - TQWidget *tqparent, + TQWidget *parent, const char *name, WFlags f) - : TQListView(tqparent, name, f), + : TQListView(parent, name, f), viewedThread_(0), controller_(controller), mayUpdate_( false ) @@ -493,10 +493,10 @@ void FramestackWidget::drawContentsOffset( TQPainter * p, int ox, int oy, // ************************************************************************** // ************************************************************************** -FrameStackItem::FrameStackItem(FramestackWidget *tqparent, +FrameStackItem::FrameStackItem(FramestackWidget *parent, unsigned frameNo, const TQString &name) - : TQListViewItem(tqparent, tqparent->lastChild()), + : TQListViewItem(parent, parent->lastChild()), frameNo_(frameNo), threadNo_(-1) { @@ -505,12 +505,12 @@ FrameStackItem::FrameStackItem(FramestackWidget *tqparent, // ************************************************************************** -FrameStackItem::FrameStackItem(ThreadStackItem *tqparent, +FrameStackItem::FrameStackItem(ThreadStackItem *parent, unsigned frameNo, const TQString &name) - : TQListViewItem(tqparent, tqparent->lastChild()), + : TQListViewItem(parent, parent->lastChild()), frameNo_(frameNo), - threadNo_(tqparent->threadNo()) + threadNo_(parent->threadNo()) { setText(0, name); } @@ -554,8 +554,8 @@ void FrameStackItem::setOpen(bool open) // ************************************************************************** // ************************************************************************** -ThreadStackItem::ThreadStackItem(FramestackWidget *tqparent, unsigned threadNo) -: TQListViewItem(tqparent), +ThreadStackItem::ThreadStackItem(FramestackWidget *parent, unsigned threadNo) +: TQListViewItem(parent), threadNo_(threadNo) { setText(0, i18n("Thread %1").tqarg(threadNo_)); diff --git a/languages/cpp/debugger/framestackwidget.h b/languages/cpp/debugger/framestackwidget.h index 5d0b98e7..631c440f 100644 --- a/languages/cpp/debugger/framestackwidget.h +++ b/languages/cpp/debugger/framestackwidget.h @@ -33,7 +33,7 @@ class FramestackWidget; class ThreadStackItem : public TQListViewItem { public: - ThreadStackItem(FramestackWidget *tqparent, + ThreadStackItem(FramestackWidget *parent, unsigned threadNo); virtual ~ThreadStackItem(); @@ -59,10 +59,10 @@ private: class FrameStackItem : public TQListViewItem { public: - FrameStackItem(FramestackWidget *tqparent, + FrameStackItem(FramestackWidget *parent, unsigned frameNo, const TQString &name); - FrameStackItem(ThreadStackItem *tqparent, + FrameStackItem(ThreadStackItem *parent, unsigned frameNo, const TQString &name); virtual ~FrameStackItem(); @@ -95,7 +95,7 @@ class FramestackWidget : public TQListView public: FramestackWidget( GDBController* controller, - TQWidget *tqparent=0, + TQWidget *parent=0, const char *name=0, WFlags f=0 ); virtual ~FramestackWidget(); diff --git a/languages/cpp/debugger/gdbbreakpointwidget.cpp b/languages/cpp/debugger/gdbbreakpointwidget.cpp index dffdf5d4..10d8a749 100644 --- a/languages/cpp/debugger/gdbbreakpointwidget.cpp +++ b/languages/cpp/debugger/gdbbreakpointwidget.cpp @@ -100,9 +100,9 @@ private: /***************************************************************************/ /***************************************************************************/ -BreakpointTableRow::BreakpointTableRow(TQTable* tqparent, EditType editType, +BreakpointTableRow::BreakpointTableRow(TQTable* parent, EditType editType, Breakpoint* bp) : - TQTableItem(tqparent, editType, ""), + TQTableItem(parent, editType, ""), m_breakpoint(bp) { appendEmptyRow(); @@ -146,7 +146,7 @@ void BreakpointTableRow::appendEmptyRow() ComplexEditCell* act = new ComplexEditCell(table()); table()->setItem(row, Tracing, act); TQObject::connect(act, TQT_SIGNAL(edit(TQTableItem*)), - table()->tqparent(), TQT_SLOT(editTracing(TQTableItem*))); + table()->parent(), TQT_SLOT(editTracing(TQTableItem*))); } /***************************************************************************/ @@ -196,8 +196,8 @@ void BreakpointTableRow::setRow() /***************************************************************************/ GDBBreakpointWidget::GDBBreakpointWidget(GDBController* controller, - TQWidget *tqparent, const char *name) : -TQHBox(tqparent, name), + TQWidget *parent, const char *name) : +TQHBox(parent, name), controller_(controller) { m_table = new GDBTable(0, numCols, this, name); diff --git a/languages/cpp/debugger/gdbbreakpointwidget.h b/languages/cpp/debugger/gdbbreakpointwidget.h index 2379a318..c1a0c7fe 100644 --- a/languages/cpp/debugger/gdbbreakpointwidget.h +++ b/languages/cpp/debugger/gdbbreakpointwidget.h @@ -48,7 +48,7 @@ class GDBBreakpointWidget : public TQHBox public: GDBBreakpointWidget( GDBController* controller, - TQWidget* tqparent=0, const char* name=0 ); + TQWidget* parent=0, const char* name=0 ); virtual ~GDBBreakpointWidget(); void reset(); diff --git a/languages/cpp/debugger/gdboutputwidget.cpp b/languages/cpp/debugger/gdboutputwidget.cpp index fe5059cb..7648fdf2 100644 --- a/languages/cpp/debugger/gdboutputwidget.cpp +++ b/languages/cpp/debugger/gdboutputwidget.cpp @@ -39,8 +39,8 @@ namespace GDBDebugger /***************************************************************************/ -GDBOutputWidget::GDBOutputWidget( TQWidget *tqparent, const char *name) : - TQWidget(tqparent, name), +GDBOutputWidget::GDBOutputWidget( TQWidget *parent, const char *name) : + TQWidget(parent, name), m_userGDBCmdEditor(0), m_Interrupt(0), m_gdbView(0), diff --git a/languages/cpp/debugger/gdboutputwidget.h b/languages/cpp/debugger/gdboutputwidget.h index 171fdb86..ed841d9b 100644 --- a/languages/cpp/debugger/gdboutputwidget.h +++ b/languages/cpp/debugger/gdboutputwidget.h @@ -38,7 +38,7 @@ class GDBOutputWidget : public TQWidget TQ_OBJECT public: - GDBOutputWidget( TQWidget *tqparent=0, const char *name=0 ); + GDBOutputWidget( TQWidget *parent=0, const char *name=0 ); ~GDBOutputWidget(); void savePartialProjectSession(TQDomElement* el); @@ -119,9 +119,9 @@ class OutputText : public TQTextEdit Q_OBJECT TQ_OBJECT public: - OutputText(GDBOutputWidget* tqparent) - : TQTextEdit(tqparent), - parent_(tqparent) + OutputText(GDBOutputWidget* parent) + : TQTextEdit(parent), + parent_(parent) {} TQPopupMenu* createPopupMenu(const TQPoint& pos); diff --git a/languages/cpp/debugger/gdbparser.h b/languages/cpp/debugger/gdbparser.h index 08e5cda7..a56c082d 100644 --- a/languages/cpp/debugger/gdbparser.h +++ b/languages/cpp/debugger/gdbparser.h @@ -35,7 +35,7 @@ public: static void destroy(); private: - void parseArray(TrimmableItem *tqparent, const char *buf); + void parseArray(TrimmableItem *parent, const char *buf); const char *skipTokenEnd(const char *buf) const; const char *skipTokenValue(const char *buf) const; diff --git a/languages/cpp/debugger/gdbtable.cpp b/languages/cpp/debugger/gdbtable.cpp index c4b16da8..c9c1bf2f 100644 --- a/languages/cpp/debugger/gdbtable.cpp +++ b/languages/cpp/debugger/gdbtable.cpp @@ -11,13 +11,13 @@ namespace GDBDebugger { -GDBTable::GDBTable(TQWidget *tqparent, const char *name) - : TQTable(tqparent, name) +GDBTable::GDBTable(TQWidget *parent, const char *name) + : TQTable(parent, name) { } -GDBTable::GDBTable(int nr, int nc, TQWidget * tqparent, const char * name) - : TQTable(nr, nc, tqparent, name) +GDBTable::GDBTable(int nr, int nc, TQWidget * parent, const char * name) + : TQTable(nr, nc, parent, name) { } diff --git a/languages/cpp/debugger/gdbtable.h b/languages/cpp/debugger/gdbtable.h index 55374380..da1e7a0e 100644 --- a/languages/cpp/debugger/gdbtable.h +++ b/languages/cpp/debugger/gdbtable.h @@ -19,8 +19,8 @@ class GDBTable : public TQTable Q_OBJECT TQ_OBJECT public: - GDBTable(TQWidget *tqparent = 0, const char *name = 0); - GDBTable( int numRows, int numCols, TQWidget * tqparent = 0, const char * name = 0 ); + GDBTable(TQWidget *parent = 0, const char *name = 0); + GDBTable( int numRows, int numCols, TQWidget * parent = 0, const char * name = 0 ); ~GDBTable(); virtual void keyPressEvent ( TQKeyEvent * e ); diff --git a/languages/cpp/debugger/label_with_double_click.cpp b/languages/cpp/debugger/label_with_double_click.cpp index deaab3cc..f08c7358 100644 --- a/languages/cpp/debugger/label_with_double_click.cpp +++ b/languages/cpp/debugger/label_with_double_click.cpp @@ -1,8 +1,8 @@ #include "label_with_double_click.h" -LabelWithDoubleClick::LabelWithDoubleClick(const TQString& s, TQWidget* tqparent) -: TQLabel(s, tqparent) +LabelWithDoubleClick::LabelWithDoubleClick(const TQString& s, TQWidget* parent) +: TQLabel(s, parent) {} void LabelWithDoubleClick::mouseDoubleClickEvent(TQMouseEvent*) diff --git a/languages/cpp/debugger/label_with_double_click.h b/languages/cpp/debugger/label_with_double_click.h index 616ad903..ebff3d92 100644 --- a/languages/cpp/debugger/label_with_double_click.h +++ b/languages/cpp/debugger/label_with_double_click.h @@ -9,7 +9,7 @@ class LabelWithDoubleClick : public TQLabel Q_OBJECT TQ_OBJECT public: - LabelWithDoubleClick(const TQString& s, TQWidget* tqparent); + LabelWithDoubleClick(const TQString& s, TQWidget* parent); signals: void doubleClicked(); diff --git a/languages/cpp/debugger/memviewdlg.cpp b/languages/cpp/debugger/memviewdlg.cpp index c594d134..48c2ddd4 100644 --- a/languages/cpp/debugger/memviewdlg.cpp +++ b/languages/cpp/debugger/memviewdlg.cpp @@ -79,8 +79,8 @@ namespace GDBDebugger TQPushButton* okButton; TQPushButton* cancelButton; - MemoryRangeSelector(TQWidget* tqparent) - : TQWidget(tqparent) + MemoryRangeSelector(TQWidget* parent) + : TQWidget(parent) { TQVBoxLayout* l = new TQVBoxLayout(this); @@ -127,8 +127,8 @@ namespace GDBDebugger MemoryView::MemoryView(GDBController* controller, - TQWidget* tqparent, const char* name) - : TQWidget(tqparent, name), + TQWidget* parent, const char* name) + : TQWidget(parent, name), controller_(controller), // New memory view can be created only when debugger is active, // so don't set s_appNotStarted here. @@ -403,9 +403,9 @@ namespace GDBDebugger ViewerWidget::ViewerWidget(GDBController* controller, - TQWidget* tqparent, + TQWidget* parent, const char* name) - : TQWidget(tqparent, name), + : TQWidget(parent, name), controller_(controller) { setIcon(SmallIcon("math_brace")); diff --git a/languages/cpp/debugger/memviewdlg.h b/languages/cpp/debugger/memviewdlg.h index 991efbb3..ecdb304f 100644 --- a/languages/cpp/debugger/memviewdlg.h +++ b/languages/cpp/debugger/memviewdlg.h @@ -37,7 +37,7 @@ namespace GDBDebugger TQ_OBJECT public: ViewerWidget(GDBController* controller, - TQWidget* tqparent, const char* name); + TQWidget* parent, const char* name); public slots: /** Adds a new memory view to *this, initially showing @@ -68,7 +68,7 @@ namespace GDBDebugger TQ_OBJECT public: MemoryView(GDBController* controller, - TQWidget* tqparent, const char* name = 0); + TQWidget* parent, const char* name = 0); void debuggerStateChanged(int state); diff --git a/languages/cpp/debugger/stty.cpp b/languages/cpp/debugger/stty.cpp index 07b848d9..52ff7a24 100644 --- a/languages/cpp/debugger/stty.cpp +++ b/languages/cpp/debugger/stty.cpp @@ -346,11 +346,11 @@ bool STTY::findExternalTTY(const TQString &termApp) ::exit(1); } - // tqparent process + // parent process if (pid <= 0) ::exit(1); - // Open the communication between us (the tqparent) and the + // Open the communication between us (the parent) and the // child (the process running on a tty console) fifo_fd = ::open(fifo, O_RDONLY); if (fifo_fd < 0) diff --git a/languages/cpp/debugger/variablewidget.cpp b/languages/cpp/debugger/variablewidget.cpp index 2b9e4de3..581b3cb8 100644 --- a/languages/cpp/debugger/variablewidget.cpp +++ b/languages/cpp/debugger/variablewidget.cpp @@ -77,8 +77,8 @@ namespace GDBDebugger VariableWidget::VariableWidget(GDBController* controller, GDBBreakpointWidget* breakpointWidget, - TQWidget *tqparent, const char *name) -: TQWidget(tqparent, name) + TQWidget *parent, const char *name) +: TQWidget(parent, name) { setIcon(SmallIcon("math_brace")); setCaption(i18n("Variable Tree")); @@ -197,11 +197,11 @@ void VariableWidget::focusInEvent(TQFocusEvent */*e*/) // ************************************************************************** // ************************************************************************** -VariableTree::VariableTree(VariableWidget *tqparent, +VariableTree::VariableTree(VariableWidget *parent, GDBController* controller, GDBBreakpointWidget* breakpointWidget, const char *name) - : KListView(tqparent, name), + : KListView(parent, name), TQToolTip( viewport() ), controller_(controller), breakpointWidget_(breakpointWidget), @@ -244,7 +244,7 @@ void VariableTree::slotContextMenu(KListView *, TQListViewItem *item) setSelected(item, true); // Need to select this item. - if (item->tqparent()) + if (item->parent()) { KPopupMenu popup(this); KPopupMenu format(this); @@ -360,7 +360,7 @@ void VariableTree::slotContextMenu(KListView *, TQListViewItem *item) { if (VarItem *item = dynamic_cast<VarItem*>(currentItem())) { - ((VariableWidget*)tqparent())-> + ((VariableWidget*)parent())-> slotEvaluateExpression(item->gdbExpression()); } } @@ -368,7 +368,7 @@ void VariableTree::slotContextMenu(KListView *, TQListViewItem *item) { if (VarItem *item = dynamic_cast<VarItem*>(currentItem())) { - ((VariableWidget*)tqparent())-> + ((VariableWidget*)parent())-> slotAddWatchVariable(item->gdbExpression()); } } @@ -547,8 +547,8 @@ void VariableTree::slotEvaluateExpression(const TQString &expression) TQListViewItem *VariableTree::findRoot(TQListViewItem *item) const { - while (item->tqparent()) - item = item->tqparent(); + while (item->parent()) + item = item->parent(); return item; } @@ -1018,15 +1018,15 @@ void VariableTree::handleAddressComputed(const GDBMI::ResultRecord& r) // ************************************************************************** // ************************************************************************** -TrimmableItem::TrimmableItem(VariableTree *tqparent) - : KListViewItem (tqparent, tqparent->lastChild()) +TrimmableItem::TrimmableItem(VariableTree *parent) + : KListViewItem (parent, parent->lastChild()) { } // ************************************************************************** -TrimmableItem::TrimmableItem(TrimmableItem *tqparent) - : KListViewItem (tqparent, tqparent->lastChild()) +TrimmableItem::TrimmableItem(TrimmableItem *parent) + : KListViewItem (parent, parent->lastChild()) { } @@ -1044,7 +1044,7 @@ void TrimmableItem::paintCell(TQPainter *p, const TQColorGroup &cg, if ( !p ) return; // make toplevel item (watch and frame items) names bold - if (column == 0 && !tqparent()) + if (column == 0 && !parent()) { TQFont f = p->font(); f.setBold(true); @@ -1069,10 +1069,10 @@ TQListViewItem *TrimmableItem::lastChild() const int VarItem::varobjIndex = 0; -VarItem::VarItem(TrimmableItem *tqparent, +VarItem::VarItem(TrimmableItem *parent, const TQString& expression, bool frozen) - : TrimmableItem (tqparent), + : TrimmableItem (parent), expression_(expression), highlight_(false), oldSpecialRepresentationSet_(false), @@ -1116,9 +1116,9 @@ VarItem::VarItem(TrimmableItem *tqparent, createVarobj(); } -VarItem::VarItem(TrimmableItem *tqparent, const GDBMI::Value& varobj, +VarItem::VarItem(TrimmableItem *parent, const GDBMI::Value& varobj, format_t format, bool baseClassMember) -: TrimmableItem (tqparent), +: TrimmableItem (parent), highlight_(false), oldSpecialRepresentationSet_(false), format_(format), @@ -1394,7 +1394,7 @@ void VarItem::createChildren(const GDBMI::ResultRecord& r, { kdDebug(9012) << "Creating new varobj " << exp << " " << baseObject << "\n"; - // Propagate format from tqparent. + // Propagate format from parent. VarItem* v = 0; v = new VarItem(this, tqchildren[i], format_, baseObject); } @@ -1469,10 +1469,10 @@ TQString VarItem::displayName() const if (expression_[0] != '*') return expression_; - if (const VarItem* tqparent = - dynamic_cast<const VarItem*>(TrimmableItem::tqparent())) + if (const VarItem* parent = + dynamic_cast<const VarItem*>(TrimmableItem::parent())) { - return "*" + tqparent->displayName(); + return "*" + parent->displayName(); } else { @@ -1504,24 +1504,24 @@ TQString VarItem::gdbExpression() const // - number, for array element // - identifier, for member, // - ***intentifier, for derefenreced pointer. - const VarItem* tqparent = dynamic_cast<const VarItem*>(TrimmableItem::tqparent()); + const VarItem* parent = dynamic_cast<const VarItem*>(TrimmableItem::parent()); bool ok = false; expression_.toInt(&ok); if (ok) { - // Array, tqparent always exists. - return tqparent->gdbExpression() + "[" + expression_ + "]"; + // Array, parent always exists. + return parent->gdbExpression() + "[" + expression_ + "]"; } else if (expression_[0] == '*') { - if (tqparent) + if (parent) { // For MI, expression_ can be "*0" (meaing // references 0-th element of some array). - // So, we really need to get to the tqparent to computed the right + // So, we really need to get to the parent to computed the right // gdb expression. - return "*" + tqparent->gdbExpression(); + return "*" + parent->gdbExpression(); } else { @@ -1532,14 +1532,14 @@ TQString VarItem::gdbExpression() const } else { - if (tqparent) + if (parent) /* This is varitem corresponds to a base suboject, - the expression should cast tqparent to the base's + the expression should cast parent to the base's type. */ if (baseClassMember_) - return "((" + expression_ + ")" + tqparent->gdbExpression() + ")"; + return "((" + expression_ + ")" + parent->gdbExpression() + ")"; else - return tqparent->gdbExpression() + "." + expression_; + return parent->gdbExpression() + "." + expression_; else return expression_; } @@ -1877,7 +1877,7 @@ VariableTree* VarItem::varTree() const void VarItem::unhookFromGdb() { // Unhook tqchildren first, so that child varitems are deleted - // before tqparent. Strictly speaking, we can avoid calling + // before parent. Strictly speaking, we can avoid calling // -var-delete on child varitems, but that's a bit cheesy, for(TQListViewItem* child = firstChild(); child; child = child->nextSibling()) @@ -1931,8 +1931,8 @@ bool VarItem::isAlive() const // ************************************************************************** // ************************************************************************** -VarFrameRoot::VarFrameRoot(VariableTree *tqparent, int frameNo, int threadNo) - : TrimmableItem (tqparent), +VarFrameRoot::VarFrameRoot(VariableTree *parent, int frameNo, int threadNo) + : TrimmableItem (parent), needLocals_(false), frameNo_(frameNo), threadNo_(threadNo), @@ -1956,8 +1956,8 @@ void VarFrameRoot::setOpen(bool open) if (frameOpened && needLocals_) { needLocals_ = false; - VariableTree* tqparent = static_cast<VariableTree*>(listView()); - tqparent->updateCurrentFrame(); + VariableTree* parent = static_cast<VariableTree*>(listView()); + parent->updateCurrentFrame(); } } @@ -1978,8 +1978,8 @@ void VarFrameRoot::setDirty() // ************************************************************************** // ************************************************************************** -WatchRoot::WatchRoot(VariableTree *tqparent) - : TrimmableItem(tqparent) +WatchRoot::WatchRoot(VariableTree *parent) + : TrimmableItem(parent) { setText(0, i18n("Watch")); setOpen(true); diff --git a/languages/cpp/debugger/variablewidget.h b/languages/cpp/debugger/variablewidget.h index d56e8977..2e5e6c38 100644 --- a/languages/cpp/debugger/variablewidget.h +++ b/languages/cpp/debugger/variablewidget.h @@ -57,7 +57,7 @@ class VariableWidget : public TQWidget public: VariableWidget( GDBController* controller, GDBBreakpointWidget* breakpointWidget, - TQWidget *tqparent=0, const char *name=0 ); + TQWidget *parent=0, const char *name=0 ); VariableTree *varTree() const { return varTree_; } @@ -88,7 +88,7 @@ class VariableTree : public KListView, public TQToolTip Q_OBJECT TQ_OBJECT public: - VariableTree(VariableWidget *tqparent, + VariableTree(VariableWidget *parent, GDBController* controller, GDBBreakpointWidget* breakpointWidget, const char *name=0 ); @@ -207,8 +207,8 @@ private: class TrimmableItem : public KListViewItem { public: - TrimmableItem(VariableTree *tqparent); - TrimmableItem(TrimmableItem *tqparent); + TrimmableItem(VariableTree *parent); + TrimmableItem(TrimmableItem *parent); virtual ~TrimmableItem(); @@ -235,11 +235,11 @@ public: /** Creates top-level variable item from the specified expression. Optionally, alternative display name can be provided. */ - VarItem( TrimmableItem *tqparent, + VarItem( TrimmableItem *parent, const TQString& expression, bool frozen = false); - VarItem( TrimmableItem *tqparent, const GDBMI::Value& varobj, + VarItem( TrimmableItem *parent, const GDBMI::Value& varobj, format_t format, bool baseClassMember); virtual ~VarItem(); @@ -373,7 +373,7 @@ private: private: // The gdb expression for this varItem relatively to - // tqparent VarItem. + // parent VarItem. TQString expression_; bool highlight_; @@ -418,7 +418,7 @@ private: class VarFrameRoot : public TrimmableItem { public: - VarFrameRoot(VariableTree *tqparent, int frameNo, int threadNo); + VarFrameRoot(VariableTree *parent, int frameNo, int threadNo); virtual ~VarFrameRoot(); void setOpen(bool open); @@ -456,7 +456,7 @@ private: class WatchRoot : public TrimmableItem { public: - WatchRoot(VariableTree *tqparent); + WatchRoot(VariableTree *parent); virtual ~WatchRoot(); }; diff --git a/languages/cpp/doc/libc.toc b/languages/cpp/doc/libc.toc index 626558da..53e996aa 100644 --- a/languages/cpp/doc/libc.toc +++ b/languages/cpp/doc/libc.toc @@ -455,7 +455,7 @@ <tocsect3 name="18.2.1 openlog" url="chapters_18.html#SEC385"/> <tocsect3 name="18.2.2 syslog, vsyslog" url="chapters_18.html#SEC386"/> <tocsect3 name="18.2.3 closelog" url="chapters_18.html#SEC387"/> - <tocsect3 name="18.2.4 setlogtqmask" url="chapters_18.html#SEC388"/> + <tocsect3 name="18.2.4 setlogmask" url="chapters_18.html#SEC388"/> <tocsect3 name="18.2.5 Syslog Example" url="chapters_18.html#SEC389"/> </tocsect2> </tocsect1> diff --git a/languages/cpp/pcsimporter/customimporter/kdevcustomimporter.cpp b/languages/cpp/pcsimporter/customimporter/kdevcustomimporter.cpp index 930bcfef..38a41eb8 100644 --- a/languages/cpp/pcsimporter/customimporter/kdevcustomimporter.cpp +++ b/languages/cpp/pcsimporter/customimporter/kdevcustomimporter.cpp @@ -19,9 +19,9 @@ K_EXPORT_COMPONENT_FACTORY( libkdevcustompcsimporter, KGenericFactory<KDevCustomImporter>( "kdevcustompcsimporter" ) ) -KDevCustomImporter::KDevCustomImporter( TQObject* tqparent, const char* name, const TQStringList & // args +KDevCustomImporter::KDevCustomImporter( TQObject* parent, const char* name, const TQStringList & // args ) - : KDevPCSImporter( tqparent, name ) + : KDevPCSImporter( parent, name ) {} @@ -75,9 +75,9 @@ TQStringList KDevCustomImporter::includePaths() return m_settings->dirs(); } -TQWidget* KDevCustomImporter::createSettingsPage( TQWidget* tqparent, const char* name ) +TQWidget* KDevCustomImporter::createSettingsPage( TQWidget* parent, const char* name ) { - m_settings = new SettingsDialog( tqparent, name ); + m_settings = new SettingsDialog( parent, name ); return m_settings; } diff --git a/languages/cpp/pcsimporter/customimporter/kdevcustomimporter.h b/languages/cpp/pcsimporter/customimporter/kdevcustomimporter.h index 0aea3974..501ae0ea 100644 --- a/languages/cpp/pcsimporter/customimporter/kdevcustomimporter.h +++ b/languages/cpp/pcsimporter/customimporter/kdevcustomimporter.h @@ -21,14 +21,14 @@ class KDevCustomImporter : public KDevPCSImporter Q_OBJECT TQ_OBJECT public: - KDevCustomImporter(TQObject* tqparent = 0, const char* name = 0, const TQStringList &args = TQStringList()); + KDevCustomImporter(TQObject* parent = 0, const char* name = 0, const TQStringList &args = TQStringList()); ~KDevCustomImporter(); virtual TQString dbName() const; virtual TQStringList fileList(); virtual TQStringList includePaths(); - virtual TQWidget* createSettingsPage(TQWidget* tqparent, const char* name); + virtual TQWidget* createSettingsPage(TQWidget* parent, const char* name); protected: TQStringList fileList( const TQString& path ); diff --git a/languages/cpp/pcsimporter/customimporter/settingsdialog.cpp b/languages/cpp/pcsimporter/customimporter/settingsdialog.cpp index 5845ff83..9994dcdd 100644 --- a/languages/cpp/pcsimporter/customimporter/settingsdialog.cpp +++ b/languages/cpp/pcsimporter/customimporter/settingsdialog.cpp @@ -34,8 +34,8 @@ #include <cstdlib> -SettingsDialog::SettingsDialog( TQWidget* tqparent, const char* name, WFlags fl ) - : SettingsDialogBase( tqparent, name, fl ) +SettingsDialog::SettingsDialog( TQWidget* parent, const char* name, WFlags fl ) + : SettingsDialogBase( parent, name, fl ) { KURLRequester * req = new KURLRequester( this ); req->setMode( KFile::Directory ); diff --git a/languages/cpp/pcsimporter/customimporter/settingsdialog.h b/languages/cpp/pcsimporter/customimporter/settingsdialog.h index 3d683f99..7b920a7d 100644 --- a/languages/cpp/pcsimporter/customimporter/settingsdialog.h +++ b/languages/cpp/pcsimporter/customimporter/settingsdialog.h @@ -22,7 +22,7 @@ class SettingsDialog : public SettingsDialogBase TQ_OBJECT public: - SettingsDialog(TQWidget* tqparent = 0, const char* name = 0, WFlags fl = 0 ); + SettingsDialog(TQWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); ~SettingsDialog(); bool isValidTQtDir( const TQString& path ) const; diff --git a/languages/cpp/pcsimporter/kdelibsimporter/kdevkdelibsimporter.cpp b/languages/cpp/pcsimporter/kdelibsimporter/kdevkdelibsimporter.cpp index d487ab35..f85b4ded 100644 --- a/languages/cpp/pcsimporter/kdelibsimporter/kdevkdelibsimporter.cpp +++ b/languages/cpp/pcsimporter/kdelibsimporter/kdevkdelibsimporter.cpp @@ -23,8 +23,8 @@ K_EXPORT_COMPONENT_FACTORY( libkdevkdelibsimporter, KGenericFactory<KDevKDELibsImporter>( "kdevkdelibsimporter" ) ) -KDevKDELibsImporter::KDevKDELibsImporter( TQObject * tqparent, const char * name, const TQStringList& ) - : KDevPCSImporter( tqparent, name ) +KDevKDELibsImporter::KDevKDELibsImporter( TQObject * parent, const char * name, const TQStringList& ) + : KDevPCSImporter( parent, name ) {} KDevKDELibsImporter::~KDevKDELibsImporter() @@ -109,9 +109,9 @@ TQStringList KDevKDELibsImporter::includePaths() return includePaths; } -TQWidget * KDevKDELibsImporter::createSettingsPage( TQWidget * tqparent, const char * name ) +TQWidget * KDevKDELibsImporter::createSettingsPage( TQWidget * parent, const char * name ) { - m_settings = new SettingsDialog( tqparent, name ); + m_settings = new SettingsDialog( parent, name ); return m_settings; } //kate: indent-mode csands; tab-width 4; space-indent off; diff --git a/languages/cpp/pcsimporter/kdelibsimporter/kdevkdelibsimporter.h b/languages/cpp/pcsimporter/kdelibsimporter/kdevkdelibsimporter.h index 1e2c8254..47671869 100644 --- a/languages/cpp/pcsimporter/kdelibsimporter/kdevkdelibsimporter.h +++ b/languages/cpp/pcsimporter/kdelibsimporter/kdevkdelibsimporter.h @@ -22,14 +22,14 @@ class KDevKDELibsImporter : public KDevPCSImporter Q_OBJECT TQ_OBJECT public: - KDevKDELibsImporter( TQObject* tqparent=0, const char* name=0, const TQStringList& args=TQStringList() ); + KDevKDELibsImporter( TQObject* parent=0, const char* name=0, const TQStringList& args=TQStringList() ); virtual ~KDevKDELibsImporter(); virtual TQString dbName() const { return TQString::tqfromLatin1("KDElibs"); } virtual TQStringList fileList(); virtual TQStringList includePaths(); - virtual TQWidget* createSettingsPage( TQWidget* tqparent, const char* name=0 ); + virtual TQWidget* createSettingsPage( TQWidget* parent, const char* name=0 ); private: TQStringList fileList( const TQString& path ); diff --git a/languages/cpp/pcsimporter/kdelibsimporter/settingsdialog.cpp b/languages/cpp/pcsimporter/kdelibsimporter/settingsdialog.cpp index a9a24c48..57d16676 100644 --- a/languages/cpp/pcsimporter/kdelibsimporter/settingsdialog.cpp +++ b/languages/cpp/pcsimporter/kdelibsimporter/settingsdialog.cpp @@ -38,8 +38,8 @@ TQListBoxItem* TQListBox_selectedItem( TQListBox* cpTQListBox ) return 0; } -SettingsDialog::SettingsDialog( TQWidget* tqparent, const char* name, WFlags fl ) -: SettingsDialogBase( tqparent, name, fl ) +SettingsDialog::SettingsDialog( TQWidget* parent, const char* name, WFlags fl ) +: SettingsDialogBase( parent, name, fl ) { KApplication::kApplication()->dirs()->addResourceType("include","include"); TQStringList kdedirs=KApplication::kApplication()->dirs()->findDirs("include",""); diff --git a/languages/cpp/pcsimporter/kdelibsimporter/settingsdialog.h b/languages/cpp/pcsimporter/kdelibsimporter/settingsdialog.h index 7de31292..afe38e8d 100644 --- a/languages/cpp/pcsimporter/kdelibsimporter/settingsdialog.h +++ b/languages/cpp/pcsimporter/kdelibsimporter/settingsdialog.h @@ -20,7 +20,7 @@ class SettingsDialog : public SettingsDialogBase TQ_OBJECT public: - SettingsDialog(TQWidget* tqparent = 0, const char* name = 0, WFlags fl = 0 ); + SettingsDialog(TQWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); ~SettingsDialog(); /*$PUBLIC_FUNCTIONS$*/ diff --git a/languages/cpp/pcsimporter/qt4importer/kdevqt4importer.cpp b/languages/cpp/pcsimporter/qt4importer/kdevqt4importer.cpp index e26872e2..c73b7456 100644 --- a/languages/cpp/pcsimporter/qt4importer/kdevqt4importer.cpp +++ b/languages/cpp/pcsimporter/qt4importer/kdevqt4importer.cpp @@ -24,8 +24,8 @@ K_EXPORT_COMPONENT_FACTORY( libkdevqt4importer, KGenericFactory<KDevQt4Importer>( "kdevqt4importer" ) ) -KDevQt4Importer::KDevQt4Importer( TQObject * tqparent, const char * name, const TQStringList& ) - : KDevPCSImporter( tqparent, name ) +KDevQt4Importer::KDevQt4Importer( TQObject * parent, const char * name, const TQStringList& ) + : KDevPCSImporter( parent, name ) { m_qtfile = 0; } @@ -99,9 +99,9 @@ TQStringList KDevQt4Importer::includePaths() return includePaths; } -TQWidget * KDevQt4Importer::createSettingsPage( TQWidget * tqparent, const char * name ) +TQWidget * KDevQt4Importer::createSettingsPage( TQWidget * parent, const char * name ) { - m_settings = new SettingsDialog( tqparent, name ); + m_settings = new SettingsDialog( parent, name ); return m_settings; } diff --git a/languages/cpp/pcsimporter/qt4importer/kdevqt4importer.h b/languages/cpp/pcsimporter/qt4importer/kdevqt4importer.h index 0da1185d..3b9c6cb9 100644 --- a/languages/cpp/pcsimporter/qt4importer/kdevqt4importer.h +++ b/languages/cpp/pcsimporter/qt4importer/kdevqt4importer.h @@ -23,14 +23,14 @@ class KDevQt4Importer : public KDevPCSImporter Q_OBJECT TQ_OBJECT public: - KDevQt4Importer( TQObject* tqparent=0, const char* name=0, const TQStringList& args=TQStringList() ); + KDevQt4Importer( TQObject* parent=0, const char* name=0, const TQStringList& args=TQStringList() ); virtual ~KDevQt4Importer(); virtual TQString dbName() const { return TQString::tqfromLatin1("TQt4"); } virtual TQStringList fileList(); virtual TQStringList includePaths(); - virtual TQWidget* createSettingsPage( TQWidget* tqparent, const char* name=0 ); + virtual TQWidget* createSettingsPage( TQWidget* parent, const char* name=0 ); private: TQGuardedPtr<SettingsDialog> m_settings; diff --git a/languages/cpp/pcsimporter/qt4importer/settingsdialog.cpp b/languages/cpp/pcsimporter/qt4importer/settingsdialog.cpp index 75fad7f3..10288502 100644 --- a/languages/cpp/pcsimporter/qt4importer/settingsdialog.cpp +++ b/languages/cpp/pcsimporter/qt4importer/settingsdialog.cpp @@ -36,8 +36,8 @@ TQListBoxItem* TQListBox_selectedItem(TQListBox* cpTQListBox) return 0; } -SettingsDialog::SettingsDialog(TQWidget* tqparent, const char* name, WFlags fl) - : SettingsDialogBase(tqparent,name,fl) +SettingsDialog::SettingsDialog(TQWidget* parent, const char* name, WFlags fl) + : SettingsDialogBase(parent,name,fl) { TQStringList qtdirs; qtdirs.push_back( ::getenv("TQTDIR") + TQString("/include") ); diff --git a/languages/cpp/pcsimporter/qt4importer/settingsdialog.h b/languages/cpp/pcsimporter/qt4importer/settingsdialog.h index 9a28b2ad..bd4ce565 100644 --- a/languages/cpp/pcsimporter/qt4importer/settingsdialog.h +++ b/languages/cpp/pcsimporter/qt4importer/settingsdialog.h @@ -20,7 +20,7 @@ class SettingsDialog : public SettingsDialogBase TQ_OBJECT public: - SettingsDialog(TQWidget* tqparent = 0, const char* name = 0, WFlags fl = 0 ); + SettingsDialog(TQWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); ~SettingsDialog(); /*$PUBLIC_FUNCTIONS$*/ diff --git a/languages/cpp/pcsimporter/qtimporter/kdevqtimporter.cpp b/languages/cpp/pcsimporter/qtimporter/kdevqtimporter.cpp index ea9bfb52..62eb38fd 100644 --- a/languages/cpp/pcsimporter/qtimporter/kdevqtimporter.cpp +++ b/languages/cpp/pcsimporter/qtimporter/kdevqtimporter.cpp @@ -20,8 +20,8 @@ K_EXPORT_COMPONENT_FACTORY( libkdevqtimporter, KGenericFactory<KDevQtImporter>( "kdevqtimporter" ) ) -KDevQtImporter::KDevQtImporter( TQObject * tqparent, const char * name, const TQStringList& ) - : KDevPCSImporter( tqparent, name ) +KDevQtImporter::KDevQtImporter( TQObject * parent, const char * name, const TQStringList& ) + : KDevPCSImporter( parent, name ) {} KDevQtImporter::~KDevQtImporter() @@ -64,9 +64,9 @@ TQStringList KDevQtImporter::includePaths() return includePaths; } -TQWidget * KDevQtImporter::createSettingsPage( TQWidget * tqparent, const char * name ) +TQWidget * KDevQtImporter::createSettingsPage( TQWidget * parent, const char * name ) { - m_settings = new SettingsDialog( tqparent, name ); + m_settings = new SettingsDialog( parent, name ); return m_settings; } diff --git a/languages/cpp/pcsimporter/qtimporter/kdevqtimporter.h b/languages/cpp/pcsimporter/qtimporter/kdevqtimporter.h index ebbc7ab4..7504b649 100644 --- a/languages/cpp/pcsimporter/qtimporter/kdevqtimporter.h +++ b/languages/cpp/pcsimporter/qtimporter/kdevqtimporter.h @@ -22,14 +22,14 @@ class KDevQtImporter : public KDevPCSImporter Q_OBJECT TQ_OBJECT public: - KDevQtImporter( TQObject* tqparent=0, const char* name=0, const TQStringList& args=TQStringList() ); + KDevQtImporter( TQObject* parent=0, const char* name=0, const TQStringList& args=TQStringList() ); virtual ~KDevQtImporter(); virtual TQString dbName() const { return TQString::tqfromLatin1("TQt"); } virtual TQStringList fileList(); virtual TQStringList includePaths(); - virtual TQWidget* createSettingsPage( TQWidget* tqparent, const char* name=0 ); + virtual TQWidget* createSettingsPage( TQWidget* parent, const char* name=0 ); private: TQGuardedPtr<SettingsDialog> m_settings; diff --git a/languages/cpp/pcsimporter/qtimporter/settingsdialog.cpp b/languages/cpp/pcsimporter/qtimporter/settingsdialog.cpp index 0c25753c..bcd62037 100644 --- a/languages/cpp/pcsimporter/qtimporter/settingsdialog.cpp +++ b/languages/cpp/pcsimporter/qtimporter/settingsdialog.cpp @@ -36,8 +36,8 @@ TQListBoxItem* TQListBox_selectedItem( TQListBox* cpTQListBox ) return 0; } -SettingsDialog::SettingsDialog( TQWidget* tqparent, const char* name, WFlags fl ) - : SettingsDialogBase( tqparent, name, fl ) +SettingsDialog::SettingsDialog( TQWidget* parent, const char* name, WFlags fl ) + : SettingsDialogBase( parent, name, fl ) { TQStringList qtdirs; qtdirs.push_back( ::getenv( "TQTDIR" ) + TQString("/include") ); diff --git a/languages/cpp/pcsimporter/qtimporter/settingsdialog.h b/languages/cpp/pcsimporter/qtimporter/settingsdialog.h index 9a28b2ad..bd4ce565 100644 --- a/languages/cpp/pcsimporter/qtimporter/settingsdialog.h +++ b/languages/cpp/pcsimporter/qtimporter/settingsdialog.h @@ -20,7 +20,7 @@ class SettingsDialog : public SettingsDialogBase TQ_OBJECT public: - SettingsDialog(TQWidget* tqparent = 0, const char* name = 0, WFlags fl = 0 ); + SettingsDialog(TQWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); ~SettingsDialog(); /*$PUBLIC_FUNCTIONS$*/ diff --git a/languages/cpp/problemreporter.cpp b/languages/cpp/problemreporter.cpp index ea1c3dc6..af76638c 100644 --- a/languages/cpp/problemreporter.cpp +++ b/languages/cpp/problemreporter.cpp @@ -57,14 +57,14 @@ class ProblemItem: public KListViewItem { public: - ProblemItem( TQListView* tqparent, const TQString& problem, + ProblemItem( TQListView* parent, const TQString& problem, const TQString& file, const TQString& line, const TQString& column ) - : KListViewItem( tqparent, problem, file, line, column ) + : KListViewItem( parent, problem, file, line, column ) {} - ProblemItem( TQListViewItem* tqparent, const TQString& problem, + ProblemItem( TQListViewItem* parent, const TQString& problem, const TQString& file, const TQString& line, const TQString& column ) - : KListViewItem( tqparent, problem, file, line, column ) + : KListViewItem( parent, problem, file, line, column ) {} int compare( TQListViewItem* item, int column, bool ascending ) const @@ -82,8 +82,8 @@ public: }; -ProblemReporter::ProblemReporter( CppSupportPart* part, TQWidget* tqparent, const char* name ) -: TQWidget( tqparent, name ? name : "problemreporter" ), +ProblemReporter::ProblemReporter( CppSupportPart* part, TQWidget* parent, const char* name ) +: TQWidget( parent, name ? name : "problemreporter" ), m_cppSupport( part ), // m_document( 0 ), m_markIface( 0 ) diff --git a/languages/cpp/problemreporter.h b/languages/cpp/problemreporter.h index c2abb294..9efc3593 100644 --- a/languages/cpp/problemreporter.h +++ b/languages/cpp/problemreporter.h @@ -107,7 +107,7 @@ class ProblemReporter: public TQWidget Q_OBJECT TQ_OBJECT public: - ProblemReporter( CppSupportPart* part, TQWidget* tqparent = 0, const char* name = 0 ); + ProblemReporter( CppSupportPart* part, TQWidget* parent = 0, const char* name = 0 ); virtual ~ProblemReporter(); void removeAllProblems( const TQString& filename ); diff --git a/languages/cpp/simplecontext.cpp b/languages/cpp/simplecontext.cpp index 3d23f76c..225bfc84 100644 --- a/languages/cpp/simplecontext.cpp +++ b/languages/cpp/simplecontext.cpp @@ -27,7 +27,7 @@ SimpleType getGlobal( SimpleType t ) { SafetyCounter s( 50 ); while( !global.scope().isEmpty() && s ) { if( !s ) { kdDebug( 9007 ) << "error" << endl; break; } - global = global->tqparent(); + global = global->parent(); } if( !global.scope().isEmpty() ) {kdDebug( 9007 ) << "ERROR WITH GLOBAL SCOPE" << endl; return SimpleType(); } return global; diff --git a/languages/cpp/simpletype.cpp b/languages/cpp/simpletype.cpp index 2a2b27de..a5efb703 100644 --- a/languages/cpp/simpletype.cpp +++ b/languages/cpp/simpletype.cpp @@ -795,7 +795,7 @@ LocateResult SimpleTypeImpl::locateType( TypeDesc name , LocateMode mode , int d ///Ask parentsc if ( !scope().isEmpty() && dir != 1 && ! ( mode & ExcludeParents ) ) { - LocateResult rett = tqparent() ->locateType( resolveTemplateParams( name, mode & ExcludeBases ? ExcludeBases : mode ), mode & ForgetModeUpwards ? Normal : mode ); + LocateResult rett = parent() ->locateType( resolveTemplateParams( name, mode & ExcludeBases ? ExcludeBases : mode ), mode & ForgetModeUpwards ? Normal : mode ); if ( rett->resolved() ) return rett.increaseDepth(); else @@ -842,12 +842,12 @@ TypePointer SimpleTypeImpl::bigContainer() { return TypePointer( this ); } -SimpleType SimpleTypeImpl::tqparent() { +SimpleType SimpleTypeImpl::parent() { if ( m_parent ) { - //ifVerbose( dbg() << "\"" << str() << "\": returning tqparent" << endl; + //ifVerbose( dbg() << "\"" << str() << "\": returning parent" << endl; return SimpleType( m_parent ); } else { - ifVerbose( dbg() << "\"" << str() << "\": locating tqparent" << endl ); + ifVerbose( dbg() << "\"" << str() << "\": locating parent" << endl ); invalidateSecondaryCache(); TQStringList sc = scope(); @@ -855,13 +855,13 @@ SimpleType SimpleTypeImpl::tqparent() { sc.pop_back(); SimpleType r = SimpleType( sc, m_desc.includeFiles() ); if ( &( *r.get() ) == this ) { - kdDebug( 9007 ) << "error: self set as tqparent: " << m_scope.join( "::" ) << "(" << m_scope.count() << ")" << ", " << sc.join( "::" ) << "(" << sc.count() << ")" /* << kdBacktrace()*/ << endl; + kdDebug( 9007 ) << "error: self set as parent: " << m_scope.join( "::" ) << "(" << m_scope.count() << ")" << ", " << sc.join( "::" ) << "(" << sc.count() << ")" /* << kdBacktrace()*/ << endl; return SimpleType( new SimpleTypeImpl( "" ) ); } m_parent = r.get(); return r; } else { - ifVerbose( dbg() << "\"" << str() << "\"warning: returning tqparent of global scope!" << endl ); + ifVerbose( dbg() << "\"" << str() << "\"warning: returning parent of global scope!" << endl ); return SimpleType( new SimpleTypeImpl( "" ) ); } } @@ -934,8 +934,8 @@ TQString SimpleTypeImpl::fullTypeUnresolvedWithScope( ) { TQString SimpleTypeImpl::fullTypeResolvedWithScope( int depth ) { Q_UNUSED( depth ); - if ( !m_scope.isEmpty() && tqparent() ) { - return tqparent() ->fullTypeResolvedWithScope() + "::" + fullTypeResolved(); + if ( !m_scope.isEmpty() && parent() ) { + return parent() ->fullTypeResolvedWithScope() + "::" + fullTypeResolved(); } else { return fullTypeResolved(); } diff --git a/languages/cpp/simpletype.h b/languages/cpp/simpletype.h index d3b288c0..43e55280 100644 --- a/languages/cpp/simpletype.h +++ b/languages/cpp/simpletype.h @@ -42,7 +42,7 @@ class SimpleTypeFunctionInterface; typedef KSharedPtr<SimpleTypeImpl> TypePointer; -///if this is set, imported items will get their tqparent set to the node they were acquired through(which may increase the overall count of items, decrease the caching-performance, and may create other problems in locating stuff) +///if this is set, imported items will get their parent set to the node they were acquired through(which may increase the overall count of items, decrease the caching-performance, and may create other problems in locating stuff) //#define PHYSICAL_IMPORT enum Repository { @@ -322,7 +322,7 @@ class SimpleTypeImpl : public KShared { }; - ///Sets the tqparent of the given slave to either this class, or the proxy of this class + ///Sets the parent of the given slave to either this class, or the proxy of this class virtual void setSlaveParent( SimpleTypeImpl& slave ); void setMasterProxy( TypePointer t ) { @@ -480,19 +480,19 @@ class SimpleTypeImpl : public KShared { return ts; } - ///sets the tqparent-type(type this one is nested in) - void setParent( TypePointer tqparent ) { - if( tqparent == m_parent ) return; + ///sets the parent-type(type this one is nested in) + void setParent( TypePointer parent ) { + if( parent == m_parent ) return; invalidateSecondaryCache(); - if ( &( *tqparent ) == this ) { + if ( &( *parent ) == this ) { kdDebug( 9007 ) << "setSlaveParent error\n" << kdBacktrace() << endl; return ; } - m_parent = tqparent; + m_parent = parent; } - ///returns whether the type has template-parameters, or one of the tqparent-types has template-parameters. + ///returns whether the type has template-parameters, or one of the parent-types has template-parameters. bool usingTemplates() const { return !m_desc.templateParams().isEmpty() || ( m_parent && m_parent->usingTemplates() ); } @@ -617,7 +617,7 @@ class SimpleTypeImpl : public KShared { ExcludeParents = 16, ExcludeNestedTypes = 32, ExcludeNamespaces = 64, - ForgetModeUpwards = 128, ///forgets everything, even NoFail, while passing control to the tqparent + ForgetModeUpwards = 128, ///forgets everything, even NoFail, while passing control to the parent LocateBase = 4 + 8 + 32 + 64 + 128, ///searching in the scope visible while the base-declaration of a class NoFail = 256, TraceAliases = 512, ///Stores a copy whenever an alias is applied @@ -718,8 +718,8 @@ class SimpleTypeImpl : public KShared { ///Returns either itself, or the (namespace-)proxy this type is a slave of. TypePointer bigContainer(); - ///Returns the tqparent, eg. the SimpleType this one is nested in. - SimpleType tqparent(); + ///Returns the parent, eg. the SimpleType this one is nested in. + SimpleType parent(); ///this must be a reference, so the desc can be manipulated in-place from outside const TypeDesc& desc(); @@ -779,7 +779,7 @@ class SimpleTypeImpl : public KShared { ///Used to set the include-files that were used to find this type(needed for lazy evaluation of the base-classes) void setFindIncludeFiles( const IncludeFiles& files ); - ///Should be called within the tqparent-namespace/class + ///Should be called within the parent-namespace/class virtual void chooseSpecialization( MemberInfo& member ); }; diff --git a/languages/cpp/simpletypecatalog.h b/languages/cpp/simpletypecatalog.h index 69a920c7..e22a3fcf 100644 --- a/languages/cpp/simpletypecatalog.h +++ b/languages/cpp/simpletypecatalog.h @@ -100,7 +100,7 @@ protected: TypeDesc m_desc; TypePointer m_parent; - CatalogBuildInfo( Tag tag , const TypeDesc& desc, TypePointer tqparent ) : m_tag( tag ) , m_desc( desc ), m_parent( tqparent ) { + CatalogBuildInfo( Tag tag , const TypeDesc& desc, TypePointer parent ) : m_tag( tag ) , m_desc( desc ), m_parent( parent ) { } virtual TypePointer build(); diff --git a/languages/cpp/simpletypefunction.cpp b/languages/cpp/simpletypefunction.cpp index 4edaddba..0af7bdc8 100644 --- a/languages/cpp/simpletypefunction.cpp +++ b/languages/cpp/simpletypefunction.cpp @@ -572,8 +572,8 @@ TypePointer SimpleTypeCodeModel::CodeModelBuildInfo::build() { TypeDesc SimpleTypeCodeModelFunction::getReturnType() { if ( item() ) { IncludeFiles files; - if( tqparent() ) - files = tqparent()->getFindIncludeFiles(); + if( parent() ) + files = parent()->getFindIncludeFiles(); if ( FunctionModel* m = dynamic_cast<FunctionModel*>( & ( *item() ) ) ) { TypeDesc d = m->resultType(); d.setIncludeFiles( files ); @@ -597,8 +597,8 @@ TQValueList<TypeDesc> SimpleTypeCodeModelFunction::getArgumentTypes() { if ( item() ) { IncludeFiles files; - if( tqparent() ) - files = tqparent()->getFindIncludeFiles(); + if( parent() ) + files = parent()->getFindIncludeFiles(); if ( FunctionModel* m = dynamic_cast<FunctionModel*>( & ( *item() ) ) ) { ArgumentList l = m->argumentList(); for ( ArgumentList::iterator it = l.begin(); it != l.end(); ++it ) { @@ -642,7 +642,7 @@ TQStringList SimpleTypeCodeModelFunction::getArgumentDefaults() { //SimpleTypeCodeModelFunction::CodeModelFunctionBuildInfo implementation -SimpleTypeCodeModelFunction::CodeModelFunctionBuildInfo::CodeModelFunctionBuildInfo( FunctionDefinitionList items, TypeDesc& desc, TypePointer tqparent ) : m_desc( desc ), m_parent( tqparent ) { +SimpleTypeCodeModelFunction::CodeModelFunctionBuildInfo::CodeModelFunctionBuildInfo( FunctionDefinitionList items, TypeDesc& desc, TypePointer parent ) : m_desc( desc ), m_parent( parent ) { for ( FunctionDefinitionList::iterator it = items.begin(); it != items.end(); ++it ) { m_items << model_cast<FunctionDom> ( *it ); diff --git a/languages/cpp/simpletypefunction.h b/languages/cpp/simpletypefunction.h index 86f32a65..90b5fcab 100644 --- a/languages/cpp/simpletypefunction.h +++ b/languages/cpp/simpletypefunction.h @@ -139,7 +139,7 @@ public: ///paramInfo now contains the information for all implicit types } - return this->tqparent()->locateDecType( f->replaceTemplateParams( rt, paramInfo ) ); + return this->parent()->locateDecType( f->replaceTemplateParams( rt, paramInfo ) ); } else { ifVerbose( dbg() << "failed to find a fitting overloaded method" << endl ); } @@ -239,7 +239,7 @@ protected: TypeDesc m_desc; TypePointer m_parent; - CodeModelBuildInfo( ItemDom item, const TypeDesc& desc, TypePointer tqparent ) : m_item( item ), m_desc( desc ), m_parent( tqparent ) { + CodeModelBuildInfo( ItemDom item, const TypeDesc& desc, TypePointer parent ) : m_item( item ), m_desc( desc ), m_parent( parent ) { } virtual TypePointer build(); @@ -281,9 +281,9 @@ public: TypeDesc m_desc; TypePointer m_parent; - CodeModelFunctionBuildInfo( FunctionList items, TypeDesc& desc, TypePointer tqparent ) : m_items( items ), m_desc( desc ), m_parent( tqparent ) { + CodeModelFunctionBuildInfo( FunctionList items, TypeDesc& desc, TypePointer parent ) : m_items( items ), m_desc( desc ), m_parent( parent ) { } - CodeModelFunctionBuildInfo( FunctionDefinitionList items, TypeDesc& desc, TypePointer tqparent ); + CodeModelFunctionBuildInfo( FunctionDefinitionList items, TypeDesc& desc, TypePointer parent ); virtual TypePointer build(); }; @@ -317,7 +317,7 @@ public: TypeDesc m_desc; TypePointer m_parent; - CatalogFunctionBuildInfo( TQValueList<Tag> tags, TypeDesc& desc, TypePointer tqparent ) : m_tags( tags ), m_desc( desc ), m_parent( tqparent ) { + CatalogFunctionBuildInfo( TQValueList<Tag> tags, TypeDesc& desc, TypePointer parent ) : m_tags( tags ), m_desc( desc ), m_parent( parent ) { } virtual TypePointer build(); diff --git a/languages/cpp/simpletypenamespace.cpp b/languages/cpp/simpletypenamespace.cpp index 10e9b83d..f7937db1 100644 --- a/languages/cpp/simpletypenamespace.cpp +++ b/languages/cpp/simpletypenamespace.cpp @@ -159,7 +159,7 @@ SimpleTypeImpl::MemberInfo SimpleTypeNamespace::findMember( TypeDesc name, Membe if ( mem.memberType != MemberInfo::Namespace ) { #ifdef PHYSICAL_IMPORT TypePointer b = mem.build(); - if ( b && !( b->tqparent()->masterProxy().data() == this ) ) { + if ( b && !( b->parent()->masterProxy().data() == this ) ) { b = b ->clone(); //expensive, cache is not shared b->setParent( this ); @@ -169,7 +169,7 @@ SimpleTypeImpl::MemberInfo SimpleTypeNamespace::findMember( TypeDesc name, Membe if( mem.memberType == MemberInfo::NestedType ) chooseSpecialization( mem ); TypePointer b = mem.build(); - if( b && b->tqparent() && b->tqparent()->masterProxy().data() == this ) + if( b && b->parent() && b->parent()->masterProxy().data() == this ) b->setParent( this ); #endif return mem; diff --git a/languages/cpp/subclassing_template/subclass_qt4_template.cpp b/languages/cpp/subclassing_template/subclass_qt4_template.cpp index 3e96646a..4531fa69 100644 --- a/languages/cpp/subclassing_template/subclass_qt4_template.cpp +++ b/languages/cpp/subclassing_template/subclass_qt4_template.cpp @@ -2,8 +2,8 @@ #include "$NEWFILENAMELC$.h" -$NEWCLASS$::$NEWCLASS$(TQWidget* tqparent, TQt::WFlags fl) -: $TQTBASECLASS$( tqparent, fl ), Ui::$BASECLASS$() +$NEWCLASS$::$NEWCLASS$(TQWidget* parent, TQt::WFlags fl) +: $TQTBASECLASS$( parent, fl ), Ui::$BASECLASS$() { setupUi(this); } diff --git a/languages/cpp/subclassing_template/subclass_qt4_template.h b/languages/cpp/subclassing_template/subclass_qt4_template.h index 64ba390e..8895bceb 100644 --- a/languages/cpp/subclassing_template/subclass_qt4_template.h +++ b/languages/cpp/subclassing_template/subclass_qt4_template.h @@ -11,7 +11,7 @@ class $NEWCLASS$ : public $TQTBASECLASS$, private Ui::$BASECLASS$ TQ_OBJECT public: - $NEWCLASS$(TQWidget* tqparent = 0, TQt::WFlags fl = 0 ); + $NEWCLASS$(TQWidget* parent = 0, TQt::WFlags fl = 0 ); ~$NEWCLASS$(); /*$PUBLIC_FUNCTIONS$*/ diff --git a/languages/cpp/subclassing_template/subclass_template.cpp b/languages/cpp/subclassing_template/subclass_template.cpp index 8373a260..adc89082 100644 --- a/languages/cpp/subclassing_template/subclass_template.cpp +++ b/languages/cpp/subclassing_template/subclass_template.cpp @@ -2,8 +2,8 @@ #include "$NEWFILENAMELC$.h" -$NEWCLASS$::$NEWCLASS$(TQWidget* tqparent, const char* name$CAN_BE_MODAL_CPP1$, WFlags fl) -: $BASECLASS$(tqparent,name$CAN_BE_MODAL_CPP2$,fl) +$NEWCLASS$::$NEWCLASS$(TQWidget* parent, const char* name$CAN_BE_MODAL_CPP1$, WFlags fl) +: $BASECLASS$(parent,name$CAN_BE_MODAL_CPP2$,fl) { } diff --git a/languages/cpp/subclassing_template/subclass_template.h b/languages/cpp/subclassing_template/subclass_template.h index 7f9d2ae2..1451e471 100644 --- a/languages/cpp/subclassing_template/subclass_template.h +++ b/languages/cpp/subclassing_template/subclass_template.h @@ -10,7 +10,7 @@ class $NEWCLASS$ : public $BASECLASS$ TQ_OBJECT public: - $NEWCLASS$(TQWidget* tqparent = 0, const char* name = 0$CAN_BE_MODAL_H$, WFlags fl = 0 ); + $NEWCLASS$(TQWidget* parent = 0, const char* name = 0$CAN_BE_MODAL_H$, WFlags fl = 0 ); ~$NEWCLASS$(); /*$PUBLIC_FUNCTIONS$*/ diff --git a/languages/cpp/subclassingdlg.cpp b/languages/cpp/subclassingdlg.cpp index 72db362b..d4edb897 100644 --- a/languages/cpp/subclassingdlg.cpp +++ b/languages/cpp/subclassingdlg.cpp @@ -54,11 +54,11 @@ #define SLOT_HELP SlotItem(m_slotView,"help()","virtual","protected","void",false,true) -SlotItem::SlotItem(TQListView *tqparent,const TQString &methodName, +SlotItem::SlotItem(TQListView *parent,const TQString &methodName, const TQString &specifier, const TQString &access, const TQString &returnType, bool isFunc,bool callBaseClass) -: TQCheckListItem(tqparent,methodName,TQCheckListItem::CheckBox) +: TQCheckListItem(parent,methodName,TQCheckListItem::CheckBox) { setOn(true); m_methodName = methodName; @@ -94,9 +94,9 @@ void SlotItem::setAllreadyInSubclass() SubclassingDlg::SubclassingDlg(CppSupportPart* cppSupport, const TQString &formFile, - TQStringList &newFileNames, TQWidget* tqparent, + TQStringList &newFileNames, TQWidget* parent, const char* name,bool modal, WFlags fl) -: SubclassingDlgBase(tqparent,name,modal,fl), +: SubclassingDlgBase(parent,name,modal,fl), m_newFileNames(newFileNames), m_cppSupport( cppSupport ) { @@ -117,8 +117,8 @@ m_newFileNames(newFileNames), m_cppSupport( cppSupport ) SubclassingDlg::SubclassingDlg(CppSupportPart* cppSupport, const TQString &formFile, const TQString &filename, TQStringList &dummy, - TQWidget* tqparent, const char* name, bool modal, WFlags fl) -: SubclassingDlgBase(tqparent, name, modal, fl), + TQWidget* parent, const char* name, bool modal, WFlags fl) +: SubclassingDlgBase(parent, name, modal, fl), m_newFileNames(dummy), m_cppSupport( cppSupport ) { diff --git a/languages/cpp/subclassingdlg.h b/languages/cpp/subclassingdlg.h index e63dee7b..43fd06ad 100644 --- a/languages/cpp/subclassingdlg.h +++ b/languages/cpp/subclassingdlg.h @@ -23,7 +23,7 @@ class CppSupportPart; class SlotItem : public TQCheckListItem { public: - SlotItem( TQListView *tqparent, const TQString &text, + SlotItem( TQListView *parent, const TQString &text, const TQString &specifier, const TQString &Access, const TQString &returnType, bool isFunc, bool callBaseClass = false ); @@ -42,10 +42,10 @@ class SubclassingDlg : public SubclassingDlgBase { public: SubclassingDlg( CppSupportPart* cppSupport, const TQString &formFile, TQStringList &newFileNames, - TQWidget* tqparent = 0, const char* name = 0, + TQWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 ); SubclassingDlg( CppSupportPart* cppSupport, const TQString &formFile, const TQString &filename, TQStringList &dummy, - TQWidget* tqparent = 0, const char* name = 0, + TQWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 ); ~SubclassingDlg(); diff --git a/languages/csharp/csharpconfigwidget.cpp b/languages/csharp/csharpconfigwidget.cpp index dea62747..620f7881 100644 --- a/languages/csharp/csharpconfigwidget.cpp +++ b/languages/csharp/csharpconfigwidget.cpp @@ -17,8 +17,8 @@ CSharpConfigWidget::CSharpConfigWidget(TQDomDocument &projectDom, - TQWidget *tqparent, const char *name) - : CSharpConfigWidgetBase(tqparent, name), dom(projectDom) + TQWidget *parent, const char *name) + : CSharpConfigWidgetBase(parent, name), dom(projectDom) { interpreter_edit->setText(DomUtil::readEntry(dom, "/kdevcsharpsupport/run/interpreter")); terminal_box->setChecked(DomUtil::readBoolEntry(dom, "/kdevcsharpsupport/run/terminal")); diff --git a/languages/csharp/csharpconfigwidget.h b/languages/csharp/csharpconfigwidget.h index 25b6e58f..1f14bd3e 100644 --- a/languages/csharp/csharpconfigwidget.h +++ b/languages/csharp/csharpconfigwidget.h @@ -22,7 +22,7 @@ class CSharpConfigWidget : public CSharpConfigWidgetBase TQ_OBJECT public: - CSharpConfigWidget( TQDomDocument &projectDom, TQWidget *tqparent=0, const char *name=0 ); + CSharpConfigWidget( TQDomDocument &projectDom, TQWidget *parent=0, const char *name=0 ); ~CSharpConfigWidget(); public slots: diff --git a/languages/csharp/csharpsupportpart.cpp b/languages/csharp/csharpsupportpart.cpp index 6f12836c..f6a3545c 100644 --- a/languages/csharp/csharpsupportpart.cpp +++ b/languages/csharp/csharpsupportpart.cpp @@ -48,8 +48,8 @@ typedef KDevGenericFactory<CSharpSupportPart> CSharpSupportFactory; static const KDevPluginInfo data("kdevcsharpsupport"); K_EXPORT_COMPONENT_FACTORY( libkdevcsharpsupport, CSharpSupportFactory( data ) ) -CSharpSupportPart::CSharpSupportPart(TQObject *tqparent, const char *name, const TQStringList &) - : KDevLanguageSupport(&data, tqparent, name ? name : "CSharpSupportPart") +CSharpSupportPart::CSharpSupportPart(TQObject *parent, const char *name, const TQStringList &) + : KDevLanguageSupport(&data, parent, name ? name : "CSharpSupportPart") { setInstance(CSharpSupportFactory::instance()); diff --git a/languages/csharp/csharpsupportpart.h b/languages/csharp/csharpsupportpart.h index df2390c8..d116514a 100644 --- a/languages/csharp/csharpsupportpart.h +++ b/languages/csharp/csharpsupportpart.h @@ -22,7 +22,7 @@ class CSharpSupportPart : public KDevLanguageSupport TQ_OBJECT public: - CSharpSupportPart( TQObject *tqparent, const char *name, const TQStringList & ); + CSharpSupportPart( TQObject *parent, const char *name, const TQStringList & ); ~CSharpSupportPart(); protected: diff --git a/languages/fortran/compiler/pgioptions/pgioptionsfactory.cpp b/languages/fortran/compiler/pgioptions/pgioptionsfactory.cpp index f6c3465e..66a12fbb 100644 --- a/languages/fortran/compiler/pgioptions/pgioptionsfactory.cpp +++ b/languages/fortran/compiler/pgioptions/pgioptionsfactory.cpp @@ -25,8 +25,8 @@ extern "C" { } -PgiOptionsFactory::PgiOptionsFactory(TQObject *tqparent, const char *name) - : KLibFactory(tqparent, name) +PgiOptionsFactory::PgiOptionsFactory(TQObject *parent, const char *name) + : KLibFactory(parent, name) { instance(); } @@ -39,15 +39,15 @@ PgiOptionsFactory::~PgiOptionsFactory() } -TQObject *PgiOptionsFactory::createObject(TQObject *tqparent, const char *name, +TQObject *PgiOptionsFactory::createObject(TQObject *parent, const char *name, const char * /*classname*/, const TQStringList &args) { if (args.count() > 0 && qstrcmp(args[0].latin1(), "pghpf") == 0) { kdDebug(9021) << "Building PgiOptions for PGHPF" << endl; - return new PgiOptionsPlugin(PgiOptionsPlugin::PGHPF, tqparent, name); + return new PgiOptionsPlugin(PgiOptionsPlugin::PGHPF, parent, name); } else if (args.count() > 0 && qstrcmp(args[0].latin1(), "pgf77") == 0) { kdDebug(9021) << "Building PgiOptions for PGF77" << endl; - return new PgiOptionsPlugin(PgiOptionsPlugin::PGF77, tqparent, name); + return new PgiOptionsPlugin(PgiOptionsPlugin::PGF77, parent, name); } else { kdDebug(9021) << "Wrong args for kdevpgioptions library" << endl; if (args.count() > 0) diff --git a/languages/fortran/compiler/pgioptions/pgioptionsfactory.h b/languages/fortran/compiler/pgioptions/pgioptionsfactory.h index e66e0cf2..88030b72 100644 --- a/languages/fortran/compiler/pgioptions/pgioptionsfactory.h +++ b/languages/fortran/compiler/pgioptions/pgioptionsfactory.h @@ -21,10 +21,10 @@ class PgiOptionsFactory : public KLibFactory TQ_OBJECT public: - PgiOptionsFactory( TQObject *tqparent=0, const char *name=0 ); + PgiOptionsFactory( TQObject *parent=0, const char *name=0 ); ~PgiOptionsFactory(); - virtual TQObject* createObject( TQObject *tqparent, const char *name, + virtual TQObject* createObject( TQObject *parent, const char *name, const char *classname, const TQStringList &args); static KInstance *instance(); diff --git a/languages/fortran/compiler/pgioptions/pgioptionsplugin.cpp b/languages/fortran/compiler/pgioptions/pgioptionsplugin.cpp index 113b5abd..c8137575 100644 --- a/languages/fortran/compiler/pgioptions/pgioptionsplugin.cpp +++ b/languages/fortran/compiler/pgioptions/pgioptionsplugin.cpp @@ -75,7 +75,7 @@ const char * const hpf_flags[] = { class GeneralTab : public TQWidget { public: - GeneralTab( TQWidget *tqparent=0, const char *name=0 ); + GeneralTab( TQWidget *parent=0, const char *name=0 ); ~GeneralTab(); void readFlags(TQStringList *str); @@ -86,7 +86,7 @@ public: class OptimizationTab : public TQWidget { public: - OptimizationTab( PgiOptionsPlugin::Type type, TQWidget *tqparent=0, const char *name=0 ); + OptimizationTab( PgiOptionsPlugin::Type type, TQWidget *parent=0, const char *name=0 ); ~OptimizationTab(); void readFlags(TQStringList *str); @@ -101,7 +101,7 @@ private: class HpfTab : public TQWidget { public: - HpfTab( TQWidget *tqparent=0, const char *name=0 ); + HpfTab( TQWidget *parent=0, const char *name=0 ); ~HpfTab(); void readFlags(TQStringList *str); @@ -112,8 +112,8 @@ private: }; -OptimizationTab::OptimizationTab(PgiOptionsPlugin::Type type, TQWidget *tqparent, const char *name) - : TQWidget(tqparent, name) +OptimizationTab::OptimizationTab(PgiOptionsPlugin::Type type, TQWidget *parent, const char *name) + : TQWidget(parent, name) { TQBoxLayout *tqlayout = new TQVBoxLayout(this, KDialog::marginHint(), KDialog::spacingHint()); tqlayout->setAutoAdd(true); @@ -195,8 +195,8 @@ void OptimizationTab::writeFlags(TQStringList *list) } -HpfTab::HpfTab(TQWidget *tqparent, const char *name) - : TQWidget(tqparent, name) +HpfTab::HpfTab(TQWidget *parent, const char *name) + : TQWidget(parent, name) { TQBoxLayout *tqlayout = new TQVBoxLayout(this, KDialog::marginHint(), KDialog::spacingHint()); tqlayout->setAutoAdd(true); @@ -239,9 +239,9 @@ void HpfTab::writeFlags(TQStringList *list) } -PgiOptionsDialog::PgiOptionsDialog(PgiOptionsPlugin::Type type, TQWidget *tqparent, const char *name) +PgiOptionsDialog::PgiOptionsDialog(PgiOptionsPlugin::Type type, TQWidget *parent, const char *name) : KDialogBase(Tabbed, (type == PgiOptionsPlugin::PGHPF)? i18n("PGHPF Compiler Options") : i18n("PGF77 Compiler Options"), - Ok|Cancel, Ok, tqparent, name, true) + Ok|Cancel, Ok, parent, name, true) { TQVBox *vbox; @@ -299,8 +299,8 @@ TQString PgiOptionsDialog::flags() const } -PgiOptionsPlugin::PgiOptionsPlugin(Type type, TQObject *tqparent, const char *name) - : KDevCompilerOptions(tqparent, name) +PgiOptionsPlugin::PgiOptionsPlugin(Type type, TQObject *parent, const char *name) + : KDevCompilerOptions(parent, name) { pgitype = type; } @@ -310,9 +310,9 @@ PgiOptionsPlugin::~PgiOptionsPlugin() {} -TQString PgiOptionsPlugin::exec(TQWidget *tqparent, const TQString &flags) +TQString PgiOptionsPlugin::exec(TQWidget *parent, const TQString &flags) { - PgiOptionsDialog *dlg = new PgiOptionsDialog(pgitype, tqparent, "pgi options dialog"); + PgiOptionsDialog *dlg = new PgiOptionsDialog(pgitype, parent, "pgi options dialog"); TQString newFlags = flags; dlg->setFlags(flags); if (dlg->exec() == TQDialog::Accepted) diff --git a/languages/fortran/compiler/pgioptions/pgioptionsplugin.h b/languages/fortran/compiler/pgioptions/pgioptionsplugin.h index 28392c0d..5022f929 100644 --- a/languages/fortran/compiler/pgioptions/pgioptionsplugin.h +++ b/languages/fortran/compiler/pgioptions/pgioptionsplugin.h @@ -29,10 +29,10 @@ class PgiOptionsPlugin : public KDevCompilerOptions public: enum Type { PGHPF, PGF77 }; - PgiOptionsPlugin( Type type, TQObject *tqparent=0, const char *name=0 ); + PgiOptionsPlugin( Type type, TQObject *parent=0, const char *name=0 ); ~PgiOptionsPlugin(); - virtual TQString exec(TQWidget *tqparent, const TQString &flags); + virtual TQString exec(TQWidget *parent, const TQString &flags); private: Type pgitype; @@ -42,7 +42,7 @@ private: class PgiOptionsDialog : public KDialogBase { public: - PgiOptionsDialog(PgiOptionsPlugin::Type type, TQWidget *tqparent=0, const char *name=0 ); + PgiOptionsDialog(PgiOptionsPlugin::Type type, TQWidget *parent=0, const char *name=0 ); ~PgiOptionsDialog(); void setFlags(const TQString &flags); diff --git a/languages/fortran/fortransupportpart.cpp b/languages/fortran/fortransupportpart.cpp index 3ac3f6e3..f60e9049 100644 --- a/languages/fortran/fortransupportpart.cpp +++ b/languages/fortran/fortransupportpart.cpp @@ -48,8 +48,8 @@ typedef KDevGenericFactory<FortranSupportPart> FortranSupportFactory; static const KDevPluginInfo data("kdevfortransupport"); K_EXPORT_COMPONENT_FACTORY( libkdevfortransupport, FortranSupportFactory( data ) ) -FortranSupportPart::FortranSupportPart(TQObject *tqparent, const char *name, const TQStringList &) - : KDevLanguageSupport(&data, tqparent, name ? name : "FortranSupportPart") +FortranSupportPart::FortranSupportPart(TQObject *parent, const char *name, const TQStringList &) + : KDevLanguageSupport(&data, parent, name ? name : "FortranSupportPart") { setInstance(FortranSupportFactory::instance()); diff --git a/languages/fortran/fortransupportpart.h b/languages/fortran/fortransupportpart.h index 8bd5872b..bf927a7d 100644 --- a/languages/fortran/fortransupportpart.h +++ b/languages/fortran/fortransupportpart.h @@ -26,7 +26,7 @@ class FortranSupportPart : public KDevLanguageSupport TQ_OBJECT public: - FortranSupportPart( TQObject *tqparent, const char *name, const TQStringList & ); + FortranSupportPart( TQObject *parent, const char *name, const TQStringList & ); ~FortranSupportPart(); protected: diff --git a/languages/fortran/ftnchekconfigwidget.cpp b/languages/fortran/ftnchekconfigwidget.cpp index 2fcd7905..286293aa 100644 --- a/languages/fortran/ftnchekconfigwidget.cpp +++ b/languages/fortran/ftnchekconfigwidget.cpp @@ -25,9 +25,9 @@ class FtnchekItem : public TQCheckListItem { public: - FtnchekItem(TQListView *tqparent, const TQString &flagstr, + FtnchekItem(TQListView *parent, const TQString &flagstr, const TQString &description) - : TQCheckListItem(tqparent, flagstr, TQCheckListItem::CheckBox), + : TQCheckListItem(parent, flagstr, TQCheckListItem::CheckBox), flag(flagstr), desc(description) { setText(1, desc); @@ -73,8 +73,8 @@ void FtnchekItem::writeFlagsFromListView(TQListView *listview, TQStringList *lis class FtnchekToolTip : public TQToolTip { public: - FtnchekToolTip(TQWidget *tqparent) - : TQToolTip(tqparent) + FtnchekToolTip(TQWidget *parent) + : TQToolTip(parent) {} protected: void maybeTip(const TQPoint &pos) @@ -147,8 +147,8 @@ const char *portability_flags[] = { }; -FtnchekConfigWidget::FtnchekConfigWidget(TQDomDocument &projectDom, TQWidget *tqparent, const char *name) - : FtnchekConfigWidgetBase(tqparent, name), dom(projectDom) +FtnchekConfigWidget::FtnchekConfigWidget(TQDomDocument &projectDom, TQWidget *parent, const char *name) + : FtnchekConfigWidgetBase(parent, name), dom(projectDom) { arguments_group = new TQButtonGroup; arguments_group->insert(argumentsall_button); diff --git a/languages/fortran/ftnchekconfigwidget.h b/languages/fortran/ftnchekconfigwidget.h index 78cdd93e..ac4afcc0 100644 --- a/languages/fortran/ftnchekconfigwidget.h +++ b/languages/fortran/ftnchekconfigwidget.h @@ -23,7 +23,7 @@ class FtnchekConfigWidget : public FtnchekConfigWidgetBase TQ_OBJECT public: - FtnchekConfigWidget(TQDomDocument &projectDom, TQWidget *tqparent, const char *name); + FtnchekConfigWidget(TQDomDocument &projectDom, TQWidget *parent, const char *name); ~FtnchekConfigWidget(); public slots: diff --git a/languages/java/app_templates/kappjava/appview.java b/languages/java/app_templates/kappjava/appview.java index 0a25ea22..fc25a273 100644 --- a/languages/java/app_templates/kappjava/appview.java +++ b/languages/java/app_templates/kappjava/appview.java @@ -22,9 +22,9 @@ public class %{APPNAME}View extends QWidget QHBoxLayout top_layout; -public %{APPNAME}View(QWidget tqparent) +public %{APPNAME}View(QWidget parent) { - super(tqparent, null); + super(parent, null); // setup our tqlayout manager to automatically add our widgets top_layout = new QHBoxLayout(this); top_layout.setAutoAdd(true); diff --git a/languages/java/app_templates/kappjava/pref.java b/languages/java/app_templates/kappjava/pref.java index 4ba240f9..48e1ca6a 100644 --- a/languages/java/app_templates/kappjava/pref.java +++ b/languages/java/app_templates/kappjava/pref.java @@ -28,9 +28,9 @@ public %{APPNAME}Preferences() } public class %{APPNAME}PrefPageOne extends QFrame { -public %{APPNAME}PrefPageOne(QWidget tqparent) +public %{APPNAME}PrefPageOne(QWidget parent) { - super(tqparent); + super(parent); QHBoxLayout tqlayout = new QHBoxLayout(this); tqlayout.setAutoAdd(true); @@ -39,9 +39,9 @@ public %{APPNAME}PrefPageOne(QWidget tqparent) } public class %{APPNAME}PrefPageTwo extends QFrame { -public %{APPNAME}PrefPageTwo(QWidget tqparent) +public %{APPNAME}PrefPageTwo(QWidget parent) { - super(tqparent); + super(parent); QHBoxLayout tqlayout = new QHBoxLayout(this); tqlayout.setAutoAdd(true); diff --git a/languages/java/javasupportpart.cpp b/languages/java/javasupportpart.cpp index 68a22250..258d7cc6 100644 --- a/languages/java/javasupportpart.cpp +++ b/languages/java/javasupportpart.cpp @@ -118,8 +118,8 @@ public: } }; -JavaSupportPart::JavaSupportPart(TQObject *tqparent, const char *name, const TQStringList &/*args*/) - : KDevLanguageSupport(JavaSupportFactory::info(), tqparent, name ? name : "KDevJavaSupport"), +JavaSupportPart::JavaSupportPart(TQObject *parent, const char *name, const TQStringList &/*args*/) + : KDevLanguageSupport(JavaSupportFactory::info(), parent, name ? name : "KDevJavaSupport"), m_activeDocument( 0 ), m_activeView( 0 ), m_activeSelection( 0 ), m_activeEditor( 0 ), m_activeViewCursor( 0 ), m_projectClosed( true ), m_valid( false ) { diff --git a/languages/java/javasupportpart.h b/languages/java/javasupportpart.h index 4b624c80..54a8cee4 100644 --- a/languages/java/javasupportpart.h +++ b/languages/java/javasupportpart.h @@ -52,7 +52,7 @@ class JavaSupportPart : public KDevLanguageSupport TQ_OBJECT public: - JavaSupportPart( TQObject *tqparent, const char *name, const TQStringList &args ); + JavaSupportPart( TQObject *parent, const char *name, const TQStringList &args ); virtual ~JavaSupportPart(); bool isValid() const { return m_valid; } diff --git a/languages/java/problemreporter.cpp b/languages/java/problemreporter.cpp index d2237ad3..f2d655b0 100644 --- a/languages/java/problemreporter.cpp +++ b/languages/java/problemreporter.cpp @@ -54,13 +54,13 @@ class ProblemItem: public KListViewItem { public: - ProblemItem( TQListView* tqparent, const TQString& level, const TQString& problem, + ProblemItem( TQListView* parent, const TQString& level, const TQString& problem, const TQString& file, const TQString& line, const TQString& column ) - : KListViewItem( tqparent, level, problem, file, line, column ) {} + : KListViewItem( parent, level, problem, file, line, column ) {} - ProblemItem( TQListViewItem* tqparent, const TQString& level, const TQString& problem, + ProblemItem( TQListViewItem* parent, const TQString& level, const TQString& problem, const TQString& file, const TQString& line, const TQString& column ) - : KListViewItem( tqparent, level, problem, file, line, column ) {} + : KListViewItem( parent, level, problem, file, line, column ) {} int compare( TQListViewItem* item, int column, bool ascending ) const { if( column == 2 || column == 3 ){ @@ -75,8 +75,8 @@ public: }; -ProblemReporter::ProblemReporter( JavaSupportPart* part, TQWidget* tqparent, const char* name ) - : KListView( tqparent, name ? name : "problemreporter" ), +ProblemReporter::ProblemReporter( JavaSupportPart* part, TQWidget* parent, const char* name ) + : KListView( parent, name ? name : "problemreporter" ), m_javaSupport( part ), m_document( 0 ), m_markIface( 0 ) diff --git a/languages/java/problemreporter.h b/languages/java/problemreporter.h index 4ac7876d..67230aa2 100644 --- a/languages/java/problemreporter.h +++ b/languages/java/problemreporter.h @@ -40,7 +40,7 @@ class ProblemReporter: public KListView{ Q_OBJECT TQ_OBJECT public: - ProblemReporter( JavaSupportPart* part, TQWidget* tqparent=0, const char* name=0 ); + ProblemReporter( JavaSupportPart* part, TQWidget* parent=0, const char* name=0 ); virtual ~ProblemReporter(); void removeAllProblems( const TQString& filename ); diff --git a/languages/kjssupport/jscodecompletion.cpp b/languages/kjssupport/jscodecompletion.cpp index 6d290532..5717858a 100644 --- a/languages/kjssupport/jscodecompletion.cpp +++ b/languages/kjssupport/jscodecompletion.cpp @@ -37,8 +37,8 @@ #include <kdevelop/domutil.h> #include <kdevelop/codemodel.h> -JSCodeCompletion::JSCodeCompletion(TQObject *tqparent, const char *name) - : TQObject(tqparent, name) +JSCodeCompletion::JSCodeCompletion(TQObject *parent, const char *name) + : TQObject(parent, name) { m_argWidgetShow = false; m_completionBoxShow=false; diff --git a/languages/kjssupport/jscodecompletion.h b/languages/kjssupport/jscodecompletion.h index 4586836f..3cad550c 100644 --- a/languages/kjssupport/jscodecompletion.h +++ b/languages/kjssupport/jscodecompletion.h @@ -31,7 +31,7 @@ class JSCodeCompletion : public TQObject Q_OBJECT TQ_OBJECT public: - JSCodeCompletion(TQObject *tqparent = 0, const char *name = 0); + JSCodeCompletion(TQObject *parent = 0, const char *name = 0); ~JSCodeCompletion(); void setActiveEditorPart(KParts::Part* editorPart); diff --git a/languages/kjssupport/kjsproblems.cpp b/languages/kjssupport/kjsproblems.cpp index 318ff44e..31882e7c 100644 --- a/languages/kjssupport/kjsproblems.cpp +++ b/languages/kjssupport/kjsproblems.cpp @@ -23,14 +23,14 @@ class KJSProblemItem: public KListViewItem { public: - KJSProblemItem( TQListView* tqparent, const TQString& level, const TQString& problem, + KJSProblemItem( TQListView* parent, const TQString& level, const TQString& problem, const TQString& file, const TQString& line, const TQString& column ) - : KListViewItem( tqparent, level, problem, file, line, column ) + : KListViewItem( parent, level, problem, file, line, column ) {} - KJSProblemItem( TQListViewItem* tqparent, const TQString& level, const TQString& problem, + KJSProblemItem( TQListViewItem* parent, const TQString& level, const TQString& problem, const TQString& file, const TQString& line, const TQString& column ) - : KListViewItem( tqparent, level, problem, file, line, column ) + : KListViewItem( parent, level, problem, file, line, column ) {} int compare( TQListViewItem* item, int column, bool ascending ) const @@ -48,7 +48,7 @@ class KJSProblemItem: public KListViewItem }; -KJSProblems::KJSProblems(kjsSupportPart *part, TQWidget *tqparent, const char *name) : KListView(tqparent,name), m_part(part) +KJSProblems::KJSProblems(kjsSupportPart *part, TQWidget *parent, const char *name) : KListView(parent,name), m_part(part) { addColumn ("File"); addColumn ("Line #"); diff --git a/languages/kjssupport/kjsproblems.h b/languages/kjssupport/kjsproblems.h index 8c5d37a1..849b68d5 100644 --- a/languages/kjssupport/kjsproblems.h +++ b/languages/kjssupport/kjsproblems.h @@ -31,7 +31,7 @@ Q_OBJECT TQ_OBJECT public: - KJSProblems(kjsSupportPart *part, TQWidget *tqparent = 0L, const char *name = 0L); + KJSProblems(kjsSupportPart *part, TQWidget *parent = 0L, const char *name = 0L); ~KJSProblems(); void clearItems(); diff --git a/languages/kjssupport/kjssupport_part.cpp b/languages/kjssupport/kjssupport_part.cpp index 2c894b17..44a3659b 100644 --- a/languages/kjssupport/kjssupport_part.cpp +++ b/languages/kjssupport/kjssupport_part.cpp @@ -62,8 +62,8 @@ class typeProperty int depth; }; -kjsSupportPart::kjsSupportPart(TQObject *tqparent, const char *name, const TQStringList& ) -: KDevLanguageSupport(&data, tqparent, name ? name : "kjsSupportPart" ) +kjsSupportPart::kjsSupportPart(TQObject *parent, const char *name, const TQStringList& ) +: KDevLanguageSupport(&data, parent, name ? name : "kjsSupportPart" ) { setInstance(kjsSupportFactory::instance()); setXMLFile("kdevkjssupport.rc"); diff --git a/languages/kjssupport/kjssupport_part.h b/languages/kjssupport/kjssupport_part.h index 3ea2b5da..dc279f1f 100644 --- a/languages/kjssupport/kjssupport_part.h +++ b/languages/kjssupport/kjssupport_part.h @@ -48,7 +48,7 @@ class kjsSupportPart : public KDevLanguageSupport Q_OBJECT TQ_OBJECT public: - kjsSupportPart(TQObject *tqparent, const char *name, const TQStringList &); + kjsSupportPart(TQObject *parent, const char *name, const TQStringList &); ~kjsSupportPart(); protected: virtual Features features(); diff --git a/languages/kjssupport/subclassingdlg.cpp b/languages/kjssupport/subclassingdlg.cpp index a4697569..a4052064 100644 --- a/languages/kjssupport/subclassingdlg.cpp +++ b/languages/kjssupport/subclassingdlg.cpp @@ -53,11 +53,11 @@ #define SLOT_HELP SlotItem(m_slotView,"help()","virtual","protected","void",false,true) -SlotItem::SlotItem(TQListView *tqparent,const TQString &methodName, +SlotItem::SlotItem(TQListView *parent,const TQString &methodName, const TQString &specifier, const TQString &access, const TQString &returnType, bool isFunc,bool callBaseClass) -: TQCheckListItem(tqparent,methodName,TQCheckListItem::CheckBox) +: TQCheckListItem(parent,methodName,TQCheckListItem::CheckBox) { setOn(true); m_methodName = methodName; @@ -94,8 +94,8 @@ void SlotItem::setAllreadyInSubclass() SubclassingDlg::SubclassingDlg(kjsSupportPart* kjsSupport, const TQString &formFile,TQStringList &newFileNames, - TQWidget* tqparent, const char* name,bool modal, WFlags fl) -: SubclassingDlgBase(tqparent,name,modal,fl), + TQWidget* parent, const char* name,bool modal, WFlags fl) +: SubclassingDlgBase(parent,name,modal,fl), m_newFileNames(newFileNames), m_kjsSupport( kjsSupport ) //================================================= { @@ -116,8 +116,8 @@ m_newFileNames(newFileNames), m_kjsSupport( kjsSupport ) /*SubclassingDlg::SubclassingDlg(kjsSupportPart* kjsSupport, const TQString &formFile,const TQString &filename,TQStringList &dummy, - TQWidget* tqparent, const char* name,bool modal, WFlags fl) -: SubclassingDlgBase(tqparent,name,modal,fl), + TQWidget* parent, const char* name,bool modal, WFlags fl) +: SubclassingDlgBase(parent,name,modal,fl), m_newFileNames(dummy), m_kjsSupport( kjsSupport ) //================================================= { diff --git a/languages/kjssupport/subclassingdlg.h b/languages/kjssupport/subclassingdlg.h index b6836037..651120b0 100644 --- a/languages/kjssupport/subclassingdlg.h +++ b/languages/kjssupport/subclassingdlg.h @@ -23,7 +23,7 @@ class kjsSupportPart; class SlotItem : public TQCheckListItem { public: - SlotItem(TQListView *tqparent,const TQString &text, + SlotItem(TQListView *parent,const TQString &text, const TQString &specifier, const TQString &Access, const TQString &returnType,bool isFunc, bool callBaseClass=false); @@ -42,10 +42,10 @@ class SubclassingDlg : public SubclassingDlgBase { public: SubclassingDlg(kjsSupportPart* kjsSupport, const TQString &formFile,TQStringList &newFileNames, - TQWidget* tqparent = 0, const char* name = 0, + TQWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 ); /* SubclassingDlg(CppSupportPart* kjsSupport, const TQString &formFile,const TQString &filename,TQStringList &dummy, - TQWidget* tqparent = 0, const char* name = 0, + TQWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 );*/ ~SubclassingDlg(); diff --git a/languages/lib/debugger/kdevdebugger.cpp b/languages/lib/debugger/kdevdebugger.cpp index 416f567c..b9ee4a05 100644 --- a/languages/lib/debugger/kdevdebugger.cpp +++ b/languages/lib/debugger/kdevdebugger.cpp @@ -19,8 +19,8 @@ */ #include "kdevdebugger.h" -KDevDebugger::KDevDebugger(TQObject *tqparent, const char *name) - : TQObject(tqparent, name) +KDevDebugger::KDevDebugger(TQObject *parent, const char *name) + : TQObject(parent, name) { } diff --git a/languages/lib/debugger/kdevdebugger.h b/languages/lib/debugger/kdevdebugger.h index f1e50987..dda58aeb 100644 --- a/languages/lib/debugger/kdevdebugger.h +++ b/languages/lib/debugger/kdevdebugger.h @@ -38,7 +38,7 @@ class KDevDebugger : public TQObject public: - KDevDebugger(TQObject *tqparent=0, const char *name=0); + KDevDebugger(TQObject *parent=0, const char *name=0); ~KDevDebugger(); /** diff --git a/languages/lib/designer_integration/implementationwidget.cpp b/languages/lib/designer_integration/implementationwidget.cpp index 6198f9bc..d9a3d6a7 100644 --- a/languages/lib/designer_integration/implementationwidget.cpp +++ b/languages/lib/designer_integration/implementationwidget.cpp @@ -40,10 +40,10 @@ namespace ImplUtils{ class ClassItem: public KListViewItem{ public: - ClassItem(KListViewItem *tqparent, ClassDom dom) - :KListViewItem(tqparent, dom->name(), dom->fileName()), m_dom(dom) { setOpen(true); } - ClassItem(KListView *tqparent, ClassDom dom) - :KListViewItem(tqparent, dom->name(), dom->fileName()), m_dom(dom) { setOpen(true); } + ClassItem(KListViewItem *parent, ClassDom dom) + :KListViewItem(parent, dom->name(), dom->fileName()), m_dom(dom) { setOpen(true); } + ClassItem(KListView *parent, ClassDom dom) + :KListViewItem(parent, dom->name(), dom->fileName()), m_dom(dom) { setOpen(true); } ClassDom dom() const { return m_dom; } private: ClassDom m_dom; @@ -51,18 +51,18 @@ private: class NamespaceItem: public KListViewItem{ public: - NamespaceItem(KListViewItem *tqparent, NamespaceDom dom) - :KListViewItem(tqparent, dom->name(), dom->fileName()), m_dom(dom) { setOpen(true); } - NamespaceItem(KListView *tqparent, NamespaceDom dom) - :KListViewItem(tqparent, dom->name(), dom->fileName()), m_dom(dom) { setOpen(true); } + NamespaceItem(KListViewItem *parent, NamespaceDom dom) + :KListViewItem(parent, dom->name(), dom->fileName()), m_dom(dom) { setOpen(true); } + NamespaceItem(KListView *parent, NamespaceDom dom) + :KListViewItem(parent, dom->name(), dom->fileName()), m_dom(dom) { setOpen(true); } NamespaceDom dom() const { return m_dom; } private: NamespaceDom m_dom; }; } -ImplementationWidget::ImplementationWidget(KDevLanguageSupport *part, TQWidget* tqparent, const char* name, bool modal) - :CreateImplemenationWidgetBase(tqparent, name, modal), m_part(part) +ImplementationWidget::ImplementationWidget(KDevLanguageSupport *part, TQWidget* parent, const char* name, bool modal) + :CreateImplemenationWidgetBase(parent, name, modal), m_part(part) { } @@ -84,21 +84,21 @@ void ImplementationWidget::init(const TQString &formName) processNamespaces(m_part->codeModel()->globalNamespace(), item); } -void ImplementationWidget::processNamespaces(NamespaceDom dom, KListViewItem *tqparent) +void ImplementationWidget::processNamespaces(NamespaceDom dom, KListViewItem *parent) { const NamespaceList nslist = dom->namespaceList(); for (NamespaceList::const_iterator it = nslist.begin(); it != nslist.end(); ++it) - processNamespaces(*it, new ImplUtils::NamespaceItem(tqparent, *it)); + processNamespaces(*it, new ImplUtils::NamespaceItem(parent, *it)); const ClassList cllist = dom->classList(); for (ClassList::ConstIterator it = cllist.begin(); it != cllist.end(); ++it) - processClasses(*it, new ImplUtils::ClassItem(tqparent, *it)); + processClasses(*it, new ImplUtils::ClassItem(parent, *it)); } -void ImplementationWidget::processClasses(ClassDom dom, KListViewItem *tqparent) +void ImplementationWidget::processClasses(ClassDom dom, KListViewItem *parent) { const ClassList cllist = dom->classList(); for (ClassList::ConstIterator it = cllist.begin(); it != cllist.end(); ++it) - processClasses(*it, new ImplUtils::ClassItem(tqparent, *it)); + processClasses(*it, new ImplUtils::ClassItem(parent, *it)); } ImplementationWidget::~ImplementationWidget() diff --git a/languages/lib/designer_integration/implementationwidget.h b/languages/lib/designer_integration/implementationwidget.h index 91f93228..83b84bb4 100644 --- a/languages/lib/designer_integration/implementationwidget.h +++ b/languages/lib/designer_integration/implementationwidget.h @@ -42,7 +42,7 @@ class ImplementationWidget : public CreateImplemenationWidgetBase Q_OBJECT TQ_OBJECT public: - ImplementationWidget(KDevLanguageSupport *part, TQWidget* tqparent = 0, const char* name = 0, bool modal = false); + ImplementationWidget(KDevLanguageSupport *part, TQWidget* parent = 0, const char* name = 0, bool modal = false); virtual ~ImplementationWidget(); /*$PUBLIC_FUNCTIONS$*/ @@ -61,8 +61,8 @@ protected: the number of classes being displayed as possible implementation classes.*/ void init(const TQString &formName); - void processNamespaces(NamespaceDom dom, KListViewItem *tqparent); - void processClasses(ClassDom dom, KListViewItem *tqparent); + void processNamespaces(NamespaceDom dom, KListViewItem *parent); + void processClasses(ClassDom dom, KListViewItem *parent); /**Creates a class and adds it to a project. No need to reimplement.*/ bool createClass(); diff --git a/languages/lib/interfaces/kdevpcsimporter.cpp b/languages/lib/interfaces/kdevpcsimporter.cpp index 457c131f..c4b4e664 100644 --- a/languages/lib/interfaces/kdevpcsimporter.cpp +++ b/languages/lib/interfaces/kdevpcsimporter.cpp @@ -20,8 +20,8 @@ #include "kdevpcsimporter.h" #include "kdevpcsimporter.moc" -KDevPCSImporter::KDevPCSImporter( TQObject * tqparent, const char * name ) - : TQObject( tqparent, name ) +KDevPCSImporter::KDevPCSImporter( TQObject * parent, const char * name ) + : TQObject( parent, name ) { } @@ -29,7 +29,7 @@ KDevPCSImporter::~ KDevPCSImporter( ) { } -TQWidget * KDevPCSImporter::createSettingsPage( TQWidget * /*tqparent*/, const char * /*name*/ ) +TQWidget * KDevPCSImporter::createSettingsPage( TQWidget * /*parent*/, const char * /*name*/ ) { return 0; } diff --git a/languages/lib/interfaces/kdevpcsimporter.h b/languages/lib/interfaces/kdevpcsimporter.h index 37547252..7253a30b 100644 --- a/languages/lib/interfaces/kdevpcsimporter.h +++ b/languages/lib/interfaces/kdevpcsimporter.h @@ -37,14 +37,14 @@ class KDevPCSImporter: public TQObject Q_OBJECT TQ_OBJECT public: - KDevPCSImporter( TQObject* tqparent=0, const char* name=0 ); + KDevPCSImporter( TQObject* parent=0, const char* name=0 ); virtual ~KDevPCSImporter(); virtual TQString dbName() const = 0; virtual TQStringList includePaths() = 0; virtual TQStringList fileList() = 0; - virtual TQWidget* createSettingsPage( TQWidget* tqparent, const char* name=0 ); + virtual TQWidget* createSettingsPage( TQWidget* parent, const char* name=0 ); }; #endif // KDEVPCSIMPORTER_H diff --git a/languages/pascal/compiler/dccoptions/dccoptionsplugin.cpp b/languages/pascal/compiler/dccoptions/dccoptionsplugin.cpp index d1ed9aec..9738e3c9 100644 --- a/languages/pascal/compiler/dccoptions/dccoptionsplugin.cpp +++ b/languages/pascal/compiler/dccoptions/dccoptionsplugin.cpp @@ -21,8 +21,8 @@ K_EXPORT_COMPONENT_FACTORY( libkdevdccoptions, KGenericFactory<DccOptionsPlugin>( "kdevdccoptions" ) ) -DccOptionsPlugin::DccOptionsPlugin(TQObject *tqparent, const char *name, const TQStringList/* &args*/) - : KDevCompilerOptions(tqparent, name) +DccOptionsPlugin::DccOptionsPlugin(TQObject *parent, const char *name, const TQStringList/* &args*/) + : KDevCompilerOptions(parent, name) { } @@ -30,9 +30,9 @@ DccOptionsPlugin::~DccOptionsPlugin() { } -TQString DccOptionsPlugin::exec(TQWidget *tqparent, const TQString &flags) +TQString DccOptionsPlugin::exec(TQWidget *parent, const TQString &flags) { - DccOptionsDialog *dlg = new DccOptionsDialog(tqparent, "dcc options dialog"); + DccOptionsDialog *dlg = new DccOptionsDialog(parent, "dcc options dialog"); TQString newFlags = flags; dlg->setFlags(flags); if(dlg->exec() == TQDialog::Accepted) @@ -42,8 +42,8 @@ TQString DccOptionsPlugin::exec(TQWidget *tqparent, const TQString &flags) } -DccOptionsDialog::DccOptionsDialog( TQWidget * tqparent, const char * name ) - : KDialogBase(Tabbed, i18n("Delphi Compiler Options"), Ok|Cancel, Ok, tqparent, name, true) +DccOptionsDialog::DccOptionsDialog( TQWidget * parent, const char * name ) + : KDialogBase(Tabbed, i18n("Delphi Compiler Options"), Ok|Cancel, Ok, parent, name, true) { TQVBox *vbox; diff --git a/languages/pascal/compiler/dccoptions/dccoptionsplugin.h b/languages/pascal/compiler/dccoptions/dccoptionsplugin.h index e428a73d..08cdca7f 100644 --- a/languages/pascal/compiler/dccoptions/dccoptionsplugin.h +++ b/languages/pascal/compiler/dccoptions/dccoptionsplugin.h @@ -21,10 +21,10 @@ class DccOptionsPlugin : public KDevCompilerOptions TQ_OBJECT public: - DccOptionsPlugin( TQObject *tqparent, const char *name, const TQStringList/* &args */); + DccOptionsPlugin( TQObject *parent, const char *name, const TQStringList/* &args */); ~DccOptionsPlugin(); - virtual TQString exec(TQWidget *tqparent, const TQString &flags); + virtual TQString exec(TQWidget *parent, const TQString &flags); }; class GeneralTab; @@ -37,7 +37,7 @@ class DebugOptimTab; class DccOptionsDialog : public KDialogBase { public: - DccOptionsDialog( TQWidget *tqparent=0, const char *name=0 ); + DccOptionsDialog( TQWidget *parent=0, const char *name=0 ); ~DccOptionsDialog(); void setFlags(const TQString &flags); diff --git a/languages/pascal/compiler/dccoptions/optiontabs.cpp b/languages/pascal/compiler/dccoptions/optiontabs.cpp index facb96f9..58025ad6 100644 --- a/languages/pascal/compiler/dccoptions/optiontabs.cpp +++ b/languages/pascal/compiler/dccoptions/optiontabs.cpp @@ -21,8 +21,8 @@ #include "optiontabs.h" -LinkerTab::LinkerTab( TQWidget * tqparent, const char * name ) - : TQWidget(tqparent, name), radioController(new FlagRadioButtonController()), +LinkerTab::LinkerTab( TQWidget * parent, const char * name ) + : TQWidget(parent, name), radioController(new FlagRadioButtonController()), pathController(new FlagPathEditController()), editController(new FlagEditController()) { @@ -77,8 +77,8 @@ void LinkerTab::writeFlags( TQStringList * str ) -LocationsTab::LocationsTab( TQWidget * tqparent, const char * name ) - :TQWidget(tqparent, name), pathController(new FlagPathEditController()) +LocationsTab::LocationsTab( TQWidget * parent, const char * name ) + :TQWidget(parent, name), pathController(new FlagPathEditController()) { TQBoxLayout *tqlayout = new TQVBoxLayout(this, KDialog::marginHint(), KDialog::spacingHint()); tqlayout->setAutoAdd(true); @@ -112,8 +112,8 @@ void LocationsTab::writeFlags( TQStringList * str ) -Locations2Tab::Locations2Tab( TQWidget * tqparent, const char * name ) - :TQWidget(tqparent, name), pathController(new FlagPathEditController()) +Locations2Tab::Locations2Tab( TQWidget * parent, const char * name ) + :TQWidget(parent, name), pathController(new FlagPathEditController()) { TQBoxLayout *tqlayout = new TQVBoxLayout(this, KDialog::marginHint(), KDialog::spacingHint()); tqlayout->setAutoAdd(true); @@ -147,8 +147,8 @@ void Locations2Tab::writeFlags( TQStringList * str ) -GeneralTab::GeneralTab( TQWidget * tqparent, const char * name ) - :TQWidget(tqparent, name), controller(new FlagCheckBoxController()), +GeneralTab::GeneralTab( TQWidget * parent, const char * name ) + :TQWidget(parent, name), controller(new FlagCheckBoxController()), editController(new FlagEditController()) { TQBoxLayout *tqlayout = new TQVBoxLayout(this, KDialog::marginHint(), KDialog::spacingHint()); @@ -210,8 +210,8 @@ void GeneralTab::writeFlags( TQStringList * str ) -CodegenTab::CodegenTab( TQWidget * tqparent, const char * name ) - :TQWidget(tqparent, name), controller(new FlagCheckBoxController()), +CodegenTab::CodegenTab( TQWidget * parent, const char * name ) + :TQWidget(parent, name), controller(new FlagCheckBoxController()), listController(new FlagEditController()), radioController(new FlagRadioButtonController()) { @@ -308,8 +308,8 @@ void CodegenTab::writeFlags( TQStringList * str ) -DebugOptimTab::DebugOptimTab( TQWidget * tqparent, const char * name ) - : TQWidget(tqparent, name), controller(new FlagCheckBoxController()), +DebugOptimTab::DebugOptimTab( TQWidget * parent, const char * name ) + : TQWidget(parent, name), controller(new FlagCheckBoxController()), radioController(new FlagRadioButtonController) { TQBoxLayout *tqlayout = new TQVBoxLayout(this, KDialog::marginHint(), KDialog::spacingHint()); diff --git a/languages/pascal/compiler/dccoptions/optiontabs.h b/languages/pascal/compiler/dccoptions/optiontabs.h index d96ec71d..beb61a1f 100644 --- a/languages/pascal/compiler/dccoptions/optiontabs.h +++ b/languages/pascal/compiler/dccoptions/optiontabs.h @@ -23,7 +23,7 @@ class FlagCheckBox; class LinkerTab : public TQWidget { public: - LinkerTab( TQWidget *tqparent=0, const char *name=0 ); + LinkerTab( TQWidget *parent=0, const char *name=0 ); ~LinkerTab(); void readFlags(TQStringList *str); @@ -38,7 +38,7 @@ private: class LocationsTab : public TQWidget { public: - LocationsTab( TQWidget *tqparent=0, const char *name=0 ); + LocationsTab( TQWidget *parent=0, const char *name=0 ); ~LocationsTab(); void readFlags(TQStringList *str); @@ -51,7 +51,7 @@ private: class Locations2Tab : public TQWidget { public: - Locations2Tab( TQWidget *tqparent=0, const char *name=0 ); + Locations2Tab( TQWidget *parent=0, const char *name=0 ); ~Locations2Tab(); void readFlags(TQStringList *str); @@ -64,7 +64,7 @@ private: class GeneralTab: public TQWidget { public: - GeneralTab( TQWidget *tqparent=0, const char *name=0 ); + GeneralTab( TQWidget *parent=0, const char *name=0 ); ~GeneralTab(); void readFlags(TQStringList *str); @@ -78,7 +78,7 @@ private: class CodegenTab : public TQWidget { public: - CodegenTab( TQWidget *tqparent=0, const char *name=0 ); + CodegenTab( TQWidget *parent=0, const char *name=0 ); ~CodegenTab(); void readFlags(TQStringList *str); @@ -95,7 +95,7 @@ class DebugOptimTab : public TQWidget Q_OBJECT TQ_OBJECT public: - DebugOptimTab( TQWidget *tqparent=0, const char *name=0 ); + DebugOptimTab( TQWidget *parent=0, const char *name=0 ); ~DebugOptimTab(); void readFlags(TQStringList *str); diff --git a/languages/pascal/compiler/fpcoptions/fpcoptionsplugin.cpp b/languages/pascal/compiler/fpcoptions/fpcoptionsplugin.cpp index edcadaee..567d5c86 100644 --- a/languages/pascal/compiler/fpcoptions/fpcoptionsplugin.cpp +++ b/languages/pascal/compiler/fpcoptions/fpcoptionsplugin.cpp @@ -18,8 +18,8 @@ K_EXPORT_COMPONENT_FACTORY( libkdevfpcoptions, KGenericFactory<FpcOptionsPlugin>( "kdevfpcoptions" ) ) -FpcOptionsPlugin::FpcOptionsPlugin(TQObject *tqparent, const char *name, const TQStringList& /*args*/) - : KDevCompilerOptions(tqparent, name) +FpcOptionsPlugin::FpcOptionsPlugin(TQObject *parent, const char *name, const TQStringList& /*args*/) + : KDevCompilerOptions(parent, name) { } @@ -27,9 +27,9 @@ FpcOptionsPlugin::~FpcOptionsPlugin() { } -TQString FpcOptionsPlugin::exec(TQWidget *tqparent, const TQString &flags) +TQString FpcOptionsPlugin::exec(TQWidget *parent, const TQString &flags) { - FpcOptionsDialog *dlg = new FpcOptionsDialog(tqparent, "fpc options dialog"); + FpcOptionsDialog *dlg = new FpcOptionsDialog(parent, "fpc options dialog"); TQString newFlags = flags; dlg->setFlags(flags); if (dlg->exec() == TQDialog::Accepted) @@ -40,8 +40,8 @@ TQString FpcOptionsPlugin::exec(TQWidget *tqparent, const TQString &flags) -FpcOptionsDialog::FpcOptionsDialog( TQWidget *tqparent, const char *name ) - : KDialogBase(Tabbed, i18n("Free Pascal Compiler Options"), Ok|Cancel, Ok, tqparent, name, true) +FpcOptionsDialog::FpcOptionsDialog( TQWidget *parent, const char *name ) + : KDialogBase(Tabbed, i18n("Free Pascal Compiler Options"), Ok|Cancel, Ok, parent, name, true) { TQVBox *vbox; diff --git a/languages/pascal/compiler/fpcoptions/fpcoptionsplugin.h b/languages/pascal/compiler/fpcoptions/fpcoptionsplugin.h index 6d450569..c42f70b8 100644 --- a/languages/pascal/compiler/fpcoptions/fpcoptionsplugin.h +++ b/languages/pascal/compiler/fpcoptions/fpcoptionsplugin.h @@ -21,10 +21,10 @@ class FpcOptionsPlugin : public KDevCompilerOptions TQ_OBJECT public: - FpcOptionsPlugin( TQObject *tqparent, const char *name, const TQStringList &args ); + FpcOptionsPlugin( TQObject *parent, const char *name, const TQStringList &args ); ~FpcOptionsPlugin(); - virtual TQString exec(TQWidget *tqparent, const TQString &flags); + virtual TQString exec(TQWidget *parent, const TQString &flags); }; @@ -36,7 +36,7 @@ class CodegenTab; class FpcOptionsDialog : public KDialogBase { public: - FpcOptionsDialog( TQWidget *tqparent=0, const char *name=0 ); + FpcOptionsDialog( TQWidget *parent=0, const char *name=0 ); ~FpcOptionsDialog(); void setFlags(const TQString &flags); diff --git a/languages/pascal/compiler/fpcoptions/optiontabs.cpp b/languages/pascal/compiler/fpcoptions/optiontabs.cpp index 5c46ac24..5dd69349 100644 --- a/languages/pascal/compiler/fpcoptions/optiontabs.cpp +++ b/languages/pascal/compiler/fpcoptions/optiontabs.cpp @@ -23,8 +23,8 @@ #include "optiontabs.h" -FeedbackTab::FeedbackTab(TQWidget *tqparent, const char *name) - : TQWidget(tqparent, name), controller(new FlagCheckBoxController(TQStringList::split(",","-v"))) +FeedbackTab::FeedbackTab(TQWidget *parent, const char *name) + : TQWidget(parent, name), controller(new FlagCheckBoxController(TQStringList::split(",","-v"))) { TQBoxLayout *tqlayout = new TQVBoxLayout(this, KDialog::marginHint(), KDialog::spacingHint()); tqlayout->setAutoAdd(true); @@ -94,8 +94,8 @@ void FeedbackTab::writeFlags(TQStringList *list) -FilesAndDirectoriesTab::FilesAndDirectoriesTab( TQWidget * tqparent, const char * name ) - :TQWidget(tqparent, name), controller(new FlagCheckBoxController()), +FilesAndDirectoriesTab::FilesAndDirectoriesTab( TQWidget * parent, const char * name ) + :TQWidget(parent, name), controller(new FlagCheckBoxController()), pathController(new FlagPathEditController()) { TQBoxLayout *tqlayout = new TQVBoxLayout(this, KDialog::marginHint(), KDialog::spacingHint()); @@ -131,8 +131,8 @@ void FilesAndDirectoriesTab::writeFlags( TQStringList * str ) pathController->writeFlags(str); } -FilesAndDirectoriesTab2::FilesAndDirectoriesTab2( TQWidget * tqparent, const char * name ) - :TQWidget(tqparent, name), controller(new FlagCheckBoxController()), +FilesAndDirectoriesTab2::FilesAndDirectoriesTab2( TQWidget * parent, const char * name ) + :TQWidget(parent, name), controller(new FlagCheckBoxController()), pathController(new FlagPathEditController()) { TQBoxLayout *tqlayout = new TQVBoxLayout(this, KDialog::marginHint(), KDialog::spacingHint()); @@ -182,8 +182,8 @@ void FilesAndDirectoriesTab2::writeFlags( TQStringList * str ) } -LanguageTab::LanguageTab( TQWidget * tqparent, const char * name ) - : TQWidget(tqparent, name), controller(new FlagCheckBoxController(TQStringList::split(",","-v"))) +LanguageTab::LanguageTab( TQWidget * parent, const char * name ) + : TQWidget(parent, name), controller(new FlagCheckBoxController(TQStringList::split(",","-v"))) { TQBoxLayout *tqlayout = new TQVBoxLayout(this, KDialog::marginHint(), KDialog::spacingHint()); tqlayout->setAutoAdd(true); @@ -239,8 +239,8 @@ void LanguageTab::writeFlags( TQStringList * str ) controller->writeFlags(str); } -AssemblerTab::AssemblerTab( TQWidget * tqparent, const char * name ) - : TQWidget(tqparent, name), controller(new FlagCheckBoxController()), +AssemblerTab::AssemblerTab( TQWidget * parent, const char * name ) + : TQWidget(parent, name), controller(new FlagCheckBoxController()), asmController(new FlagRadioButtonController) { TQBoxLayout *tqlayout = new TQVBoxLayout(this, KDialog::marginHint(), KDialog::spacingHint()); @@ -324,8 +324,8 @@ void AssemblerTab::writeFlags( TQStringList * str ) -DebugOptimTab::DebugOptimTab( TQWidget * tqparent, const char * name ) - : TQWidget(tqparent, name), controller(new FlagCheckBoxController()), +DebugOptimTab::DebugOptimTab( TQWidget * parent, const char * name ) + : TQWidget(parent, name), controller(new FlagCheckBoxController()), optimController(new FlagRadioButtonController) { TQBoxLayout *tqlayout = new TQVBoxLayout(this, KDialog::marginHint(), KDialog::spacingHint()); @@ -454,8 +454,8 @@ void DebugOptimTab::setDebugOptions() // m_default3->setChecked(true); } -CodegenTab::CodegenTab( TQWidget * tqparent, const char * name ) - : TQWidget(tqparent, name), controller(new FlagCheckBoxController()), +CodegenTab::CodegenTab( TQWidget * parent, const char * name ) + : TQWidget(parent, name), controller(new FlagCheckBoxController()), listController(new FlagEditController()) { TQBoxLayout *tqlayout = new TQVBoxLayout(this, KDialog::marginHint(), KDialog::spacingHint()); @@ -515,8 +515,8 @@ void CodegenTab::writeFlags( TQStringList * str ) listController->writeFlags(str); } -LinkerTab::LinkerTab( TQWidget * tqparent, const char * name ) - : TQWidget(tqparent, name), controller(new FlagCheckBoxController()), +LinkerTab::LinkerTab( TQWidget * parent, const char * name ) + : TQWidget(parent, name), controller(new FlagCheckBoxController()), listController(new FlagEditController()) { TQBoxLayout *tqlayout = new TQVBoxLayout(this, KDialog::marginHint(), KDialog::spacingHint()); @@ -577,8 +577,8 @@ void LinkerTab::writeFlags( TQStringList * str ) listController->writeFlags(str); } -MiscTab::MiscTab( TQWidget * tqparent, const char * name ) - : TQWidget(tqparent, name), controller(new FlagCheckBoxController()), +MiscTab::MiscTab( TQWidget * parent, const char * name ) + : TQWidget(parent, name), controller(new FlagCheckBoxController()), radioController(new FlagRadioButtonController()), pathController(new FlagPathEditController()), editController(new FlagEditController()) diff --git a/languages/pascal/compiler/fpcoptions/optiontabs.h b/languages/pascal/compiler/fpcoptions/optiontabs.h index 9d0e0f07..66524b63 100644 --- a/languages/pascal/compiler/fpcoptions/optiontabs.h +++ b/languages/pascal/compiler/fpcoptions/optiontabs.h @@ -24,7 +24,7 @@ class FlagEditController; class FeedbackTab : public TQWidget { public: - FeedbackTab( TQWidget *tqparent=0, const char *name=0 ); + FeedbackTab( TQWidget *parent=0, const char *name=0 ); ~FeedbackTab(); void readFlags(TQStringList *str); @@ -37,7 +37,7 @@ private: class FilesAndDirectoriesTab: public TQWidget { public: - FilesAndDirectoriesTab( TQWidget *tqparent = 0, const char *name = 0); + FilesAndDirectoriesTab( TQWidget *parent = 0, const char *name = 0); ~FilesAndDirectoriesTab(); void readFlags(TQStringList *str); @@ -51,7 +51,7 @@ private: class FilesAndDirectoriesTab2: public TQWidget { public: - FilesAndDirectoriesTab2( TQWidget *tqparent = 0, const char *name = 0); + FilesAndDirectoriesTab2( TQWidget *parent = 0, const char *name = 0); ~FilesAndDirectoriesTab2(); void readFlags(TQStringList *str); @@ -65,7 +65,7 @@ private: class LanguageTab : public TQWidget { public: - LanguageTab( TQWidget *tqparent=0, const char *name=0 ); + LanguageTab( TQWidget *parent=0, const char *name=0 ); ~LanguageTab(); void readFlags(TQStringList *str); @@ -78,7 +78,7 @@ private: class AssemblerTab : public TQWidget { public: - AssemblerTab( TQWidget *tqparent=0, const char *name=0 ); + AssemblerTab( TQWidget *parent=0, const char *name=0 ); ~AssemblerTab(); void readFlags(TQStringList *str); @@ -94,7 +94,7 @@ class DebugOptimTab : public TQWidget Q_OBJECT TQ_OBJECT public: - DebugOptimTab( TQWidget *tqparent=0, const char *name=0 ); + DebugOptimTab( TQWidget *parent=0, const char *name=0 ); ~DebugOptimTab(); void readFlags(TQStringList *str); @@ -118,7 +118,7 @@ private slots: class CodegenTab : public TQWidget { public: - CodegenTab( TQWidget *tqparent=0, const char *name=0 ); + CodegenTab( TQWidget *parent=0, const char *name=0 ); ~CodegenTab(); void readFlags(TQStringList *str); @@ -132,7 +132,7 @@ private: class LinkerTab : public TQWidget { public: - LinkerTab( TQWidget *tqparent=0, const char *name=0 ); + LinkerTab( TQWidget *parent=0, const char *name=0 ); ~LinkerTab(); void readFlags(TQStringList *str); @@ -146,7 +146,7 @@ private: class MiscTab : public TQWidget { public: - MiscTab( TQWidget *tqparent=0, const char *name=0 ); + MiscTab( TQWidget *parent=0, const char *name=0 ); ~MiscTab(); void readFlags(TQStringList *str); diff --git a/languages/pascal/pascalsupport_part.cpp b/languages/pascal/pascalsupport_part.cpp index 57ef642d..2b1edd31 100644 --- a/languages/pascal/pascalsupport_part.cpp +++ b/languages/pascal/pascalsupport_part.cpp @@ -47,8 +47,8 @@ typedef KDevGenericFactory<PascalSupportPart> PascalSupportFactory; static const KDevPluginInfo data("kdevpascalsupport"); K_EXPORT_COMPONENT_FACTORY( libkdevpascalsupport, PascalSupportFactory( data ) ) -PascalSupportPart::PascalSupportPart(TQObject *tqparent, const char *name, const TQStringList &) - : KDevLanguageSupport(&data, tqparent, name ? name : "KDevPascalSupport" ), +PascalSupportPart::PascalSupportPart(TQObject *parent, const char *name, const TQStringList &) + : KDevLanguageSupport(&data, parent, name ? name : "KDevPascalSupport" ), d( new PascalSupportPartData() ) { setInstance(PascalSupportFactory::instance()); diff --git a/languages/pascal/pascalsupport_part.h b/languages/pascal/pascalsupport_part.h index 3ad9ee39..eddc150c 100644 --- a/languages/pascal/pascalsupport_part.h +++ b/languages/pascal/pascalsupport_part.h @@ -24,7 +24,7 @@ class PascalSupportPart : public KDevLanguageSupport Q_OBJECT TQ_OBJECT public: - PascalSupportPart(TQObject *tqparent, const char *name, const TQStringList &); + PascalSupportPart(TQObject *parent, const char *name, const TQStringList &); ~PascalSupportPart(); virtual Features features(); diff --git a/languages/pascal/problemreporter.cpp b/languages/pascal/problemreporter.cpp index adb02c63..9d1a9ac6 100644 --- a/languages/pascal/problemreporter.cpp +++ b/languages/pascal/problemreporter.cpp @@ -48,13 +48,13 @@ class ProblemItem: public TQListViewItem{ public: - ProblemItem( TQListView* tqparent, const TQString& level, const TQString& problem, + ProblemItem( TQListView* parent, const TQString& level, const TQString& problem, const TQString& file, const TQString& line, const TQString& column ) - : TQListViewItem( tqparent, level, problem, file, line, column ) {} + : TQListViewItem( parent, level, problem, file, line, column ) {} - ProblemItem( TQListViewItem* tqparent, const TQString& level, const TQString& problem, + ProblemItem( TQListViewItem* parent, const TQString& level, const TQString& problem, const TQString& file, const TQString& line, const TQString& column ) - : TQListViewItem( tqparent, level, problem, file, line, column ) {} + : TQListViewItem( parent, level, problem, file, line, column ) {} int compare( TQListViewItem* item, int column, bool ascending ) const { if( column == 3 || column == 4 ){ @@ -69,8 +69,8 @@ public: }; -ProblemReporter::ProblemReporter( PascalSupportPart* part, TQWidget* tqparent, const char* name ) - : TQListView( tqparent, name ), +ProblemReporter::ProblemReporter( PascalSupportPart* part, TQWidget* parent, const char* name ) + : TQListView( parent, name ), m_pascalSupport( part ), m_editor( 0 ), m_document( 0 ), diff --git a/languages/pascal/problemreporter.h b/languages/pascal/problemreporter.h index 196d0b74..82bbdb1e 100644 --- a/languages/pascal/problemreporter.h +++ b/languages/pascal/problemreporter.h @@ -40,7 +40,7 @@ class ProblemReporter: public TQListView{ Q_OBJECT TQ_OBJECT public: - ProblemReporter( PascalSupportPart* part, TQWidget* tqparent=0, const char* name=0 ); + ProblemReporter( PascalSupportPart* part, TQWidget* parent=0, const char* name=0 ); virtual ~ProblemReporter(); virtual void reportError( TQString message, TQString filename, diff --git a/languages/perl/perlconfigwidget.cpp b/languages/perl/perlconfigwidget.cpp index 58730d05..e41def0c 100644 --- a/languages/perl/perlconfigwidget.cpp +++ b/languages/perl/perlconfigwidget.cpp @@ -17,8 +17,8 @@ PerlConfigWidget::PerlConfigWidget(TQDomDocument &projectDom, - TQWidget *tqparent, const char *name) - : PerlConfigWidgetBase(tqparent, name), dom(projectDom) + TQWidget *parent, const char *name) + : PerlConfigWidgetBase(parent, name), dom(projectDom) { interpreter_edit->setText(DomUtil::readEntry(dom, "/kdevperlsupport/run/interpreter")); terminal_box->setChecked(DomUtil::readBoolEntry(dom, "/kdevperlsupport/run/terminal")); diff --git a/languages/perl/perlconfigwidget.h b/languages/perl/perlconfigwidget.h index 11b4503d..0f863ad0 100644 --- a/languages/perl/perlconfigwidget.h +++ b/languages/perl/perlconfigwidget.h @@ -22,7 +22,7 @@ class PerlConfigWidget : public PerlConfigWidgetBase TQ_OBJECT public: - PerlConfigWidget( TQDomDocument &projectDom, TQWidget *tqparent=0, const char *name=0 ); + PerlConfigWidget( TQDomDocument &projectDom, TQWidget *parent=0, const char *name=0 ); ~PerlConfigWidget(); public slots: diff --git a/languages/perl/perlparser.cpp b/languages/perl/perlparser.cpp index 520daab3..60cca8f5 100644 --- a/languages/perl/perlparser.cpp +++ b/languages/perl/perlparser.cpp @@ -161,11 +161,11 @@ void perlparser::parseLines(TQStringList* lines,const TQString &fileName) //base matching if ((basere.search(line)>=0) && (!m_inscript)) { - TQString tqparent = basere.cap(1); - //create child & tqparent classes - kdDebug(9016) << "basere match [" << tqparent << "]" << endl; + TQString parent = basere.cap(1); + //create child & parent classes + kdDebug(9016) << "basere match [" << parent << "]" << endl; addClass(fileName,lineNo); - addParentClass(tqparent); + addParentClass(parent); continue; } else { if (libre.search(line)>=0) { @@ -186,11 +186,11 @@ void perlparser::parseLines(TQStringList* lines,const TQString &fileName) } //base if ((isare.search(line)>=0) && (!m_inscript)) { - TQString tqparent = isare.cap(1); - //create child & tqparent classes - kdDebug(9016) << "isare match [" << tqparent << "]" << endl; + TQString parent = isare.cap(1); + //create child & parent classes + kdDebug(9016) << "isare match [" << parent << "]" << endl; addClass(fileName,lineNo); - addParentClass(tqparent); + addParentClass(parent); continue; } //isa @@ -424,11 +424,11 @@ void perlparser::addPackageSub(const TQString& fileName ,int lineNr ,const TQStr m_lastsub=name; } -void perlparser::addParentClass(const TQString& tqparent) +void perlparser::addParentClass(const TQString& parent) { - kdDebug(9016) << "addParentClass[ " << tqparent << "]" << endl; + kdDebug(9016) << "addParentClass[ " << parent << "]" << endl; if (m_lastclass) { - m_lastclass->addBaseClass(tqparent); + m_lastclass->addBaseClass(parent); } else { kdDebug(9016) << "addParentClass[ no m_lastclass]" << endl; } diff --git a/languages/perl/perlparser.h b/languages/perl/perlparser.h index 6a68165e..b536596b 100644 --- a/languages/perl/perlparser.h +++ b/languages/perl/perlparser.h @@ -49,7 +49,7 @@ class perlparser { void addScriptSub(const TQString& fileName ,int lineNr , const TQString& name, bool privatesub); void addClassMethod(const TQString& fileName ,int lineNr , const TQString& name , bool privatesub); void addPackageSub(const TQString& fileName ,int lineNr , const TQString& name, bool privatesub); - void addParentClass(const TQString& tqparent); + void addParentClass(const TQString& parent); void addScript(const TQString& fileName ,int lineNr , const TQString& name); void addUseLib(const TQString& lib); void getPerlINC(); diff --git a/languages/perl/perlsupportpart.cpp b/languages/perl/perlsupportpart.cpp index a8c66b66..be725f28 100644 --- a/languages/perl/perlsupportpart.cpp +++ b/languages/perl/perlsupportpart.cpp @@ -48,8 +48,8 @@ typedef KDevGenericFactory<PerlSupportPart> PerlSupportFactory; static const KDevPluginInfo data("kdevperlsupport"); K_EXPORT_COMPONENT_FACTORY( libkdevperlsupport, PerlSupportFactory( data ) ) -PerlSupportPart::PerlSupportPart(TQObject *tqparent, const char *name, const TQStringList &) - : KDevLanguageSupport(&data, tqparent, name ? name : "PerlSupportPart") +PerlSupportPart::PerlSupportPart(TQObject *parent, const char *name, const TQStringList &) + : KDevLanguageSupport(&data, parent, name ? name : "PerlSupportPart") { setInstance(PerlSupportFactory::instance()); diff --git a/languages/perl/perlsupportpart.h b/languages/perl/perlsupportpart.h index dd3a7bfa..7de6c95f 100644 --- a/languages/perl/perlsupportpart.h +++ b/languages/perl/perlsupportpart.h @@ -22,7 +22,7 @@ class PerlSupportPart : public KDevLanguageSupport TQ_OBJECT public: - PerlSupportPart( TQObject *tqparent, const char *name, const TQStringList & ); + PerlSupportPart( TQObject *parent, const char *name, const TQStringList & ); ~PerlSupportPart(); protected: diff --git a/languages/php/data/phpfunctions b/languages/php/data/phpfunctions index be8667f6..946dfaea 100644 --- a/languages/php/data/phpfunctions +++ b/languages/php/data/phpfunctions @@ -928,7 +928,7 @@ pdf:void pdf_setgray(int pdfdoc, double value) pdf:void pdf_setrgbcolor_fill(int pdfdoc, double red, double green, double blue) pdf:void pdf_setrgbcolor_stroke(int pdfdoc, double red, double green, double blue) pdf:void pdf_setrgbcolor(int pdfdoc, double red, double green, double blue) -pdf:int pdf_add_outline(int pdfdoc, string text [, int tqparent, int open]); +pdf:int pdf_add_outline(int pdfdoc, string text [, int parent, int open]); pdf:void pdf_set_transition(int pdfdoc, int transition) pdf:void pdf_set_duration(int pdfdoc, double duration) pdf:int pdf_open_gif(int pdf, string giffile) @@ -1287,7 +1287,7 @@ file:int fseek(int fp, int offset [, int whence]) file:int mkdir(string pathname, int mode) file:int rmdir(string dirname) file:int readfile(string filename [, int use_include_path]) -file:int umask([int tqmask]) +file:int umask([int mask]) file:int fpassthru(int fp) file:int rename(string old_name, string new_name) file:int unlink(string filename) @@ -1410,8 +1410,8 @@ reg:array spliti(string pattern, string string [, int limit]) reg:string sql_regcase(string string) soundex:string soundex(string str) string:string bin2hex(string data) -string:int strspn(string str, string tqmask) -string:int strcspn(string str, string tqmask) +string:int strspn(string str, string mask) +string:int strcspn(string str, string mask) string:string rtrim(string str) string:string chop(string str) string:string trim(string str) diff --git a/languages/php/doc/php.toc b/languages/php/doc/php.toc index 7a35196d..8da066d4 100644 --- a/languages/php/doc/php.toc +++ b/languages/php/doc/php.toc @@ -1477,7 +1477,7 @@ <entry name="zend_thread_id" url="function.zend-thread-id.php"/> <entry name="zend_version" url="function.zend-version.php"/> <entry name="Runkit_Sandbox" url="runkit.sandbox.php"/> -<entry name="Runkit_Sandbox_Parent" url="runkit.sandbox-tqparent.php"/> +<entry name="Runkit_Sandbox_Parent" url="runkit.sandbox-parent.php"/> <entry name="runkit_class_adopt" url="function.runkit-class-adopt.php"/> <entry name="runkit_class_emancipate" url="function.runkit-class-emancipate.php"/> <entry name="runkit_constant_add" url="function.runkit-constant-add.php"/> @@ -1805,7 +1805,7 @@ <entry name="ncurses_meta" url="function.ncurses-meta.php"/> <entry name="ncurses_mouse_trafo" url="function.ncurses-mouse-trafo.php"/> <entry name="ncurses_mouseinterval" url="function.ncurses-mouseinterval.php"/> -<entry name="ncurses_mousetqmask" url="function.ncurses-mousetqmask.php"/> +<entry name="ncurses_mousemask" url="function.ncurses-mousemask.php"/> <entry name="ncurses_move_panel" url="function.ncurses-move-panel.php"/> <entry name="ncurses_move" url="function.ncurses-move.php"/> <entry name="ncurses_mvaddch" url="function.ncurses-mvaddch.php"/> @@ -4647,7 +4647,7 @@ <entry name="HaruImage::getHeight" url="function.haruimage-getheight.php"/> <entry name="HaruImage::getSize" url="function.haruimage-getsize.php"/> <entry name="HaruImage::getWidth" url="function.haruimage-getwidth.php"/> -<entry name="HaruImage::setColorMask" url="function.haruimage-setcolortqmask.php"/> +<entry name="HaruImage::setColorMask" url="function.haruimage-setcolormask.php"/> <entry name="HaruImage::setMaskImage" url="function.haruimage-setmaskimage.php"/> <entry name="HaruEncoder::getByteType" url="function.haruencoder-getbytetype.php"/> <entry name="HaruEncoder::getType" url="function.haruencoder-gettype.php"/> @@ -4689,7 +4689,7 @@ <entry name="SWFButton->setUp()" url="function.swfbutton.setup.php"/> <entry name="SWFDisplayItem->addAction()" url="function.swfdisplayitem.addaction.php"/> <entry name="SWFDisplayItem->addColor()" url="function.swfdisplayitem.addcolor.php"/> -<entry name="SWFDisplayItem->endMask()" url="function.swfdisplayitem.endtqmask.php"/> +<entry name="SWFDisplayItem->endMask()" url="function.swfdisplayitem.endmask.php"/> <entry name="SWFDisplayItem->getRot()" url="function.swfdisplayitem.getrot.php"/> <entry name="SWFDisplayItem->getX()" url="function.swfdisplayitem.getx.php"/> <entry name="SWFDisplayItem->getXScale()" url="function.swfdisplayitem.getxscale.php"/> @@ -5517,7 +5517,7 @@ <entry name="tidyNode->isJste" url="function.tidynode-isjste.php"/> <entry name="tidyNode->isPhp" url="function.tidynode-isphp.php"/> <entry name="tidyNode->isText" url="function.tidynode-istext.php"/> -<entry name="tidyNode::getParent" url="function.tidynode-gettqparent.php"/> +<entry name="tidyNode::getParent" url="function.tidynode-getparent.php"/> <entry name="token_get_all" url="function.token-get-all.php"/> <entry name="token_name" url="function.token-name.php"/> <entry name="base64_decode" url="function.base64-decode.php"/> @@ -6494,7 +6494,7 @@ <entry name="get_declared_classes" url="function.get-declared-classes.php"/> <entry name="get_declared_interfaces" url="function.get-declared-interfaces.php"/> <entry name="get_object_vars" url="function.get-object-vars.php"/> -<entry name="get_parent_class" url="function.get-tqparent-class.php"/> +<entry name="get_parent_class" url="function.get-parent-class.php"/> <entry name="interface_exists" url="function.interface-exists.php"/> <entry name="is_a" url="function.is-a.php"/> <entry name="is_subclass_of" url="function.is-subclass-of.php"/> @@ -6856,7 +6856,7 @@ <entry name="DomNode->node_type" url="function.domnode-node-type.php"/> <entry name="DomNode->node_value" url="function.domnode-node-value.php"/> <entry name="DomNode->owner_document" url="function.domnode-owner-document.php"/> -<entry name="DomNode->parent_node" url="function.domnode-tqparent-node.php"/> +<entry name="DomNode->parent_node" url="function.domnode-parent-node.php"/> <entry name="DomNode->prefix" url="function.domnode-prefix.php"/> <entry name="DomNode->previous_sibling" url="function.domnode-previous-sibling.php"/> <entry name="DomNode->remove_child" url="function.domnode-remove-child.php"/> diff --git a/languages/php/phpconfigwidget.cpp b/languages/php/phpconfigwidget.cpp index 41f3c2fe..113defb9 100644 --- a/languages/php/phpconfigwidget.cpp +++ b/languages/php/phpconfigwidget.cpp @@ -16,8 +16,8 @@ using namespace std; -PHPConfigWidget::PHPConfigWidget(PHPConfigData* data,TQWidget* tqparent, const char* name, WFlags fl ) - : PHPConfigWidgetBase( tqparent, name, fl ) +PHPConfigWidget::PHPConfigWidget(PHPConfigData* data,TQWidget* parent, const char* name, WFlags fl ) + : PHPConfigWidgetBase( parent, name, fl ) { configData = data; m_phpInfo = ""; diff --git a/languages/php/phpconfigwidget.h b/languages/php/phpconfigwidget.h index 84425de9..6fb4e926 100644 --- a/languages/php/phpconfigwidget.h +++ b/languages/php/phpconfigwidget.h @@ -12,7 +12,7 @@ class PHPConfigWidget : public PHPConfigWidgetBase TQ_OBJECT public: - PHPConfigWidget( PHPConfigData* data,TQWidget* tqparent = 0, const char* name = 0, WFlags fl = 0 ); + PHPConfigWidget( PHPConfigData* data,TQWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); ~PHPConfigWidget(); public slots: diff --git a/languages/php/phperrorview.cpp b/languages/php/phperrorview.cpp index c21f9fdc..658812f7 100644 --- a/languages/php/phperrorview.cpp +++ b/languages/php/phperrorview.cpp @@ -56,13 +56,13 @@ class ProblemItem: public KListViewItem { public: - ProblemItem( TQListView* tqparent, const TQString& problem, + ProblemItem( TQListView* parent, const TQString& problem, const TQString& file, const TQString& line, const TQString& column ) - : KListViewItem( tqparent, problem, file, line, column ) {} + : KListViewItem( parent, problem, file, line, column ) {} - ProblemItem( TQListViewItem* tqparent, const TQString& problem, + ProblemItem( TQListViewItem* parent, const TQString& problem, const TQString& file, const TQString& line, const TQString& column ) - : KListViewItem( tqparent, problem, file, line, column ) {} + : KListViewItem( parent, problem, file, line, column ) {} int compare( TQListViewItem* item, int column, bool ascending ) const { if( column == 2 || column == 3 ){ @@ -77,8 +77,8 @@ public: }; -PHPErrorView::PHPErrorView( PHPSupportPart* part, TQWidget* tqparent, const char* name ) - : TQWidget( tqparent, name ? name : "problemreporter" ), +PHPErrorView::PHPErrorView( PHPSupportPart* part, TQWidget* parent, const char* name ) + : TQWidget( parent, name ? name : "problemreporter" ), m_phpSupport( part ), m_document( 0 ), m_markIface( 0 ) diff --git a/languages/php/phperrorview.h b/languages/php/phperrorview.h index ec41eb51..447506d0 100644 --- a/languages/php/phperrorview.h +++ b/languages/php/phperrorview.h @@ -58,7 +58,7 @@ class PHPErrorView: public TQWidget { Q_OBJECT TQ_OBJECT public: - PHPErrorView( PHPSupportPart* part, TQWidget* tqparent=0, const char* name=0 ); + PHPErrorView( PHPSupportPart* part, TQWidget* parent=0, const char* name=0 ); virtual ~PHPErrorView(); void removeAllProblems( const TQString& filename ); diff --git a/languages/php/phpfile.cpp b/languages/php/phpfile.cpp index 3e3fbd68..974698d3 100644 --- a/languages/php/phpfile.cpp +++ b/languages/php/phpfile.cpp @@ -346,7 +346,7 @@ bool PHPFile::ParseReturn(TQString line, int lineNo) { while ( it != m_vars.end() ) { Action *p = *it++; - if (p->tqparent() == current && p->name() == varname) { + if (p->parent() == current && p->name() == varname) { rettype = p->args(); } } diff --git a/languages/php/phpnewclassdlg.cpp b/languages/php/phpnewclassdlg.cpp index 2b014cfc..282e6c01 100644 --- a/languages/php/phpnewclassdlg.cpp +++ b/languages/php/phpnewclassdlg.cpp @@ -30,7 +30,7 @@ using namespace std; -PHPNewClassDlg::PHPNewClassDlg(const TQStringList& baseClassNames,const TQString& directory,TQWidget *tqparent, const char *name) : PHPNewClassDlgBase(tqparent,name,true) { +PHPNewClassDlg::PHPNewClassDlg(const TQStringList& baseClassNames,const TQString& directory,TQWidget *parent, const char *name) : PHPNewClassDlgBase(parent,name,true) { m_filenameModified = false; KCompletion *comp = new KCompletion(); comp->setItems(baseClassNames); diff --git a/languages/php/phpnewclassdlg.h b/languages/php/phpnewclassdlg.h index a5bbcb55..23f11577 100644 --- a/languages/php/phpnewclassdlg.h +++ b/languages/php/phpnewclassdlg.h @@ -29,7 +29,7 @@ class PHPNewClassDlg : public PHPNewClassDlgBase { Q_OBJECT TQ_OBJECT public: - PHPNewClassDlg(const TQStringList& baseClassNames,const TQString& directory,TQWidget *tqparent=0, const char *name=0); + PHPNewClassDlg(const TQStringList& baseClassNames,const TQString& directory,TQWidget *parent=0, const char *name=0); ~PHPNewClassDlg(); protected slots: void classNameTextChanged(const TQString&); diff --git a/languages/php/phpsupportpart.cpp b/languages/php/phpsupportpart.cpp index 4d20a30b..d31bc933 100644 --- a/languages/php/phpsupportpart.cpp +++ b/languages/php/phpsupportpart.cpp @@ -69,8 +69,8 @@ using namespace std; static const KDevPluginInfo data("kdevphpsupport"); K_EXPORT_COMPONENT_FACTORY( libkdevphpsupport, PHPSupportFactory( data ) ) -PHPSupportPart::PHPSupportPart(TQObject *tqparent, const char *name, const TQStringList &) - : KDevLanguageSupport(&data, tqparent, name ? name : "PHPSupportPart") +PHPSupportPart::PHPSupportPart(TQObject *parent, const char *name, const TQStringList &) + : KDevLanguageSupport(&data, parent, name ? name : "PHPSupportPart") { m_htmlView = 0; m_parser = 0; diff --git a/languages/php/phpsupportpart.h b/languages/php/phpsupportpart.h index f2b0d79c..2d3f74a0 100644 --- a/languages/php/phpsupportpart.h +++ b/languages/php/phpsupportpart.h @@ -47,7 +47,7 @@ class PHPSupportPart : public KDevLanguageSupport TQ_OBJECT public: - PHPSupportPart( TQObject *tqparent, const char *name, const TQStringList & ); + PHPSupportPart( TQObject *parent, const char *name, const TQStringList & ); ~PHPSupportPart(); PHPErrorView *ErrorView(); diff --git a/languages/python/pythonconfigwidget.cpp b/languages/python/pythonconfigwidget.cpp index 6cd54700..29103705 100644 --- a/languages/python/pythonconfigwidget.cpp +++ b/languages/python/pythonconfigwidget.cpp @@ -17,8 +17,8 @@ PythonConfigWidget::PythonConfigWidget(TQDomDocument &projectDom, - TQWidget *tqparent, const char *name) - : PythonConfigWidgetBase(tqparent, name), dom(projectDom) + TQWidget *parent, const char *name) + : PythonConfigWidgetBase(parent, name), dom(projectDom) { interpreter_edit->setText(DomUtil::readEntry(dom, "/kdevpythonsupport/run/interpreter")); terminal_box->setChecked(DomUtil::readBoolEntry(dom, "/kdevpythonsupport/run/terminal")); diff --git a/languages/python/pythonconfigwidget.h b/languages/python/pythonconfigwidget.h index 16ed799d..37427c7a 100644 --- a/languages/python/pythonconfigwidget.h +++ b/languages/python/pythonconfigwidget.h @@ -22,7 +22,7 @@ class PythonConfigWidget : public PythonConfigWidgetBase TQ_OBJECT public: - PythonConfigWidget( TQDomDocument &projectDom, TQWidget *tqparent=0, const char *name=0 ); + PythonConfigWidget( TQDomDocument &projectDom, TQWidget *parent=0, const char *name=0 ); ~PythonConfigWidget(); public slots: diff --git a/languages/python/pythonimplementationwidget.cpp b/languages/python/pythonimplementationwidget.cpp index 9d9b542a..9aba5441 100644 --- a/languages/python/pythonimplementationwidget.cpp +++ b/languages/python/pythonimplementationwidget.cpp @@ -34,8 +34,8 @@ #include <kdevproject.h> PythonImplementationWidget::PythonImplementationWidget(KDevLanguageSupport* part, - TQWidget* tqparent, const char* name, bool modal) - : ImplementationWidget(part, tqparent, name, modal) + TQWidget* parent, const char* name, bool modal) + : ImplementationWidget(part, parent, name, modal) { } @@ -48,7 +48,7 @@ PythonImplementationWidget::~PythonImplementationWidget() TQStringList PythonImplementationWidget::createClassFiles() { // TQString template_py = "require '$BASEFILENAME$'\n\nclass $CLASSNAME$ < $BASECLASSNAME$\n\n def initialize(*k)\n super(*k)\n end\n\nend\n"; - TQString template_py = "from qt import *\nfrom $BASEFILENAME$ import *\nclass $CLASSNAME$($BASECLASSNAME$):\n\n def __init__(self,tqparent,name):\n $BASECLASSNAME$.__init__(self,tqparent,name)\n \n\n\n"; + TQString template_py = "from qt import *\nfrom $BASEFILENAME$ import *\nclass $CLASSNAME$($BASECLASSNAME$):\n\n def __init__(self,parent,name):\n $BASECLASSNAME$.__init__(self,parent,name)\n \n\n\n"; TQFileInfo formInfo(m_formName); template_py.replace(TQRegExp("\\$BASEFILENAME\\$"), formInfo.baseName()+".py"); diff --git a/languages/python/pythonimplementationwidget.h b/languages/python/pythonimplementationwidget.h index c2ca5cc3..12db23cd 100644 --- a/languages/python/pythonimplementationwidget.h +++ b/languages/python/pythonimplementationwidget.h @@ -27,7 +27,7 @@ class PythonImplementationWidget : public ImplementationWidget Q_OBJECT TQ_OBJECT public: - PythonImplementationWidget(KDevLanguageSupport* part, TQWidget* tqparent = 0, const char* name = 0, bool modal = true); + PythonImplementationWidget(KDevLanguageSupport* part, TQWidget* parent = 0, const char* name = 0, bool modal = true); ~PythonImplementationWidget(); diff --git a/languages/python/pythonsupportpart.cpp b/languages/python/pythonsupportpart.cpp index c8aebb6a..f7014bb6 100644 --- a/languages/python/pythonsupportpart.cpp +++ b/languages/python/pythonsupportpart.cpp @@ -42,8 +42,8 @@ typedef KDevGenericFactory<PythonSupportPart> PythonSupportFactory; static const KDevPluginInfo data("kdevpythonsupport"); K_EXPORT_COMPONENT_FACTORY( libkdevpythonsupport, PythonSupportFactory( data ) ) -PythonSupportPart::PythonSupportPart(TQObject *tqparent, const char *name, const TQStringList &) - : KDevLanguageSupport(&data, tqparent, name ? name : "PythonSupportPart") +PythonSupportPart::PythonSupportPart(TQObject *parent, const char *name, const TQStringList &) + : KDevLanguageSupport(&data, parent, name ? name : "PythonSupportPart") { setInstance(PythonSupportFactory::instance()); @@ -268,7 +268,7 @@ void PythonSupportPart::parse(const TQString &fileName) TQStringList::ConstIterator it; for (it = parentList.begin(); it != parentList.end(); ++it) { TQString baseName = (*it).stripWhiteSpace(); - kdDebug(9014) << "Add tqparent" << baseName << endl; + kdDebug(9014) << "Add parent" << baseName << endl; lastClass->addBaseClass( baseName ); } diff --git a/languages/python/pythonsupportpart.h b/languages/python/pythonsupportpart.h index 01fde048..e9e65bfa 100644 --- a/languages/python/pythonsupportpart.h +++ b/languages/python/pythonsupportpart.h @@ -26,7 +26,7 @@ class PythonSupportPart : public KDevLanguageSupport TQ_OBJECT public: - PythonSupportPart( TQObject *tqparent, const char *name, const TQStringList & ); + PythonSupportPart( TQObject *parent, const char *name, const TQStringList & ); ~PythonSupportPart(); virtual KDevDesignerIntegration *designer(KInterfaceDesigner::DesignerType type); diff --git a/languages/ruby/app_templates/kapp/appview.rb b/languages/ruby/app_templates/kapp/appview.rb index 4c914786..6a49bdab 100644 --- a/languages/ruby/app_templates/kapp/appview.rb +++ b/languages/ruby/app_templates/kapp/appview.rb @@ -25,8 +25,8 @@ class %{APPNAMESC}View < Qt::Widget Q_SLOTS 'slotOnURL(const QString&)', 'slotSetTitle(const QString&)' - def initialize(tqparent) - super(tqparent) + def initialize(parent) + super(parent) # keep a reference to the DCOP Interface so it doesn't get gc'd @dcop = %{APPNAMESC}Iface.new(self) diff --git a/languages/ruby/app_templates/kapp/pref.rb b/languages/ruby/app_templates/kapp/pref.rb index fbdec495..f7f2e312 100644 --- a/languages/ruby/app_templates/kapp/pref.rb +++ b/languages/ruby/app_templates/kapp/pref.rb @@ -17,8 +17,8 @@ end class %{APPNAMESC}PrefPageOne < Qt::Frame - def initialize(tqparent) - super(tqparent) + def initialize(parent) + super(parent) tqlayout = Qt::HBoxLayout.new(self) tqlayout.setAutoAdd(true) @@ -28,8 +28,8 @@ end class %{APPNAMESC}PrefPageTwo < Qt::Frame - def initialize(tqparent) - super(tqparent) + def initialize(parent) + super(parent) tqlayout = Qt::HBoxLayout.new(self) tqlayout.setAutoAdd(true) diff --git a/languages/ruby/app_templates/kxt/appview.rb b/languages/ruby/app_templates/kxt/appview.rb index 0b95fdf1..58327208 100644 --- a/languages/ruby/app_templates/kxt/appview.rb +++ b/languages/ruby/app_templates/kxt/appview.rb @@ -25,8 +25,8 @@ class %{APPNAMESC}View < %{APPNAMESC}view_base Q_SLOTS 'switchColors()', 'settingsChanged()' - def initialize(tqparent) - super(tqparent) + def initialize(parent) + super(parent) settingsChanged() end diff --git a/languages/ruby/debugger/dbgcontroller.h b/languages/ruby/debugger/dbgcontroller.h index 6fe2e0db..b134d213 100644 --- a/languages/ruby/debugger/dbgcontroller.h +++ b/languages/ruby/debugger/dbgcontroller.h @@ -127,7 +127,7 @@ public slots: virtual void slotBPState(const Breakpoint&) = 0; - virtual void slotExpandItem(VarItem *tqparent, + virtual void slotExpandItem(VarItem *parent, const TQCString &userRequest) = 0; virtual void slotSelectFrame(int frame, int thread, const TQString& frameName) = 0; diff --git a/languages/ruby/debugger/dbgpsdlg.cpp b/languages/ruby/debugger/dbgpsdlg.cpp index 1389e0f6..be258778 100644 --- a/languages/ruby/debugger/dbgpsdlg.cpp +++ b/languages/ruby/debugger/dbgpsdlg.cpp @@ -51,8 +51,8 @@ namespace RDBDebugger // For use with the internal debugger, but this dialog doesn't know anything // about why it's doing it. -Dbg_PS_Dialog::Dbg_PS_Dialog(TQWidget *tqparent, const char *name) - : KDialog(tqparent, name, true), // modal +Dbg_PS_Dialog::Dbg_PS_Dialog(TQWidget *parent, const char *name) + : KDialog(parent, name, true), // modal psProc_(0), pids_(new TQListBox(this)), heading_(new TQLabel(" ", this)), diff --git a/languages/ruby/debugger/dbgpsdlg.h b/languages/ruby/debugger/dbgpsdlg.h index 1f30d6a7..5ab9ebe1 100644 --- a/languages/ruby/debugger/dbgpsdlg.h +++ b/languages/ruby/debugger/dbgpsdlg.h @@ -39,7 +39,7 @@ class Dbg_PS_Dialog : public KDialog TQ_OBJECT public: - Dbg_PS_Dialog( TQWidget *tqparent=0, const char *name=0 ); + Dbg_PS_Dialog( TQWidget *parent=0, const char *name=0 ); ~Dbg_PS_Dialog(); int pidSelected(); diff --git a/languages/ruby/debugger/dbgtoolbar.cpp b/languages/ruby/debugger/dbgtoolbar.cpp index 75264b60..5f24ec46 100644 --- a/languages/ruby/debugger/dbgtoolbar.cpp +++ b/languages/ruby/debugger/dbgtoolbar.cpp @@ -74,7 +74,7 @@ namespace RDBDebugger class DbgMoveHandle : public TQFrame { public: - DbgMoveHandle(DbgToolBar *tqparent=0, const char * name=0, WFlags f=0); + DbgMoveHandle(DbgToolBar *parent=0, const char * name=0, WFlags f=0); virtual ~DbgMoveHandle(); virtual void mousePressEvent(TQMouseEvent *e); @@ -89,9 +89,9 @@ private: // ************************************************************************** -DbgMoveHandle::DbgMoveHandle(DbgToolBar *tqparent, const char * name, WFlags f) - : TQFrame(tqparent, name, f), - toolBar_(tqparent), +DbgMoveHandle::DbgMoveHandle(DbgToolBar *parent, const char * name, WFlags f) + : TQFrame(parent, name, f), + toolBar_(parent), offset_(TQPoint(0,0)), moving_(false) { @@ -117,9 +117,9 @@ void DbgMoveHandle::mousePressEvent(TQMouseEvent *e) KPopupMenu *menu = new KPopupMenu(this); menu->insertTitle(i18n("Debug Toolbar")); menu->insertItem(i18n("Dock to Panel"), - tqparent(), TQT_SLOT(slotDock())); + parent(), TQT_SLOT(slotDock())); menu->insertItem(i18n("Dock to Panel && Iconify KDevelop"), - tqparent(), TQT_SLOT(slotIconifyAndDock())); + parent(), TQT_SLOT(slotIconifyAndDock())); menu->popup(e->globalPos()); } else { moving_ = true; @@ -165,7 +165,7 @@ class DbgButton : public TQPushButton { public: DbgButton(const TQPixmap &pixmap, const TQString &text, - DbgToolBar *tqparent, const char *name=0); + DbgToolBar *parent, const char *name=0); virtual ~DbgButton() {}; void drawButtonLabel(TQPainter *painter); TQSize tqsizeHint() const; @@ -177,8 +177,8 @@ private: // ************************************************************************** DbgButton::DbgButton(const TQPixmap& pixmap, const TQString& text, - DbgToolBar* tqparent, const char* name) - : TQPushButton(tqparent, name), + DbgToolBar* parent, const char* name) + : TQPushButton(parent, name), pixmap_(pixmap) { setText(text); @@ -216,8 +216,8 @@ TQSize DbgButton::tqsizeHint() const // ************************************************************************** // ************************************************************************** -DbgDocker::DbgDocker(TQWidget* tqparent, DbgToolBar* toolBar, const TQPixmap& pixmap) : - KSystemTray(tqparent, "DbgDocker"), +DbgDocker::DbgDocker(TQWidget* parent, DbgToolBar* toolBar, const TQPixmap& pixmap) : + KSystemTray(parent, "DbgDocker"), toolBar_(toolBar) { setPixmap(pixmap); @@ -257,7 +257,7 @@ void DbgDocker::mousePressEvent(TQMouseEvent *e) // ************************************************************************** DbgToolBar::DbgToolBar(RubyDebuggerPart* part, - TQWidget* tqparent, const char* name) + TQWidget* parent, const char* name) : TQFrame(0, name), part_(part), activeWindow_(0), @@ -267,10 +267,10 @@ DbgToolBar::DbgToolBar(RubyDebuggerPart* part, appIsActive_(false), docked_(false), docker_(0), - dockWindow_(new KSystemTray(tqparent)) + dockWindow_(new KSystemTray(parent)) { winModule_ = new KWinModule(TQT_TQOBJECT(this)); - docker_ = new DbgDocker(tqparent, this, BarIcon("dbgnext")); + docker_ = new DbgDocker(parent, this, BarIcon("dbgnext")); connect(docker_, TQT_SIGNAL(clicked()), part_, TQT_SLOT(slotStepOver())); // Must have noFocus set so that we can see what window was active. diff --git a/languages/ruby/debugger/dbgtoolbar.h b/languages/ruby/debugger/dbgtoolbar.h index 2d059cec..907bda2a 100644 --- a/languages/ruby/debugger/dbgtoolbar.h +++ b/languages/ruby/debugger/dbgtoolbar.h @@ -42,7 +42,7 @@ class DbgDocker : public KSystemTray TQ_OBJECT public: - DbgDocker(TQWidget *tqparent, DbgToolBar *toolBar, const TQPixmap &pixmap); + DbgDocker(TQWidget *parent, DbgToolBar *toolBar, const TQPixmap &pixmap); virtual ~DbgDocker() {}; virtual void mousePressEvent(TQMouseEvent *e); @@ -60,7 +60,7 @@ class DbgToolBar : public TQFrame TQ_OBJECT public: - DbgToolBar(RubyDebuggerPart *part, TQWidget* tqparent, const char* name=0); + DbgToolBar(RubyDebuggerPart *part, TQWidget* parent, const char* name=0); virtual ~DbgToolBar(); private slots: diff --git a/languages/ruby/debugger/debuggerpart.cpp b/languages/ruby/debugger/debuggerpart.cpp index 7a953fe4..4bc0895f 100644 --- a/languages/ruby/debugger/debuggerpart.cpp +++ b/languages/ruby/debugger/debuggerpart.cpp @@ -72,8 +72,8 @@ static const KDevPluginInfo data("kdevrbdebugger"); typedef KDevGenericFactory<RubyDebuggerPart> RubyDebuggerFactory; K_EXPORT_COMPONENT_FACTORY( libkdevrbdebugger, RubyDebuggerFactory( data ) ) -RubyDebuggerPart::RubyDebuggerPart( TQObject *tqparent, const char *name, const TQStringList & ) : - KDevPlugin( &data, tqparent, name ? name : "RubyDebuggerPart" ), +RubyDebuggerPart::RubyDebuggerPart( TQObject *parent, const char *name, const TQStringList & ) : + KDevPlugin( &data, parent, name ? name : "RubyDebuggerPart" ), controller(0) { // setObjId("RubyDebuggerInterface"); diff --git a/languages/ruby/debugger/debuggerpart.h b/languages/ruby/debugger/debuggerpart.h index 5f3a06a6..f35970fb 100644 --- a/languages/ruby/debugger/debuggerpart.h +++ b/languages/ruby/debugger/debuggerpart.h @@ -51,7 +51,7 @@ class RubyDebuggerPart : public KDevPlugin TQ_OBJECT public: - RubyDebuggerPart( TQObject *tqparent, const char *name, const TQStringList & ); + RubyDebuggerPart( TQObject *parent, const char *name, const TQStringList & ); ~RubyDebuggerPart(); virtual void restorePartialProjectSession(const TQDomElement* el); virtual void savePartialProjectSession(TQDomElement* el); diff --git a/languages/ruby/debugger/framestackwidget.cpp b/languages/ruby/debugger/framestackwidget.cpp index d98582c5..1d9b4b2f 100644 --- a/languages/ruby/debugger/framestackwidget.cpp +++ b/languages/ruby/debugger/framestackwidget.cpp @@ -41,8 +41,8 @@ namespace RDBDebugger { -FramestackWidget::FramestackWidget(TQWidget *tqparent, const char *name, WFlags f) - : TQListView(tqparent, name, f), +FramestackWidget::FramestackWidget(TQWidget *parent, const char *name, WFlags f) + : TQListView(parent, name, f), viewedThread_(0) { setRootIsDecorated(true); @@ -211,10 +211,10 @@ FrameStackItem *FramestackWidget::findFrame(int frameNo, int threadNo) // ************************************************************************** -FrameStackItem::FrameStackItem(ThreadStackItem *tqparent, int frameNo, const TQString &frameDesc, const TQString& frameName) - : TQListViewItem(tqparent), +FrameStackItem::FrameStackItem(ThreadStackItem *parent, int frameNo, const TQString &frameDesc, const TQString& frameName) + : TQListViewItem(parent), frameNo_(frameNo), - threadNo_(tqparent->threadNo()), + threadNo_(parent->threadNo()), frameName_(frameName) { setText(0, frameDesc); @@ -239,8 +239,8 @@ TQString FrameStackItem::key(int /*column*/, bool /*ascending*/) const // ************************************************************************** // ************************************************************************** -ThreadStackItem::ThreadStackItem(FramestackWidget *tqparent, int threadNo, const TQString &threadDesc) - : TQListViewItem(tqparent), +ThreadStackItem::ThreadStackItem(FramestackWidget *parent, int threadNo, const TQString &threadDesc) + : TQListViewItem(parent), threadNo_(threadNo) { setText(0, threadDesc); diff --git a/languages/ruby/debugger/framestackwidget.h b/languages/ruby/debugger/framestackwidget.h index 59280f3b..37874fdf 100644 --- a/languages/ruby/debugger/framestackwidget.h +++ b/languages/ruby/debugger/framestackwidget.h @@ -36,7 +36,7 @@ class FramestackWidget; class ThreadStackItem : public TQListViewItem { public: - ThreadStackItem(FramestackWidget *tqparent, int threadNo, const TQString &threadDesc); + ThreadStackItem(FramestackWidget *parent, int threadNo, const TQString &threadDesc); virtual ~ThreadStackItem(); virtual int rtti() const { return RTTI_THREAD_STACK_ITEM; } @@ -55,7 +55,7 @@ private: class FrameStackItem : public TQListViewItem { public: - FrameStackItem(ThreadStackItem * tqparent, int frameNo, const TQString & frameDesc, const TQString & frameName); + FrameStackItem(ThreadStackItem * parent, int frameNo, const TQString & frameDesc, const TQString & frameName); virtual ~FrameStackItem(); virtual int rtti() const { return RTTI_FRAME_STACK_ITEM; } @@ -85,7 +85,7 @@ class FramestackWidget : public TQListView TQ_OBJECT public: - FramestackWidget( TQWidget *tqparent=0, const char *name=0, WFlags f=0 ); + FramestackWidget( TQWidget *parent=0, const char *name=0, WFlags f=0 ); virtual ~FramestackWidget(); void clear(); diff --git a/languages/ruby/debugger/rdbbreakpointwidget.cpp b/languages/ruby/debugger/rdbbreakpointwidget.cpp index 200f97f4..5fb75098 100644 --- a/languages/ruby/debugger/rdbbreakpointwidget.cpp +++ b/languages/ruby/debugger/rdbbreakpointwidget.cpp @@ -93,9 +93,9 @@ private: /***************************************************************************/ /***************************************************************************/ -BreakpointTableRow::BreakpointTableRow(TQTable* tqparent, EditType editType, +BreakpointTableRow::BreakpointTableRow(TQTable* parent, EditType editType, Breakpoint* bp) : - TQTableItem(tqparent, editType, ""), + TQTableItem(parent, editType, ""), m_breakpoint(bp) { appendEmptyRow(); @@ -168,8 +168,8 @@ void BreakpointTableRow::setRow() /***************************************************************************/ /***************************************************************************/ -RDBBreakpointWidget::RDBBreakpointWidget(TQWidget *tqparent, const char *name) : - TQHBox(tqparent, name) +RDBBreakpointWidget::RDBBreakpointWidget(TQWidget *parent, const char *name) : + TQHBox(parent, name) { TQFrame* toolbar = new TQFrame( this ); TQVBoxLayout *l = new TQVBoxLayout(toolbar, 0, 0); diff --git a/languages/ruby/debugger/rdbbreakpointwidget.h b/languages/ruby/debugger/rdbbreakpointwidget.h index ad1e0605..b28b31cc 100644 --- a/languages/ruby/debugger/rdbbreakpointwidget.h +++ b/languages/ruby/debugger/rdbbreakpointwidget.h @@ -45,7 +45,7 @@ class RDBBreakpointWidget : public TQHBox TQ_OBJECT public: - RDBBreakpointWidget( TQWidget* tqparent=0, const char* name=0 ); + RDBBreakpointWidget( TQWidget* parent=0, const char* name=0 ); virtual ~RDBBreakpointWidget(); void reset(); diff --git a/languages/ruby/debugger/rdbcontroller.h b/languages/ruby/debugger/rdbcontroller.h index af72ddbc..a5dd90e6 100644 --- a/languages/ruby/debugger/rdbcontroller.h +++ b/languages/ruby/debugger/rdbcontroller.h @@ -117,7 +117,7 @@ public slots: void slotBPState( const Breakpoint& ); void slotClearAllBreakpoints(); - void slotExpandItem(VarItem *tqparent, const TQCString &userRequest); + void slotExpandItem(VarItem *parent, const TQCString &userRequest); void slotRubyInspect(const TQString &inspectText); void slotSelectFrame(int frameNo, int threadNo, const TQString& frameName); void slotFetchGlobals(bool fetch); diff --git a/languages/ruby/debugger/rdboutputwidget.cpp b/languages/ruby/debugger/rdboutputwidget.cpp index b1b9deda..7c489ed4 100644 --- a/languages/ruby/debugger/rdboutputwidget.cpp +++ b/languages/ruby/debugger/rdboutputwidget.cpp @@ -44,8 +44,8 @@ namespace RDBDebugger /***************************************************************************/ -RDBOutputWidget::RDBOutputWidget( TQWidget *tqparent, const char *name) : - TQWidget(tqparent, name), +RDBOutputWidget::RDBOutputWidget( TQWidget *parent, const char *name) : + TQWidget(parent, name), m_userRDBCmdEditor(0), m_Interrupt(0), m_rdbView(0) diff --git a/languages/ruby/debugger/rdboutputwidget.h b/languages/ruby/debugger/rdboutputwidget.h index 32d53110..efb33536 100644 --- a/languages/ruby/debugger/rdboutputwidget.h +++ b/languages/ruby/debugger/rdboutputwidget.h @@ -40,7 +40,7 @@ class RDBOutputWidget : public TQWidget TQ_OBJECT public: - RDBOutputWidget( TQWidget *tqparent=0, const char *name=0 ); + RDBOutputWidget( TQWidget *parent=0, const char *name=0 ); ~RDBOutputWidget(); void clear(); diff --git a/languages/ruby/debugger/rdbparser.cpp b/languages/ruby/debugger/rdbparser.cpp index d0e8e31b..a517c301 100644 --- a/languages/ruby/debugger/rdbparser.cpp +++ b/languages/ruby/debugger/rdbparser.cpp @@ -34,7 +34,7 @@ namespace RDBDebugger // ************************************************************************** -void RDBParser::parseVariables(LazyFetchItem *tqparent, char *buf) +void RDBParser::parseVariables(LazyFetchItem *parent, char *buf) { static const char *unknown = "?"; @@ -42,7 +42,7 @@ void RDBParser::parseVariables(LazyFetchItem *tqparent, char *buf) TQCString value; int pos; - Q_ASSERT(tqparent); + Q_ASSERT(parent); if (buf == 0 || strlen(buf) == 0) { return; } @@ -84,7 +84,7 @@ void RDBParser::parseVariables(LazyFetchItem *tqparent, char *buf) dataType = VALUE_TYPE; } - setItem(tqparent, varName, dataType, value); + setItem(parent, varName, dataType, value); pos += var_re.matchedLength(); pos = var_re.search(buf, pos); @@ -94,7 +94,7 @@ void RDBParser::parseVariables(LazyFetchItem *tqparent, char *buf) } } -void RDBParser::parseExpandedVariable(VarItem *tqparent, char *buf) +void RDBParser::parseExpandedVariable(VarItem *parent, char *buf) { DataType dataType; int pos; @@ -102,7 +102,7 @@ void RDBParser::parseExpandedVariable(VarItem *tqparent, char *buf) TQCString value; TQRegExp ppref_re("(#<([^:]|::)+:0x[\\da-f]+)([^\\n>]*)(>?)"); - switch (tqparent->dataType()) { + switch (parent->dataType()) { case REFERENCE_TYPE: { // Look for a reference type which has been printed via a 'pp' command, to @@ -139,7 +139,7 @@ void RDBParser::parseExpandedVariable(VarItem *tqparent, char *buf) } dataType = determineType((char *) ppvalue_re.cap(2).latin1()); - setItem(tqparent, varName, dataType, value); + setItem(parent, varName, dataType, value); pos += ppvalue_re.matchedLength(); pos = ppvalue_re.search(buf, pos); @@ -170,7 +170,7 @@ void RDBParser::parseExpandedVariable(VarItem *tqparent, char *buf) } DataType dataType = determineType((char *) pparray_re.cap(2).latin1()); - setItem(tqparent, varName, dataType, value); + setItem(parent, varName, dataType, value); pos += pparray_re.matchedLength(); pos = pparray_re.search(buf, pos); @@ -193,7 +193,7 @@ void RDBParser::parseExpandedVariable(VarItem *tqparent, char *buf) varName = pphash_re.cap(1); value = pphash_re.cap(2).latin1(); DataType dataType = determineType(value.data()); - setItem(tqparent, varName, dataType, value); + setItem(parent, varName, dataType, value); pos += pphash_re.matchedLength(); pos = pphash_re.search(buf, pos); @@ -235,7 +235,7 @@ void RDBParser::parseExpandedVariable(VarItem *tqparent, char *buf) varName = ppvalue_re.cap(1); value = ppvalue_re.cap(2).latin1(); dataType = determineType(value.data()); - setItem(tqparent, varName, dataType, value); + setItem(parent, varName, dataType, value); pos += ppvalue_re.matchedLength(); pos = ppvalue_re.search(buf, pos); @@ -259,7 +259,7 @@ void RDBParser::parseExpandedVariable(VarItem *tqparent, char *buf) varName = ppstring_re.cap(1); value = ppstring_re.cap(2).latin1(); DataType dataType = determineType(value.data()); - setItem(tqparent, varName, dataType, value); + setItem(parent, varName, dataType, value); pos += ppstring_re.matchedLength(); pos = ppstring_re.search(buf, pos); @@ -278,12 +278,12 @@ void RDBParser::parseExpandedVariable(VarItem *tqparent, char *buf) // ************************************************************************** -void RDBParser::setItem(LazyFetchItem *tqparent, const TQString &varName, +void RDBParser::setItem(LazyFetchItem *parent, const TQString &varName, DataType dataType, const TQCString &value) { - VarItem *item = tqparent->findItem(varName); + VarItem *item = parent->findItem(varName); if (item == 0) { - item = new VarItem(tqparent, varName, dataType); + item = new VarItem(parent, varName, dataType); } else { // The dataType of an item can change, so update it item->setDataType(dataType); diff --git a/languages/ruby/debugger/rdbparser.h b/languages/ruby/debugger/rdbparser.h index 2ee59b0a..d57e25d7 100644 --- a/languages/ruby/debugger/rdbparser.h +++ b/languages/ruby/debugger/rdbparser.h @@ -29,10 +29,10 @@ namespace RDBDebugger namespace RDBParser { - void parseVariables(LazyFetchItem *tqparent, char *buf); - void parseExpandedVariable(VarItem *tqparent, char *buf); + void parseVariables(LazyFetchItem *parent, char *buf); + void parseExpandedVariable(VarItem *parent, char *buf); DataType determineType(char *buf); - void setItem( LazyFetchItem *tqparent, const TQString &varName, + void setItem( LazyFetchItem *parent, const TQString &varName, DataType dataType, const TQCString &value ); } diff --git a/languages/ruby/debugger/rdbtable.cpp b/languages/ruby/debugger/rdbtable.cpp index 429654d5..31b7b6d2 100644 --- a/languages/ruby/debugger/rdbtable.cpp +++ b/languages/ruby/debugger/rdbtable.cpp @@ -18,13 +18,13 @@ namespace RDBDebugger { -RDBTable::RDBTable(TQWidget *tqparent, const char *name) - : TQTable(tqparent, name) +RDBTable::RDBTable(TQWidget *parent, const char *name) + : TQTable(parent, name) { } -RDBTable::RDBTable(int nr, int nc, TQWidget * tqparent, const char * name) - : TQTable(nr, nc, tqparent, name) +RDBTable::RDBTable(int nr, int nc, TQWidget * parent, const char * name) + : TQTable(nr, nc, parent, name) { } diff --git a/languages/ruby/debugger/rdbtable.h b/languages/ruby/debugger/rdbtable.h index 5cb72e93..157a9e13 100644 --- a/languages/ruby/debugger/rdbtable.h +++ b/languages/ruby/debugger/rdbtable.h @@ -25,8 +25,8 @@ class RDBTable : public TQTable Q_OBJECT TQ_OBJECT public: - RDBTable(TQWidget *tqparent = 0, const char *name = 0); - RDBTable( int numRows, int numCols, TQWidget * tqparent = 0, const char * name = 0 ); + RDBTable(TQWidget *parent = 0, const char *name = 0); + RDBTable( int numRows, int numCols, TQWidget * parent = 0, const char * name = 0 ); ~RDBTable(); virtual void keyPressEvent ( TQKeyEvent * e ); diff --git a/languages/ruby/debugger/stty.cpp b/languages/ruby/debugger/stty.cpp index f28b32b9..0cdd0eea 100644 --- a/languages/ruby/debugger/stty.cpp +++ b/languages/ruby/debugger/stty.cpp @@ -330,11 +330,11 @@ bool STTY::findExternalTTY(const TQString &termApp) ::exit(1); } - // tqparent process + // parent process if (pid <= 0) ::exit(1); - // Open the communication between us (the tqparent) and the + // Open the communication between us (the parent) and the // child (the process running on a tty console) fifo_fd = ::open(fifo, O_RDONLY); if (fifo_fd < 0) diff --git a/languages/ruby/debugger/variablewidget.cpp b/languages/ruby/debugger/variablewidget.cpp index 42a14322..0348e8f9 100644 --- a/languages/ruby/debugger/variablewidget.cpp +++ b/languages/ruby/debugger/variablewidget.cpp @@ -49,8 +49,8 @@ namespace RDBDebugger { -VariableWidget::VariableWidget(TQWidget *tqparent, const char *name) - : TQWidget(tqparent, name) +VariableWidget::VariableWidget(TQWidget *parent, const char *name) + : TQWidget(parent, name) { varTree_ = new VariableTree(this); TQLabel *label = new TQLabel(i18n("E&xpression to watch:"), this); @@ -127,8 +127,8 @@ void VariableWidget::savePartialProjectSession(TQDomElement* el) // ************************************************************************** // ************************************************************************** -VariableTree::VariableTree(VariableWidget *tqparent, const char *name) - : KListView(tqparent, name), +VariableTree::VariableTree(VariableWidget *parent, const char *name) + : KListView(parent, name), TQToolTip( viewport() ), activationId_(0), currentThread_(-1), @@ -187,7 +187,7 @@ void VariableTree::slotContextMenu(KListView *, TQListViewItem *item) setSelected(item, true); // Need to select this item. - if (item->tqparent() != 0) { + if (item->parent() != 0) { KPopupMenu popup(this); popup.insertTitle(item->text(VAR_NAME_COLUMN)); int idRemoveWatch = -2; @@ -233,7 +233,7 @@ void VariableTree::slotPressed(TQListViewItem * item) } while (item->rtti() == RTTI_VAR_ITEM) { - item = item->tqparent(); + item = item->parent(); } if ( item->rtti() == RTTI_GLOBAL_ROOT @@ -440,8 +440,8 @@ void VariableTree::maybeTip(const TQPoint &p) // ************************************************************************** // ************************************************************************** -LazyFetchItem::LazyFetchItem(VariableTree *tqparent) - : KListViewItem(tqparent), +LazyFetchItem::LazyFetchItem(VariableTree *parent) + : KListViewItem(parent), activationId_(0), waitingForData_(false) { @@ -450,8 +450,8 @@ LazyFetchItem::LazyFetchItem(VariableTree *tqparent) // ************************************************************************** -LazyFetchItem::LazyFetchItem(LazyFetchItem *tqparent) - : KListViewItem(tqparent), +LazyFetchItem::LazyFetchItem(LazyFetchItem *parent) + : KListViewItem(parent), activationId_(0), waitingForData_(false) { @@ -474,7 +474,7 @@ void LazyFetchItem::paintCell(TQPainter *p, const TQColorGroup &cg, } // make toplevel item (watch and frame items) names bold - if (column == VAR_NAME_COLUMN && tqparent() == 0) { + if (column == VAR_NAME_COLUMN && parent() == 0) { TQFont f = p->font(); f.setBold(true); p->setFont(f); @@ -526,8 +526,8 @@ void LazyFetchItem::prune() // ************************************************************************** // ************************************************************************** -VarItem::VarItem(LazyFetchItem *tqparent, const TQString &varName, DataType dataType) - : LazyFetchItem (tqparent), +VarItem::VarItem(LazyFetchItem *parent, const TQString &varName, DataType dataType) + : LazyFetchItem (parent), cache_(TQCString()), dataType_(dataType), highlight_(false) @@ -586,7 +586,7 @@ TQString VarItem::fullName() const TQString vPath(""); const VarItem *item = this; - if (item->tqparent()->rtti() != RTTI_VAR_ITEM) { + if (item->parent()->rtti() != RTTI_VAR_ITEM) { return itemName; } @@ -605,7 +605,7 @@ TQString VarItem::fullName() const vPath.prepend(itemName + "."); } } - item = (VarItem*) item->tqparent(); + item = (VarItem*) item->parent(); } // Change 'self.@foobar' to '@foobar' @@ -746,8 +746,8 @@ TQString VarItem::tipText() const // ************************************************************************** // ************************************************************************** -VarFrameRoot::VarFrameRoot(VariableTree *tqparent, int frameNo, int threadNo) - : LazyFetchItem(tqparent), +VarFrameRoot::VarFrameRoot(VariableTree *parent, int frameNo, int threadNo) + : LazyFetchItem(parent), needsVariables_(true), frameNo_(frameNo), threadNo_(threadNo), @@ -828,8 +828,8 @@ bool VarFrameRoot::needsVariables() const // ************************************************************************** -GlobalRoot::GlobalRoot(VariableTree *tqparent) - : LazyFetchItem(tqparent) +GlobalRoot::GlobalRoot(VariableTree *parent) + : LazyFetchItem(parent) { setText(0, i18n("Global")); setExpandable(true); @@ -872,8 +872,8 @@ void GlobalRoot::setOpen(bool open) // ************************************************************************** // ************************************************************************** -WatchVarItem::WatchVarItem( LazyFetchItem *tqparent, const TQString &varName, DataType dataType, int displayId ) - : VarItem(tqparent, varName, dataType), +WatchVarItem::WatchVarItem( LazyFetchItem *parent, const TQString &varName, DataType dataType, int displayId ) + : VarItem(parent, varName, dataType), displayId_(displayId) { } @@ -903,8 +903,8 @@ int WatchVarItem::displayId() // ************************************************************************** // ************************************************************************** -WatchRoot::WatchRoot(VariableTree *tqparent) - : LazyFetchItem(tqparent) +WatchRoot::WatchRoot(VariableTree *parent) + : LazyFetchItem(parent) { setText(VAR_NAME_COLUMN, i18n("Watch")); setOpen(true); diff --git a/languages/ruby/debugger/variablewidget.h b/languages/ruby/debugger/variablewidget.h index 830acf64..a54fc42e 100644 --- a/languages/ruby/debugger/variablewidget.h +++ b/languages/ruby/debugger/variablewidget.h @@ -66,7 +66,7 @@ class VariableWidget : public TQWidget TQ_OBJECT public: - VariableWidget( TQWidget *tqparent=0, const char *name=0 ); + VariableWidget( TQWidget *parent=0, const char *name=0 ); VariableTree *varTree() const { return varTree_; } @@ -100,7 +100,7 @@ class VariableTree : public KListView, public TQToolTip friend class LazyFetchItem; public: - VariableTree( VariableWidget *tqparent, const char *name=0 ); + VariableTree( VariableWidget *parent, const char *name=0 ); virtual ~VariableTree(); // Clear everything but the Watch frame @@ -172,8 +172,8 @@ private: class LazyFetchItem : public KListViewItem { public: - LazyFetchItem(VariableTree *tqparent); - LazyFetchItem(LazyFetchItem *tqparent); + LazyFetchItem(VariableTree *parent); + LazyFetchItem(LazyFetchItem *parent); virtual ~LazyFetchItem(); @@ -206,7 +206,7 @@ private: class VarItem : public LazyFetchItem { public: - VarItem( LazyFetchItem *tqparent, const TQString &varName, DataType dataType ); + VarItem( LazyFetchItem *parent, const TQString &varName, DataType dataType ); virtual ~VarItem(); @@ -249,7 +249,7 @@ private: class WatchVarItem : public VarItem { public: - WatchVarItem( LazyFetchItem *tqparent, const TQString &varName, DataType dataType, int displayId = -1); + WatchVarItem( LazyFetchItem *parent, const TQString &varName, DataType dataType, int displayId = -1); virtual ~WatchVarItem(); @@ -270,7 +270,7 @@ private: class VarFrameRoot : public LazyFetchItem { public: - VarFrameRoot(VariableTree *tqparent, int frame, int thread); + VarFrameRoot(VariableTree *parent, int frame, int thread); virtual ~VarFrameRoot(); virtual int rtti() const { return RTTI_VAR_FRAME_ROOT; } @@ -305,7 +305,7 @@ private: class WatchRoot : public LazyFetchItem { public: - WatchRoot(VariableTree * tqparent); + WatchRoot(VariableTree * parent); virtual ~WatchRoot(); virtual int rtti() const { return RTTI_WATCH_ROOT; } @@ -328,7 +328,7 @@ public: class GlobalRoot : public LazyFetchItem { public: - GlobalRoot(VariableTree * tqparent); + GlobalRoot(VariableTree * parent); virtual ~GlobalRoot(); virtual int rtti() const { return RTTI_GLOBAL_ROOT; } diff --git a/languages/ruby/rubyconfigwidget.cpp b/languages/ruby/rubyconfigwidget.cpp index 874fe680..a7ec7a7a 100644 --- a/languages/ruby/rubyconfigwidget.cpp +++ b/languages/ruby/rubyconfigwidget.cpp @@ -11,8 +11,8 @@ #include <kurlcompletion.h> #include <kdebug.h> -RubyConfigWidget::RubyConfigWidget(TQDomDocument &projectDom, TQWidget* tqparent, const char* name) -: RubyConfigWidgetBase(tqparent,name), dom (projectDom) { +RubyConfigWidget::RubyConfigWidget(TQDomDocument &projectDom, TQWidget* parent, const char* name) +: RubyConfigWidgetBase(parent,name), dom (projectDom) { kdDebug (9019) << "Creating RubyConfigWidget" << endl; interpreterEdit->setText(DomUtil::readEntry(dom, "/kdevrubysupport/run/interpreter")); if (interpreterEdit->text().isEmpty()) { diff --git a/languages/ruby/rubyconfigwidget.h b/languages/ruby/rubyconfigwidget.h index f4f367d1..46abcbaf 100644 --- a/languages/ruby/rubyconfigwidget.h +++ b/languages/ruby/rubyconfigwidget.h @@ -11,7 +11,7 @@ class RubyConfigWidget : public RubyConfigWidgetBase Q_OBJECT TQ_OBJECT public: - RubyConfigWidget(TQDomDocument &projectDom, TQWidget* tqparent = 0, const char* name = 0); + RubyConfigWidget(TQDomDocument &projectDom, TQWidget* parent = 0, const char* name = 0); public slots: void accept(); diff --git a/languages/ruby/rubyimplementationwidget.cpp b/languages/ruby/rubyimplementationwidget.cpp index 0b54fe2f..b1371a24 100644 --- a/languages/ruby/rubyimplementationwidget.cpp +++ b/languages/ruby/rubyimplementationwidget.cpp @@ -34,8 +34,8 @@ #include <kdevproject.h> RubyImplementationWidget::RubyImplementationWidget(KDevLanguageSupport* part, - TQWidget* tqparent, const char* name, bool modal) - :ImplementationWidget(part, tqparent, name, modal) + TQWidget* parent, const char* name, bool modal) + :ImplementationWidget(part, parent, name, modal) { } diff --git a/languages/ruby/rubyimplementationwidget.h b/languages/ruby/rubyimplementationwidget.h index 5dfaf4a4..48c88679 100644 --- a/languages/ruby/rubyimplementationwidget.h +++ b/languages/ruby/rubyimplementationwidget.h @@ -26,7 +26,7 @@ class RubyImplementationWidget : public ImplementationWidget { Q_OBJECT TQ_OBJECT public: - RubyImplementationWidget(KDevLanguageSupport* part, TQWidget* tqparent = 0, + RubyImplementationWidget(KDevLanguageSupport* part, TQWidget* parent = 0, const char* name = 0, bool modal = true); virtual TQStringList createClassFiles(); diff --git a/languages/ruby/rubysupport_part.cpp b/languages/ruby/rubysupport_part.cpp index cc895770..0cee14b2 100644 --- a/languages/ruby/rubysupport_part.cpp +++ b/languages/ruby/rubysupport_part.cpp @@ -41,8 +41,8 @@ typedef KDevGenericFactory<RubySupportPart> RubySupportFactory; static const KDevPluginInfo data("kdevrubysupport"); K_EXPORT_COMPONENT_FACTORY( libkdevrubysupport, RubySupportFactory( data ) ) -RubySupportPart::RubySupportPart(TQObject *tqparent, const char *name, const TQStringList& ) - : KDevLanguageSupport (&data, tqparent, name ? name : "RubySupportPart" ) +RubySupportPart::RubySupportPart(TQObject *parent, const char *name, const TQStringList& ) + : KDevLanguageSupport (&data, parent, name ? name : "RubySupportPart" ) { setInstance(RubySupportFactory::instance()); setXMLFile("kdevrubysupport.rc"); @@ -261,11 +261,11 @@ void RubySupportPart::parse(const TQString &fileName) m_file->addClass( lastClass ); } - TQString tqparent = classre.cap(5); - if (!tqparent.isEmpty()) + TQString parent = classre.cap(5); + if (!parent.isEmpty()) { - kdDebug() << "Add tqparent " << tqparent << endl; - lastClass->addBaseClass( tqparent ); + kdDebug() << "Add parent " << parent << endl; + lastClass->addBaseClass( parent ); } lastAccess = CodeModelItem::Public; diff --git a/languages/ruby/rubysupport_part.h b/languages/ruby/rubysupport_part.h index 2fbfed42..eb4fbe1e 100644 --- a/languages/ruby/rubysupport_part.h +++ b/languages/ruby/rubysupport_part.h @@ -22,7 +22,7 @@ class RubySupportPart : public KDevLanguageSupport public: - RubySupportPart(TQObject *tqparent, const char *name, const TQStringList &); + RubySupportPart(TQObject *parent, const char *name, const TQStringList &); virtual ~RubySupportPart(); virtual KDevDesignerIntegration *designer(KInterfaceDesigner::DesignerType type); diff --git a/languages/sql/sqlactions.cpp b/languages/sql/sqlactions.cpp index 4e0a7d07..cf92721b 100644 --- a/languages/sql/sqlactions.cpp +++ b/languages/sql/sqlactions.cpp @@ -28,8 +28,8 @@ SqlListAction::SqlListAction(SQLSupportPart *part, const TQString &text, const KShortcut& cut, const TQObject *receiver, const char *slot, - KActionCollection *tqparent, const char *name) - : KWidgetAction( m_combo = new KComboBox(), text, cut, 0, 0, tqparent, name), m_part(part) + KActionCollection *parent, const char *name) + : KWidgetAction( m_combo = new KComboBox(), text, cut, 0, 0, parent, name), m_part(part) { m_combo->setEditable( false ); m_combo->setAutoCompletion( true ); diff --git a/languages/sql/sqlactions.h b/languages/sql/sqlactions.h index a85f3709..1f8ac265 100644 --- a/languages/sql/sqlactions.h +++ b/languages/sql/sqlactions.h @@ -26,7 +26,7 @@ class SqlListAction : public KWidgetAction public: SqlListAction( SQLSupportPart *part, const TQString &text, const KShortcut& cut, const TQObject *receiver, const char *slot, - KActionCollection *tqparent, const char *name ); + KActionCollection *parent, const char *name ); void setCurrentConnectionName(const TQString &name); TQString currentConnectionName() const; void refresh(); diff --git a/languages/sql/sqloutputwidget.cpp b/languages/sql/sqloutputwidget.cpp index 73228dd7..65f95479 100644 --- a/languages/sql/sqloutputwidget.cpp +++ b/languages/sql/sqloutputwidget.cpp @@ -54,8 +54,8 @@ public: }; -SqlOutputWidget::SqlOutputWidget ( TQWidget* tqparent, const char* name ) : - TQWidget( tqparent, name ) +SqlOutputWidget::SqlOutputWidget ( TQWidget* parent, const char* name ) : + TQWidget( parent, name ) { m_stack = new TQWidgetStack( this ); m_table = new TQDataTable( this ); diff --git a/languages/sql/sqloutputwidget.h b/languages/sql/sqloutputwidget.h index c4a58ddf..766a0209 100644 --- a/languages/sql/sqloutputwidget.h +++ b/languages/sql/sqloutputwidget.h @@ -25,7 +25,7 @@ class SqlOutputWidget : public TQWidget TQ_OBJECT public: - SqlOutputWidget( TQWidget* tqparent = 0, const char* name = 0 ); + SqlOutputWidget( TQWidget* parent = 0, const char* name = 0 ); virtual ~SqlOutputWidget(); public: diff --git a/languages/sql/sqlsupport_part.cpp b/languages/sql/sqlsupport_part.cpp index a53f2879..fcbb8ca4 100644 --- a/languages/sql/sqlsupport_part.cpp +++ b/languages/sql/sqlsupport_part.cpp @@ -33,8 +33,8 @@ typedef KDevGenericFactory<SQLSupportPart> STQLSupportFactory; static const KDevPluginInfo data("kdevsqlsupport"); K_EXPORT_COMPONENT_FACTORY( libkdevsqlsupport, STQLSupportFactory( data ) ) -SQLSupportPart::SQLSupportPart( TQObject *tqparent, const char *name, const TQStringList& ) - : KDevLanguageSupport ( &data, tqparent, name ? name : "SQLSupportPart" ) +SQLSupportPart::SQLSupportPart( TQObject *parent, const char *name, const TQStringList& ) + : KDevLanguageSupport ( &data, parent, name ? name : "SQLSupportPart" ) { setInstance( STQLSupportFactory::instance() ); setXMLFile( "kdevsqlsupport.rc" ); diff --git a/languages/sql/sqlsupport_part.h b/languages/sql/sqlsupport_part.h index 1e72eca1..d2c99eb0 100644 --- a/languages/sql/sqlsupport_part.h +++ b/languages/sql/sqlsupport_part.h @@ -21,7 +21,7 @@ class SQLSupportPart : public KDevLanguageSupport public: - SQLSupportPart(TQObject *tqparent, const char *name, const TQStringList &); + SQLSupportPart(TQObject *parent, const char *name, const TQStringList &); virtual ~SQLSupportPart(); static TQString cryptStr(const TQString& aStr); |