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/python/pythonconfigwidget.cpp | 4 ++-- languages/python/pythonconfigwidget.h | 2 +- languages/python/pythonimplementationwidget.cpp | 6 +++--- languages/python/pythonimplementationwidget.h | 2 +- languages/python/pythonsupportpart.cpp | 6 +++--- languages/python/pythonsupportpart.h | 2 +- 6 files changed, 11 insertions(+), 11 deletions(-) (limited to 'languages/python') 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 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 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); -- cgit v1.2.1