Konsole
Konsole::SSHProcessInfo Class Reference
Lightweight class which provides additional information about SSH processes. More...
#include <ProcessInfo.h>
Public Member Functions | |
QString | command () const |
QString | format (const QString &input) const |
QString | host () const |
SSHProcessInfo (const ProcessInfo &process) | |
QString | userName () const |
Detailed Description
Lightweight class which provides additional information about SSH processes.Definition at line 380 of file ProcessInfo.h.
Constructor & Destructor Documentation
SSHProcessInfo::SSHProcessInfo | ( | const ProcessInfo & | process | ) |
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 592 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 697 of file ProcessInfo.cpp.
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 701 of file ProcessInfo.cpp.
QString SSHProcessInfo::host | ( | ) | const |
QString SSHProcessInfo::userName | ( | ) | const |
Returns the user name which the user initially logged into on the remote computer.
Definition at line 689 of file ProcessInfo.cpp.
The documentation for this class was generated from the following files: