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.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/languages/python/qtdesignerpythonintegration.cpp b/languages/python/qtdesignerpythonintegration.cpp
index a4e324ed..53950f65 100644
--- a/languages/python/qtdesignerpythonintegration.cpp
+++ b/languages/python/qtdesignerpythonintegration.cpp
@@ -19,8 +19,8 @@
***************************************************************************/
#include "qtdesignerpythonintegration.h"
-#include <qpair.h>
-#include <qregexp.h>
+#include <tqpair.h>
+#include <tqregexp.h>
#include <klocale.h>
#include <kdebug.h>
@@ -55,7 +55,7 @@ void QtDesignerPythonIntegration::addFunctionToClass(KInterfaceDesigner::Functio
KTextEditor::EditInterface* editIface = dynamic_cast<KTextEditor::EditInterface*>( m_part->partController()->activePart() );
if( !editIface ){
/// @todo show messagebox
-// QDialog::accept();
+// TQDialog::accept();
return;
}
@@ -77,9 +77,9 @@ void QtDesignerPythonIntegration::addFunctionToClass(KInterfaceDesigner::Functio
point.second = funEndColumn;
}
- QString func = function.function;
+ TQString func = function.function;
func.replace("()", "");
- QString str = " def " + func + "(self):\n\n";
+ TQString str = " def " + func + "(self):\n\n";
kdDebug(9014) << "insert " << str << " into " << point.first << endl;