#ifndef JUPYTERCONNECTION_H #define JUPYTERCONNECTION_H #include #include "CommandServer.h" class JupyterConnection : public QObject { Q_OBJECT public: JupyterConnection(QObject *parent = nullptr); ~JupyterConnection(); void start(); signals: void urlReceived(const QString &url); private: QProcess *process; CommandServer *cmdServer; private slots: void readStandardError(); void readStandardOutput(); }; #endif //JUPYTERCONNECTION_H