----------------------------------------------------------------------------
| 687 | |
| 688 | //---------------------------------------------------------------------------- |
| 689 | QString ctkPythonConsole::ps1() const |
| 690 | { |
| 691 | PyObject * ps1 = PySys_GetObject(const_cast<char*>("ps1")); |
| 692 | const char * ps1_str = PyString_AsString(ps1); |
| 693 | return QLatin1String(ps1_str); |
| 694 | } |
| 695 | |
| 696 | //---------------------------------------------------------------------------- |
| 697 | void ctkPythonConsole::setPs1(const QString& newPs1) |
no outgoing calls
no test coverage detected