summaryrefslogtreecommitdiffstats
path: root/languages/python
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-17 19:08:25 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-17 19:08:25 +0000
commite9be34de5fe62ce92c1d4cad63d03be76e9beb8d (patch)
treeb41889ff9d6b950124134560ccbcecc78493a452 /languages/python
parent48d4a26399959121f33d2bc3bfe51c7827b654fc (diff)
downloadtdevelop-e9be34de5fe62ce92c1d4cad63d03be76e9beb8d.tar.gz
tdevelop-e9be34de5fe62ce92c1d4cad63d03be76e9beb8d.zip
Fix kdevelop Qt3 compilation
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1237312 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'languages/python')
-rw-r--r--languages/python/pythonsupportpart.cpp4
-rw-r--r--languages/python/qtdesignerpythonintegration.cpp8
-rw-r--r--languages/python/qtdesignerpythonintegration.h6
3 files changed, 9 insertions, 9 deletions
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<TQtDesignerPythonIntegration*>(designer(KInterfaceDesigner::TQtDesigner));
+ QtDesignerPythonIntegration *des = dynamic_cast<QtDesignerPythonIntegration*>(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<KTextEditor::EditInterface*>( 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 <qtdesignerintegration.h>
-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);