From e9be34de5fe62ce92c1d4cad63d03be76e9beb8d Mon Sep 17 00:00:00 2001 From: tpearson Date: Fri, 17 Jun 2011 19:08:25 +0000 Subject: Fix kdevelop Qt3 compilation git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1237312 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- languages/python/pythonsupportpart.cpp | 4 ++-- languages/python/qtdesignerpythonintegration.cpp | 8 ++++---- languages/python/qtdesignerpythonintegration.h | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) (limited to 'languages/python') diff --git a/languages/python/pythonsupportpart.cpp b/languages/python/pythonsupportpart.cpp index d1f2e503..3ecc2109 100644 --- a/languages/python/pythonsupportpart.cpp +++ b/languages/python/pythonsupportpart.cpp @@ -379,7 +379,7 @@ KDevDesignerIntegration *PythonSupportPart::designer(KInterfaceDesigner::Designe if (des == 0) { PythonImplementationWidget *impl = new PythonImplementationWidget(this); - des = new TQtDesignerPythonIntegration(this, impl); + des = new QtDesignerPythonIntegration(this, impl); des->loadSettings(*project()->projectDom(), "kdevpythonsupport/designerintegration"); m_designers[type] = des; @@ -398,7 +398,7 @@ void PythonSupportPart::slotCreateSubclass() kdDebug(9014) << k_funcinfo << " file: " << m_contextFileName << " ext: " << fi.extension(false) << endl; if (fi.extension(false) != "ui") return; - TQtDesignerPythonIntegration *des = dynamic_cast(designer(KInterfaceDesigner::TQtDesigner)); + QtDesignerPythonIntegration *des = dynamic_cast(designer(KInterfaceDesigner::TQtDesigner)); if (des) { kdDebug(9014) << "ok: " << des << endl; diff --git a/languages/python/qtdesignerpythonintegration.cpp b/languages/python/qtdesignerpythonintegration.cpp index c0e6dba1..0eb67147 100644 --- a/languages/python/qtdesignerpythonintegration.cpp +++ b/languages/python/qtdesignerpythonintegration.cpp @@ -38,18 +38,18 @@ #include "codemodel_utils.h" #include "implementationwidget.h" -TQtDesignerPythonIntegration::TQtDesignerPythonIntegration(KDevLanguageSupport* part, ImplementationWidget* impl) - :TQtDesignerIntegration(part, impl, false, 0) +QtDesignerPythonIntegration::QtDesignerPythonIntegration(KDevLanguageSupport* part, ImplementationWidget* impl) + :QtDesignerIntegration(part, impl, false, 0) { } -TQtDesignerPythonIntegration::~TQtDesignerPythonIntegration() +QtDesignerPythonIntegration::~QtDesignerPythonIntegration() { } -void TQtDesignerPythonIntegration::addFunctionToClass(KInterfaceDesigner::Function function, ClassDom klass) +void QtDesignerPythonIntegration::addFunctionToClass(KInterfaceDesigner::Function function, ClassDom klass) { m_part->partController()->editDocument( KURL( klass->fileName() ) ); KTextEditor::EditInterface* editIface = dynamic_cast( m_part->partController()->activePart() ); diff --git a/languages/python/qtdesignerpythonintegration.h b/languages/python/qtdesignerpythonintegration.h index 8af2f271..63759d23 100644 --- a/languages/python/qtdesignerpythonintegration.h +++ b/languages/python/qtdesignerpythonintegration.h @@ -22,14 +22,14 @@ #include -class TQtDesignerPythonIntegration : public TQtDesignerIntegration +class QtDesignerPythonIntegration : public QtDesignerIntegration { Q_OBJECT TQ_OBJECT public: - TQtDesignerPythonIntegration(KDevLanguageSupport* part, ImplementationWidget* impl); + QtDesignerPythonIntegration(KDevLanguageSupport* part, ImplementationWidget* impl); - ~TQtDesignerPythonIntegration(); + ~QtDesignerPythonIntegration(); virtual void addFunctionToClass(KInterfaceDesigner::Function function, ClassDom klass); -- cgit v1.2.3