12 #include <QSharedPointer>
29 static QSharedPointer<QFile>
createPwFile(
const QDir& dir);
45 void started(
int port,
const QString& ropass,
const QString& rwpass);
50 void onFinished(
int exitCode, QProcess::ExitStatus exitStatus);
51 void onError(QProcess::ProcessError error);
void stop()
VncServer::stop.
void started(int port, const QString &ropass, const QString &rwpass)
void onStdOut()
VncServer::onStdOut.
void onFinished(int exitCode, QProcess::ExitStatus exitStatus)
VncServer::onFinished.
~VncServer() override
VncServer::~VncServer.
void start()
VncServer::start.
static QSharedPointer< QFile > createPwFile(const QDir &dir)
void timerEvent(QTimerEvent *event) override
Timer event, currently only used to assume VNC server setup failed after 3 seconds...
void onStdErr()
VncServer::onStdErr.
void onError(QProcess::ProcessError error)
VncServer::onError.
VncServer()
VncServer::VncServer.
bool isVncServerRunning() const
static VncServer * instance()
VncServer::instance.