mythvideo_videomanager::ExecuteExternalCommand Class Reference

Inheritance diagram for mythvideo_videomanager::ExecuteExternalCommand:

mythvideo_videomanager::VideoPosterSearch mythvideo_videomanager::VideoTitleSearch mythvideo_videomanager::VideoUIDSearch

List of all members.


Detailed Description

Definition at line 1476 of file videomanager.cpp.


Protected Member Functions

 ExecuteExternalCommand (QObject *oparent)
 ~ExecuteExternalCommand ()
void StartRun (const QString &command, const QStringList &args, const QString &purpose)
virtual void OnExecDone (bool normal_exit, const QStringList &out, const QStringList &err)=0

Private Slots

void OnReadReadyStdout ()
void OnReadReadyStderr ()
void OnProcessExit ()

Private Member Functions

void ShowError (const QString &error_msg)

Private Attributes

QString m_std_error
QString m_std_out
QProcess m_process
QString m_purpose
QString m_raw_cmd

Constructor & Destructor Documentation

mythvideo_videomanager::ExecuteExternalCommand::ExecuteExternalCommand ( QObject *  oparent  )  [inline, protected]

Definition at line 1481 of file videomanager.cpp.

mythvideo_videomanager::ExecuteExternalCommand::~ExecuteExternalCommand (  )  [inline, protected]

Definition at line 1492 of file videomanager.cpp.


Member Function Documentation

void mythvideo_videomanager::ExecuteExternalCommand::StartRun ( const QString &  command,
const QStringList &  args,
const QString &  purpose 
) [inline, protected]

virtual void mythvideo_videomanager::ExecuteExternalCommand::OnExecDone ( bool  normal_exit,
const QStringList &  out,
const QStringList &  err 
) [protected, pure virtual]

void mythvideo_videomanager::ExecuteExternalCommand::OnReadReadyStdout (  )  [inline, private, slot]

Definition at line 1542 of file videomanager.cpp.

Referenced by ExecuteExternalCommand().

void mythvideo_videomanager::ExecuteExternalCommand::OnReadReadyStderr (  )  [inline, private, slot]

Definition at line 1548 of file videomanager.cpp.

Referenced by ExecuteExternalCommand().

void mythvideo_videomanager::ExecuteExternalCommand::OnProcessExit (  )  [inline, private, slot]

Definition at line 1554 of file videomanager.cpp.

Referenced by ExecuteExternalCommand().

void mythvideo_videomanager::ExecuteExternalCommand::ShowError ( const QString &  error_msg  )  [inline, private]

Definition at line 1587 of file videomanager.cpp.

Referenced by OnProcessExit(), and StartRun().


Member Data Documentation

Definition at line 1598 of file videomanager.cpp.

Referenced by OnProcessExit(), and OnReadReadyStderr().

Definition at line 1599 of file videomanager.cpp.

Referenced by OnProcessExit(), and OnReadReadyStdout().

Definition at line 1601 of file videomanager.cpp.

Referenced by ShowError(), and StartRun().

Definition at line 1602 of file videomanager.cpp.

Referenced by OnProcessExit(), and StartRun().


The documentation for this class was generated from the following file:

Generated on Sat Dec 18 05:16:15 2010 for MythTV by  doxygen 1.5.5