DVDRipBox Class Reference

#include <dvdripbox.h>

Inheritance diagram for DVDRipBox:

MythThemedDialog MythDialog

List of all members.


Detailed Description

Definition at line 77 of file dvdripbox.h.


Public Types

typedef QValueVector< int > IntVector

Public Slots

void connectionError (int error_id)
void connectionMade ()
void connectionClosed ()
void readFromServer ()
void parseTokens (QStringList tokens)
void sendToServer (const QString &some_text)
void startStatusPolling ()
void stopStatusPolling ()
void pollStatus ()
void handleStatus (QStringList tokens)
void handleMedia (QStringList tokens)
void setOverallJobStatus (int job_number, double status, QString title)
void setSubJobStatus (int job_number, double status, QString subjob_string)
void adjustJobs (uint new_number)
void nextJob ()
void prevJob ()
void goToJob (int which_job)
void showCurrentJob ()
void goRipScreen ()
void checkDisc ()
void cancelJob ()
void toggleCancel ()

Public Member Functions

 DVDRipBox (MythMainWindow *parent, QString window_name, QString dev, QString theme_filename, const char *name=0)
 ~DVDRipBox (void)
void connectToMtd (bool try_to_run_mtd)
void keyPressEvent (QKeyEvent *e)

Private Member Functions

void wireUpTheme ()
void createSocket ()

Private Attributes

QSocket * client_socket
QTimer * status_timer
bool tried_mtd
bool connected
bool first_time_through
bool have_disc
bool first_disc_found
bool block_media_requests
QPtrList< MTDJobjobs
uint numb_jobs
int current_job
bool ignore_cancels
QString m_device
DVDInfodvd_info
 > The most recent usable DVD drive
QTimer * disc_checking_timer
UITextTypewarning_text
UITextTypeoverall_text
UITextTypejob_text
UITextTypenumb_jobs_text
UITextTypenodvd_text
UIStatusBarTypeoverall_status
UIStatusBarTypejob_status
UIPushButtonTypenextjob_button
UIPushButtonTypeprevjob_button
UITextButtonTyperipscreen_button
UITextButtonTypecancel_button

Member Typedef Documentation

typedef QValueVector<int> DVDRipBox::IntVector

Definition at line 84 of file dvdripbox.h.


Constructor & Destructor Documentation

DVDRipBox::DVDRipBox ( MythMainWindow parent,
QString  window_name,
QString  dev,
QString  theme_filename,
const char *  name = 0 
)

Definition at line 77 of file dvdripbox.cpp.

DVDRipBox::~DVDRipBox ( void   ) 

Definition at line 1060 of file dvdripbox.cpp.


Member Function Documentation

void DVDRipBox::connectToMtd ( bool  try_to_run_mtd  ) 

Definition at line 252 of file dvdripbox.cpp.

Referenced by DVDRipBox(), and keyPressEvent().

void DVDRipBox::keyPressEvent ( QKeyEvent *  e  ) 

Reimplemented from MythDialog.

Definition at line 281 of file dvdripbox.cpp.

void DVDRipBox::connectionError ( int  error_id  )  [slot]

Definition at line 392 of file dvdripbox.cpp.

Referenced by createSocket().

void DVDRipBox::connectionMade (  )  [slot]

Definition at line 435 of file dvdripbox.cpp.

Referenced by createSocket().

void DVDRipBox::connectionClosed (  )  [slot]

Definition at line 221 of file dvdripbox.cpp.

Referenced by createSocket().

void DVDRipBox::readFromServer (  )  [slot]

Definition at line 447 of file dvdripbox.cpp.

Referenced by createSocket().

void DVDRipBox::parseTokens ( QStringList  tokens  )  [slot]

Definition at line 480 of file dvdripbox.cpp.

Referenced by readFromServer().

void DVDRipBox::sendToServer ( const QString &  some_text  )  [slot]

Definition at line 464 of file dvdripbox.cpp.

Referenced by cancelJob(), checkDisc(), connectionMade(), and pollStatus().

void DVDRipBox::startStatusPolling (  )  [slot]

Definition at line 496 of file dvdripbox.cpp.

Referenced by cancelJob(), goRipScreen(), and parseTokens().

void DVDRipBox::stopStatusPolling (  )  [slot]

Definition at line 501 of file dvdripbox.cpp.

Referenced by cancelJob(), connectionClosed(), and goRipScreen().

void DVDRipBox::pollStatus (  )  [slot]

Definition at line 506 of file dvdripbox.cpp.

Referenced by DVDRipBox(), and goRipScreen().

void DVDRipBox::handleStatus ( QStringList  tokens  )  [slot]

Definition at line 550 of file dvdripbox.cpp.

Referenced by parseTokens().

void DVDRipBox::handleMedia ( QStringList  tokens  )  [slot]

Definition at line 728 of file dvdripbox.cpp.

Referenced by parseTokens().

void DVDRipBox::setOverallJobStatus ( int  job_number,
double  status,
QString  title 
) [slot]

Definition at line 887 of file dvdripbox.cpp.

Referenced by handleStatus().

void DVDRipBox::setSubJobStatus ( int  job_number,
double  status,
QString  subjob_string 
) [slot]

Definition at line 904 of file dvdripbox.cpp.

Referenced by handleStatus().

void DVDRipBox::adjustJobs ( uint  new_number  )  [slot]

Definition at line 918 of file dvdripbox.cpp.

Referenced by handleStatus().

void DVDRipBox::nextJob (  )  [slot]

Definition at line 361 of file dvdripbox.cpp.

Referenced by wireUpTheme().

void DVDRipBox::prevJob (  )  [slot]

Definition at line 371 of file dvdripbox.cpp.

Referenced by wireUpTheme().

void DVDRipBox::goToJob ( int  which_job  )  [slot]

Definition at line 380 of file dvdripbox.cpp.

Referenced by keyPressEvent().

void DVDRipBox::showCurrentJob (  )  [slot]

Definition at line 516 of file dvdripbox.cpp.

Referenced by cancelJob(), goRipScreen(), goToJob(), handleStatus(), nextJob(), and prevJob().

void DVDRipBox::goRipScreen (  )  [slot]

Definition at line 954 of file dvdripbox.cpp.

Referenced by handleStatus(), and wireUpTheme().

void DVDRipBox::checkDisc (  )  [slot]

Definition at line 152 of file dvdripbox.cpp.

Referenced by DVDRipBox().

void DVDRipBox::cancelJob (  )  [slot]

Definition at line 978 of file dvdripbox.cpp.

Referenced by wireUpTheme().

void DVDRipBox::toggleCancel (  )  [slot]

Definition at line 999 of file dvdripbox.cpp.

Referenced by adjustJobs().

void DVDRipBox::wireUpTheme ( void   )  [private]

Definition at line 1004 of file dvdripbox.cpp.

Referenced by DVDRipBox().

void DVDRipBox::createSocket (  )  [private]

Definition at line 208 of file dvdripbox.cpp.

Referenced by connectionError(), and DVDRipBox().


Member Data Documentation

QSocket* DVDRipBox::client_socket [private]

QTimer* DVDRipBox::status_timer [private]

Definition at line 125 of file dvdripbox.h.

Referenced by DVDRipBox(), startStatusPolling(), and stopStatusPolling().

Definition at line 126 of file dvdripbox.h.

Referenced by connectToMtd(), and DVDRipBox().

Definition at line 128 of file dvdripbox.h.

Referenced by DVDRipBox(), and handleStatus().

Definition at line 130 of file dvdripbox.h.

Referenced by checkDisc(), and DVDRipBox().

Definition at line 131 of file dvdripbox.h.

Referenced by checkDisc(), DVDRipBox(), goRipScreen(), and handleMedia().

QPtrList<MTDJob> DVDRipBox::jobs [private]

Definition at line 133 of file dvdripbox.h.

Referenced by adjustJobs(), DVDRipBox(), goToJob(), handleStatus(), nextJob(), and showCurrentJob().

int DVDRipBox::current_job [private]

Definition at line 134 of file dvdripbox.h.

Referenced by adjustJobs(), cancelJob(), DVDRipBox(), goToJob(), nextJob(), prevJob(), and showCurrentJob().

Definition at line 135 of file dvdripbox.h.

Referenced by adjustJobs(), cancelJob(), DVDRipBox(), and toggleCancel().

QString DVDRipBox::m_device [private]

Definition at line 137 of file dvdripbox.h.

Referenced by connectionMade(), and DVDRipBox().

> The most recent usable DVD drive

Definition at line 138 of file dvdripbox.h.

Referenced by DVDRipBox(), goRipScreen(), and handleMedia().

QTimer* DVDRipBox::disc_checking_timer [private]

Definition at line 139 of file dvdripbox.h.

Referenced by checkDisc(), and DVDRipBox().

Definition at line 146 of file dvdripbox.h.

Referenced by showCurrentJob(), and wireUpTheme().

Definition at line 147 of file dvdripbox.h.

Referenced by showCurrentJob(), and wireUpTheme().

Definition at line 148 of file dvdripbox.h.

Referenced by showCurrentJob(), and wireUpTheme().

Definition at line 149 of file dvdripbox.h.

Referenced by wireUpTheme().

Definition at line 150 of file dvdripbox.h.

Referenced by showCurrentJob(), and wireUpTheme().

Definition at line 151 of file dvdripbox.h.

Referenced by showCurrentJob(), and wireUpTheme().

Definition at line 152 of file dvdripbox.h.

Referenced by keyPressEvent(), and wireUpTheme().

Definition at line 153 of file dvdripbox.h.

Referenced by keyPressEvent(), and wireUpTheme().

Definition at line 154 of file dvdripbox.h.

Referenced by checkDisc(), connectionClosed(), handleMedia(), keyPressEvent(), and wireUpTheme().

Definition at line 155 of file dvdripbox.h.

Referenced by connectionClosed(), handleStatus(), keyPressEvent(), and wireUpTheme().


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

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