MythTV  0.26-pre
Public Slots | Public Member Functions | Protected Slots | Protected Member Functions | Protected Attributes
MythTerminal Class Reference

#include <mythterminal.h>

Inheritance diagram for MythTerminal:
TransListBoxSetting ListBoxSetting TransientStorage SelectSetting Storage Setting Configurable StorageUser

List of all members.

Public Slots

void Start (void)
void Kill (void)
bool IsDone (void) const
void AddText (const QString &)

Public Member Functions

 MythTerminal (QString program, QStringList arguments)
virtual void deleteLater (void)

Protected Slots

void ProcessHasText (void)
void ProcessSendKeyPress (QKeyEvent *e)
void ProcessFinished (int exitCode, QProcess::ExitStatus exitStatus)

Protected Member Functions

virtual ~MythTerminal ()
void TeardownAll (void)

Protected Attributes

QMutex lock
bool running
QProcess * process
QString program
QStringList arguments
QString curLabel
uint curValue
MythTerminalKeyFilterfilter

Detailed Description

Definition at line 17 of file mythterminal.h.


Constructor & Destructor Documentation

MythTerminal::MythTerminal ( QString  program,
QStringList  arguments 
)

Definition at line 26 of file mythterminal.cpp.

virtual MythTerminal::~MythTerminal ( ) [inline, protected, virtual]

Definition at line 38 of file mythterminal.h.


Member Function Documentation

virtual void MythTerminal::deleteLater ( void  ) [inline, virtual]

Definition at line 23 of file mythterminal.h.

Definition at line 108 of file mythterminal.cpp.

Referenced by TerminalWizard::exec().

Definition at line 115 of file mythterminal.cpp.

Referenced by TeardownAll().

bool MythTerminal::IsDone ( void  ) const [slot]

Definition at line 122 of file mythterminal.cpp.

void MythTerminal::AddText ( const QString &  _str) [slot]

Definition at line 73 of file mythterminal.cpp.

Referenced by ProcessFinished(), ProcessHasText(), and ProcessSendKeyPress().

void MythTerminal::ProcessHasText ( void  ) [protected, slot]

Definition at line 128 of file mythterminal.cpp.

Referenced by MythTerminal().

void MythTerminal::ProcessSendKeyPress ( QKeyEvent *  e) [protected, slot]

Definition at line 140 of file mythterminal.cpp.

Referenced by MythTerminal().

void MythTerminal::ProcessFinished ( int  exitCode,
QProcess::ExitStatus  exitStatus 
) [protected, slot]

Definition at line 154 of file mythterminal.cpp.

Referenced by MythTerminal().

void MythTerminal::TeardownAll ( void  ) [protected]

Definition at line 45 of file mythterminal.cpp.


Member Data Documentation

QMutex MythTerminal::lock [mutable, protected]

Definition at line 42 of file mythterminal.h.

Referenced by Kill(), ProcessFinished(), ProcessSendKeyPress(), Start(), and TeardownAll().

QProcess* MythTerminal::process [protected]
QString MythTerminal::program [protected]

Definition at line 44 of file mythterminal.h.

QStringList MythTerminal::arguments [protected]

Definition at line 45 of file mythterminal.h.

Referenced by Start().

QString MythTerminal::curLabel [protected]

Definition at line 46 of file mythterminal.h.

Referenced by AddText(), and MythTerminal().

Definition at line 47 of file mythterminal.h.

Referenced by AddText(), and MythTerminal().

Definition at line 48 of file mythterminal.h.

Referenced by MythTerminal(), and TeardownAll().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends