Kaynağa Gözat

ctkPythonConsole - Comment out unimplemented function 'executeScript'

Jean-Christophe Fillion-Robin 14 yıl önce
ebeveyn
işleme
c80514f549

+ 13 - 13
Libs/Scripting/Python/Widgets/ctkPythonConsole.cpp

@@ -298,19 +298,19 @@ void ctkPythonConsole::clear()
   d->promptForInput();
 }
 
-//----------------------------------------------------------------------------
-void ctkPythonConsole::executeScript(const QString& script)
-{
-  Q_D(ctkPythonConsole);
-  Q_UNUSED(script);
-
-  d->printOutputMessage("\n");
-  emit this->executing(true);
-//   d->Interpreter->RunSimpleString(
-//     script.toAscii().data());
-  emit this->executing(false);
-  d->promptForInput();
-}
+////----------------------------------------------------------------------------
+//void ctkPythonConsole::executeScript(const QString& script)
+//{
+//  Q_D(ctkPythonConsole);
+//  Q_UNUSED(script);
+
+//  d->printOutputMessage("\n");
+//  emit this->executing(true);
+////   d->Interpreter->RunSimpleString(
+////     script.toAscii().data());
+//  emit this->executing(false);
+//  d->promptForInput();
+//}
 
 //----------------------------------------------------------------------------
 QString ctkPythonConsole::ps1() const

+ 1 - 1
Libs/Scripting/Python/Widgets/ctkPythonConsole.h

@@ -90,7 +90,7 @@ public:
 
 public slots:
   virtual void clear();
-  void executeScript(const QString&);
+//  void executeScript(const QString&);
 
 protected:
   virtual void executeCommand(const QString& command);