MythTV  0.26-pre
Public Member Functions | Private Member Functions | Private Attributes | Friends
PlaybackBoxHelper Class Reference

#include <playbackboxhelper.h>

Inheritance diagram for PlaybackBoxHelper:
MThread

List of all members.

Public Member Functions

 PlaybackBoxHelper (QObject *listener)
 ~PlaybackBoxHelper (void)
void ForceFreeSpaceUpdate (void)
void StopRecording (const ProgramInfo &)
void DeleteRecording (uint chanid, const QDateTime &recstartts, bool forceDelete, bool forgetHistory)
void DeleteRecordings (const QStringList &)
void UndeleteRecording (uint chanid, const QDateTime &recstartts)
void CheckAvailability (const ProgramInfo &, CheckAvailabilityType cat=kCheckForCache)
QString GetPreviewImage (const ProgramInfo &, bool check_availibility=true)
QString LocateArtwork (const QString &inetref, uint season, VideoArtworkType type, const ProgramInfo *pginfo, const QString &groupname=NULL)
uint64_t GetFreeSpaceTotalMB (void) const
uint64_t GetFreeSpaceUsedMB (void) const

Private Member Functions

void UpdateFreeSpace (void)

Private Attributes

QObject * m_listener
PBHEventHandlerm_eventHandler
QMutex m_lock
uint64_t m_freeSpaceTotalMB
uint64_t m_freeSpaceUsedMB
QHash< QString, QString > m_artworkFilenameCache

Friends

class PBHEventHandler

Detailed Description

Definition at line 30 of file playbackboxhelper.h.


Constructor & Destructor Documentation

PlaybackBoxHelper::PlaybackBoxHelper ( QObject *  listener)

Definition at line 319 of file playbackboxhelper.cpp.

Definition at line 331 of file playbackboxhelper.cpp.


Member Function Documentation

Definition at line 347 of file playbackboxhelper.cpp.

Referenced by PlaybackBox::StopSelected().

void PlaybackBoxHelper::DeleteRecording ( uint  chanid,
const QDateTime &  recstartts,
bool  forceDelete,
bool  forgetHistory 
)

Definition at line 355 of file playbackboxhelper.cpp.

Referenced by PlaybackBox::RemoveProgram().

void PlaybackBoxHelper::DeleteRecordings ( const QStringList &  list)
void PlaybackBoxHelper::UndeleteRecording ( uint  chanid,
const QDateTime &  recstartts 
)

Definition at line 373 of file playbackboxhelper.cpp.

Referenced by PlaybackBox::Undelete().

QString PlaybackBoxHelper::GetPreviewImage ( const ProgramInfo pginfo,
bool  check_availibility = true 
)
QString PlaybackBoxHelper::LocateArtwork ( const QString &  inetref,
uint  season,
VideoArtworkType  type,
const ProgramInfo pginfo,
const QString &  groupname = NULL 
)

Definition at line 400 of file playbackboxhelper.cpp.

Referenced by PlaybackBox::UpdateUsageUI().

Definition at line 406 of file playbackboxhelper.cpp.

Referenced by PlaybackBox::UpdateUsageUI().

Definition at line 383 of file playbackboxhelper.cpp.


Friends And Related Function Documentation

friend class PBHEventHandler [friend]

Definition at line 32 of file playbackboxhelper.h.


Member Data Documentation

QObject* PlaybackBoxHelper::m_listener [private]

Definition at line 60 of file playbackboxhelper.h.

Referenced by UpdateFreeSpace().

QMutex PlaybackBoxHelper::m_lock [mutable, private]

Definition at line 65 of file playbackboxhelper.h.

Referenced by GetFreeSpaceTotalMB(), and UpdateFreeSpace().

Definition at line 66 of file playbackboxhelper.h.

Referenced by GetFreeSpaceUsedMB(), and UpdateFreeSpace().

QHash<QString, QString> PlaybackBoxHelper::m_artworkFilenameCache [private]

Definition at line 69 of file playbackboxhelper.h.

Referenced by LocateArtwork().


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