• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • applications API Reference
  • KDE Home
  • Contact Us
 

Konsole

  • Konsole
  • SSHProcessInfo
Public Member Functions | List of all members
Konsole::SSHProcessInfo Class Reference

#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

SSHProcessInfo::SSHProcessInfo ( const ProcessInfo &  process)
explicit

Constructs a new SSHProcessInfo instance which provides additional information about the specified SSH process.

Parameters
processA 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:
  • ProcessInfo.h
  • ProcessInfo.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Sat May 9 2020 03:56:28 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

Konsole

Skip menu "Konsole"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

applications API Reference

Skip menu "applications API Reference"
  •   kate
  •       kate
  •   KTextEditor
  •   Kate
  • Konsole

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal