175 string serverHost =
"",
176 bool encryption =
true,
193 this->customPath = path;
241 void runSession (
void);
243 void startX11 (
string resolution,
string name);
245 bool needX11Probe (
void)
252 void doneAuth (
void);
253 void loginFailed (
void);
257 dbgln (
"Finishing up on signal"); this->isFinished =
true;
260 void readyproxy (
void)
262 dbgln (
"ready for nxproxy"); this->readyForProxy =
true;
266 void processParseStdout (
void);
267 void processParseStderr (
void);
294 this->session.setPassword (this->nxpass);
297 void setResolution (
int x,
int y)
299 this->session.setResolution(x, y);
302 void setDepth (
int depth)
304 this->session.setDepth(depth);
307 void setRender (
bool render)
309 this->session.setRender(render);
312 void setSessionData (NXSessionData *);
314 notQProcess* getNXSSHProcess (
void)
316 return this->nxsshProcess;
319 notQProcess* getNXProxyProcess (
void)
321 return this->nxproxyProcess;
324 notQProcess* getX11Process (
void)
326 return this->x11Process;
329 notQProcess* getNXAuthProcess (
void)
331 return this->nxauthProcess;
334 bool getIsFinished (
void)
336 return this->isFinished;
339 bool getReadyForProxy (
void)
341 return this->readyForProxy;
344 NXSession* getSession (
void)
346 return &this->session;
349 void setIsFinished (
bool status)
351 this->isFinished = status;
354 void setExternalCallbacks (NXClientLibExternalCallbacks * cb)
359 bool getSessionRunning (
void)
361 return this->sessionRunning;
375 string getPath (
string prog);
415 notQProcess* nxsshProcess;
419 notQProcess* nxproxyProcess;
423 notQProcess* x11Process;
427 notQProcess* nxauthProcess;
433 NXClientLibCallbacks callbacks;
437 notQTemporaryFile *keyFile;