From f78eb03afb8c9a380985d26286afc40b4c89b292 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 1 Feb 2013 15:15:35 -0600 Subject: Rename a number of classes to enhance compatibility with KDE4 --- languages/python/pythonsupportpart.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'languages/python') diff --git a/languages/python/pythonsupportpart.cpp b/languages/python/pythonsupportpart.cpp index e82cfefc..d921108a 100644 --- a/languages/python/pythonsupportpart.cpp +++ b/languages/python/pythonsupportpart.cpp @@ -58,27 +58,27 @@ PythonSupportPart::PythonSupportPart(TQObject *parent, const char *name, const T connect( core(), TQT_SIGNAL(contextMenu(TQPopupMenu *, const Context *)), this, TQT_SLOT(contextMenu(TQPopupMenu *, const Context *)) ); - KAction *action; + TDEAction *action; - action = new KAction( i18n("Execute Program"), "exec", 0, + action = new TDEAction( i18n("Execute Program"), "exec", 0, this, TQT_SLOT(slotExecute()), actionCollection(), "build_exec" ); action->setToolTip( i18n("Execute program") ); action->setWhatsThis(i18n("Execute program

Runs the Python program.")); - action = new KAction( i18n("Execute String..."), "exec", 0, + action = new TDEAction( i18n("Execute String..."), "exec", 0, this, TQT_SLOT(slotExecuteString()), actionCollection(), "build_execstring" ); action->setToolTip( i18n("Execute string") ); action->setWhatsThis(i18n("Execute String

Executes a string as Python code.")); - action = new KAction( i18n("Start Python Interpreter"), "exec", 0, + action = new TDEAction( i18n("Start Python Interpreter"), "exec", 0, this, TQT_SLOT(slotStartInterpreter()), actionCollection(), "build_runinterpreter" ); action->setToolTip( i18n("Start Python interpreter") ); action->setWhatsThis(i18n("Start python interpreter

Starts the Python interpreter without a program")); - action = new KAction( i18n("Python Documentation..."), 0, + action = new TDEAction( i18n("Python Documentation..."), 0, this, TQT_SLOT(slotPydoc()), actionCollection(), "help_pydoc" ); action->setToolTip( i18n("Python documentation") ); -- cgit v1.2.3