diff options
Diffstat (limited to 'languages/python/qtdesignerpythonintegration.cpp')
-rw-r--r-- | languages/python/qtdesignerpythonintegration.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/languages/python/qtdesignerpythonintegration.cpp b/languages/python/qtdesignerpythonintegration.cpp index 0eb67147..267da965 100644 --- a/languages/python/qtdesignerpythonintegration.cpp +++ b/languages/python/qtdesignerpythonintegration.cpp @@ -78,7 +78,7 @@ void QtDesignerPythonIntegration::addFunctionToClass(KInterfaceDesigner::Functio } TQString func = function.function; - func.tqreplace("()", ""); + func.replace("()", ""); TQString str = " def " + func + "(self):\n\n"; kdDebug(9014) << "insert " << str << " into " << point.first << endl; |