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

Interfaces

  • sources
  • kde-4.14
  • kdelibs
  • interfaces
  • terminal
kde_terminal_interface_v2.h
Go to the documentation of this file.
1 /***************************************************************************
2  * Copyright (C) 2009 by Rahman Duran <rahman.duran@gmail.com> *
3  * *
4  * This program is free software; you can redistribute it and/or modify *
5  * it under the terms of the GNU General Public License as published by *
6  * the Free Software Foundation; either version 2 of the License, or *
7  * (at your option) any later version. *
8  * *
9  * This program is distributed in the hope that it will be useful, *
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of *
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
12  * GNU General Public License for more details. *
13  * *
14  * You should have received a copy of the GNU General Public License *
15  * along with this program; if not, write to the *
16  * Free Software Foundation, Inc., *
17  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA *
18  ***************************************************************************/
19 
20 #ifndef KDE_TERMINAL_INTERFACE_V2_H
21 #define KDE_TERMINAL_INTERFACE_V2_H
22 
30 #include <kde_terminal_interface.h>
31 
32 class TerminalInterfaceV2: public TerminalInterface
33 {
34 public:
35  virtual ~TerminalInterfaceV2(){}
36 
40  virtual int terminalProcessId() = 0;
41 
45  virtual int foregroundProcessId() = 0;
46 
50  virtual QString foregroundProcessName() = 0;
51 
52 
53 };
54 
55 Q_DECLARE_INTERFACE(TerminalInterfaceV2, "org.kde.TerminalInterfaceV2")
56 #endif
TerminalInterfaceV2::terminalProcessId
virtual int terminalProcessId()=0
Return terminal PID.
kde_terminal_interface.h
TerminalInterfaceV2::foregroundProcessId
virtual int foregroundProcessId()=0
Return foregound PID, If there is no foreground process running, returns -1.
QString
TerminalInterface
TerminalInterface is an interface implemented by KonsolePart to allow developers access to the Konsol...
Definition: kde_terminal_interface.h:85
TerminalInterfaceV2::~TerminalInterfaceV2
virtual ~TerminalInterfaceV2()
Definition: kde_terminal_interface_v2.h:35
TerminalInterfaceV2::foregroundProcessName
virtual QString foregroundProcessName()=0
Returns sub process name.
TerminalInterfaceV2
TerminalInterfaceV2 is an extension to TerminalInterface that implemented by KonsolePart to allow dev...
Definition: kde_terminal_interface_v2.h:32
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:27:02 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

Interfaces

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

kdelibs API Reference

Skip menu "kdelibs API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver

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