summaryrefslogtreecommitdiffstats
path: root/languages/python/qtdesignerpythonintegration.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'languages/python/qtdesignerpythonintegration.cpp')
-rw-r--r--languages/python/qtdesignerpythonintegration.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/languages/python/qtdesignerpythonintegration.cpp b/languages/python/qtdesignerpythonintegration.cpp
index 53950f65..c0e6dba1 100644
--- a/languages/python/qtdesignerpythonintegration.cpp
+++ b/languages/python/qtdesignerpythonintegration.cpp
@@ -38,18 +38,18 @@
#include "codemodel_utils.h"
#include "implementationwidget.h"
-QtDesignerPythonIntegration::QtDesignerPythonIntegration(KDevLanguageSupport* part, ImplementationWidget* impl)
- :QtDesignerIntegration(part, impl, false, 0)
+TQtDesignerPythonIntegration::TQtDesignerPythonIntegration(KDevLanguageSupport* part, ImplementationWidget* impl)
+ :TQtDesignerIntegration(part, impl, false, 0)
{
}
-QtDesignerPythonIntegration::~QtDesignerPythonIntegration()
+TQtDesignerPythonIntegration::~TQtDesignerPythonIntegration()
{
}
-void QtDesignerPythonIntegration::addFunctionToClass(KInterfaceDesigner::Function function, ClassDom klass)
+void TQtDesignerPythonIntegration::addFunctionToClass(KInterfaceDesigner::Function function, ClassDom klass)
{
m_part->partController()->editDocument( KURL( klass->fileName() ) );
KTextEditor::EditInterface* editIface = dynamic_cast<KTextEditor::EditInterface*>( m_part->partController()->activePart() );
@@ -65,7 +65,7 @@ void QtDesignerPythonIntegration::addFunctionToClass(KInterfaceDesigner::Functio
klass->getStartPosition( &line, &column );
// compute the insertion point
- QPair<int,int> point;
+ TQPair<int,int> point;
point.first = line + 1;
point.second = column;
@@ -78,7 +78,7 @@ void QtDesignerPythonIntegration::addFunctionToClass(KInterfaceDesigner::Functio
}
TQString func = function.function;
- func.replace("()", "");
+ func.tqreplace("()", "");
TQString str = " def " + func + "(self):\n\n";
kdDebug(9014) << "insert " << str << " into " << point.first << endl;