summaryrefslogtreecommitdiffstats
path: root/src/client/vnc/vncserver.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/vnc/vncserver.cpp')
-rw-r--r--src/client/vnc/vncserver.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/client/vnc/vncserver.cpp b/src/client/vnc/vncserver.cpp
index a016f08..d819668 100644
--- a/src/client/vnc/vncserver.cpp
+++ b/src/client/vnc/vncserver.cpp
@@ -14,7 +14,7 @@
VncServer* VncServer::me = nullptr;
-/***************************************************************************//**
+/**
* @brief VncServer::instance
* @return
*/
@@ -25,7 +25,7 @@ VncServer* VncServer::instance()
return me;
}
-/***************************************************************************//**
+/**
* @brief makePassword
* @param len
* @return
@@ -38,19 +38,19 @@ static QString makePassword(int len = 10)
return ret;
}
-/***************************************************************************//**
+/**
* @brief Ugly hack to get an el-cheapo platform independent sleep
*/
struct Sleeper : public QThread {
static void msleep(unsigned long msecs) { QThread::msleep(msecs); }
};
-/***************************************************************************//**
+/**
* @brief VncServer::VncServer
*/
VncServer::VncServer() : _process(nullptr), _port(0), _timerId(0) {}
-/***************************************************************************//**
+/**
* @brief VncServer::~VncServer
*/
VncServer::~VncServer() {}
@@ -67,7 +67,7 @@ QSharedPointer<QFile> VncServer::createPwFile(const QDir& dir)
return file;
}
-/***************************************************************************//**
+/**
* @brief VncServer::start
*/
void VncServer::start()
@@ -129,7 +129,7 @@ void VncServer::start()
_process->start("x11vnc", args, QIODevice::ReadOnly);
}
-/***************************************************************************//**
+/**
* @brief VncServer::stop
*/
void VncServer::stop()
@@ -162,7 +162,7 @@ void VncServer::stop()
*/
-/***************************************************************************//**
+/**
* @brief Timer event, currently only used to assume VNC server setup failed
* after 3 seconds...
* @param event
@@ -180,7 +180,7 @@ void VncServer::timerEvent(QTimerEvent * /* event */ )
*/
-/***************************************************************************//**
+/**
* @brief VncServer::onStdOut
*/
void VncServer::onStdOut()
@@ -206,7 +206,7 @@ void VncServer::onStdOut()
}
}
-/***************************************************************************//**
+/**
* @brief VncServer::onStdErr
*/
void VncServer::onStdErr()
@@ -218,7 +218,7 @@ void VncServer::onStdErr()
QByteArray data(_process->readAllStandardError());
}
-/***************************************************************************//**
+/**
* @brief VncServer::onError
* @param error
*/
@@ -228,7 +228,7 @@ void VncServer::onError(QProcess::ProcessError /* error */ )
emit started(0, _ropass, _rwpass);
}
-/***************************************************************************//**
+/**
* @brief VncServer::onFinished
* @param exitCode
*/