From 32b67ac0690de411b26b1d5e715b188c27442248 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 10 Aug 2011 22:19:39 +0000 Subject: rename the following methods: tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- languages/php/data/phpfunctions | 8 ++++---- languages/php/doc/php.toc | 14 +++++++------- languages/php/phpconfigwidget.cpp | 4 ++-- languages/php/phpconfigwidget.h | 2 +- languages/php/phperrorview.cpp | 12 ++++++------ languages/php/phperrorview.h | 2 +- languages/php/phpfile.cpp | 2 +- languages/php/phpnewclassdlg.cpp | 2 +- languages/php/phpnewclassdlg.h | 2 +- languages/php/phpsupportpart.cpp | 4 ++-- languages/php/phpsupportpart.h | 2 +- 11 files changed, 27 insertions(+), 27 deletions(-) (limited to 'languages/php') 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 @@ - + @@ -1805,7 +1805,7 @@ - + @@ -4647,7 +4647,7 @@ - + @@ -4689,7 +4689,7 @@ - + @@ -5517,7 +5517,7 @@ - + @@ -6494,7 +6494,7 @@ - + @@ -6856,7 +6856,7 @@ - + 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(); -- cgit v1.2.3