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

Interfaces

  • 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
32class TerminalInterfaceV2: public TerminalInterface
33{
34public:
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
55Q_DECLARE_INTERFACE(TerminalInterfaceV2, "org.kde.TerminalInterfaceV2")
56#endif
TerminalInterfaceV2
TerminalInterfaceV2 is an extension to TerminalInterface that implemented by KonsolePart to allow dev...
Definition: kde_terminal_interface_v2.h:33
TerminalInterfaceV2::~TerminalInterfaceV2
virtual ~TerminalInterfaceV2()
Definition: kde_terminal_interface_v2.h:35
TerminalInterfaceV2::foregroundProcessName
virtual QString foregroundProcessName()=0
Returns sub process name.
TerminalInterfaceV2::terminalProcessId
virtual int terminalProcessId()=0
Return terminal PID.
TerminalInterfaceV2::foregroundProcessId
virtual int foregroundProcessId()=0
Return foregound PID, If there is no foreground process running, returns -1.
TerminalInterface
TerminalInterface is an interface implemented by KonsolePart to allow developers access to the Konsol...
Definition: kde_terminal_interface.h:86
kde_terminal_interface.h
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 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-4.14.38 API Reference

Skip menu "kdelibs-4.14.38 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
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