Konsole
#include <ProcessInfo.h>
Public Member Functions | |
SSHProcessInfo (const ProcessInfo &process) | |
QString | command () const |
QString | format (const QString &input) const |
QString | host () const |
QString | port () const |
QString | userName () const |
Detailed Description
Lightweight class which provides additional information about SSH processes.
Definition at line 406 of file ProcessInfo.h.
Constructor & Destructor Documentation
|
explicit |
Constructs a new SSHProcessInfo instance which provides additional information about the specified SSH process.
- Parameters
-
process A ProcessInfo instance for a SSH process.
Definition at line 1017 of file ProcessInfo.cpp.
Member Function Documentation
QString SSHProcessInfo::command | ( | ) | const |
Returns the command which the user specified to execute on the remote computer when starting the SSH process.
Definition at line 1131 of file ProcessInfo.cpp.
QString SSHProcessInfo::format | ( | const QString & | input | ) | const |
Operates in the same way as ProcessInfo::format(), except that the set of markers understood is different:
u - Replaced with user name which the user initially logged into on the remote computer. h - Replaced with the first part of the host name which is connected to. H - Replaced with the full host name of the computer which is connected to. c - Replaced with the command which the user specified to execute when starting the SSH process.
Definition at line 1135 of file ProcessInfo.cpp.
QString SSHProcessInfo::host | ( | ) | const |
Returns the host which the user has connected to.
Definition at line 1123 of file ProcessInfo.cpp.
QString SSHProcessInfo::port | ( | ) | const |
Returns the port on host which the user has connected to.
Definition at line 1127 of file ProcessInfo.cpp.
QString SSHProcessInfo::userName | ( | ) | const |
Returns the user name which the user initially logged into on the remote computer.
Definition at line 1119 of file ProcessInfo.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:31:25 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.