#include <playbackboxhelper.h>
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 |
| PBHEventHandler * | m_eventHandler |
| QMutex | m_lock |
| uint64_t | m_freeSpaceTotalMB |
| uint64_t | m_freeSpaceUsedMB |
| QHash< QString, QString > | m_artworkFilenameCache |
Friends | |
| class | PBHEventHandler |
Definition at line 30 of file playbackboxhelper.h.
| PlaybackBoxHelper::PlaybackBoxHelper | ( | QObject * | listener | ) |
Definition at line 319 of file playbackboxhelper.cpp.
| PlaybackBoxHelper::~PlaybackBoxHelper | ( | void | ) |
Definition at line 331 of file playbackboxhelper.cpp.
| void PlaybackBoxHelper::ForceFreeSpaceUpdate | ( | void | ) |
Definition at line 341 of file playbackboxhelper.cpp.
Referenced by PlaybackBox::customEvent(), PlaybackBox::HandleRecordingRemoveEvent(), and PlaybackBoxHelper().
| void PlaybackBoxHelper::StopRecording | ( | const ProgramInfo & | pginfo | ) |
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 | ) |
Definition at line 367 of file playbackboxhelper.cpp.
Referenced by PlaybackBox::customEvent(), DeleteRecording(), and PlaybackBox::PlaylistDelete().
| void PlaybackBoxHelper::UndeleteRecording | ( | uint | chanid, | |
| const QDateTime & | recstartts | |||
| ) |
Definition at line 373 of file playbackboxhelper.cpp.
Referenced by PlaybackBox::Undelete().
| void PlaybackBoxHelper::CheckAvailability | ( | const ProgramInfo & | pginfo, | |
| CheckAvailabilityType | cat = kCheckForCache | |||
| ) |
Definition at line 412 of file playbackboxhelper.cpp.
Referenced by PlaybackBox::customEvent(), PlaybackBox::Play(), PlaybackBox::popupClosed(), and PlaybackBox::ShowMenu().
| QString PlaybackBoxHelper::GetPreviewImage | ( | const ProgramInfo & | pginfo, | |
| bool | check_availibility = true | |||
| ) |
Definition at line 462 of file playbackboxhelper.cpp.
Referenced by PlaybackBox::ItemVisible(), and PlaybackBox::UpdateUIListItem().
| QString PlaybackBoxHelper::LocateArtwork | ( | const QString & | inetref, | |
| uint | season, | |||
| VideoArtworkType | type, | |||
| const ProgramInfo * | pginfo, | |||
| const QString & | groupname = NULL | |||
| ) |
Definition at line 434 of file playbackboxhelper.cpp.
Referenced by PlaybackBox::updateGroupInfo(), and PlaybackBox::UpdateUIListItem().
| uint64_t PlaybackBoxHelper::GetFreeSpaceTotalMB | ( | void | ) | const |
Definition at line 400 of file playbackboxhelper.cpp.
Referenced by PlaybackBox::UpdateUsageUI().
| uint64_t PlaybackBoxHelper::GetFreeSpaceUsedMB | ( | void | ) | const |
Definition at line 406 of file playbackboxhelper.cpp.
Referenced by PlaybackBox::UpdateUsageUI().
| void PlaybackBoxHelper::UpdateFreeSpace | ( | void | ) | [private] |
Definition at line 383 of file playbackboxhelper.cpp.
Referenced by PBHEventHandler::UpdateFreeSpaceEvent().
friend class PBHEventHandler [friend] |
Definition at line 32 of file playbackboxhelper.h.
QObject* PlaybackBoxHelper::m_listener [private] |
Definition at line 60 of file playbackboxhelper.h.
Referenced by PBHEventHandler::CheckAvailability(), PBHEventHandler::event(), and UpdateFreeSpace().
PBHEventHandler* PlaybackBoxHelper::m_eventHandler [private] |
Definition at line 61 of file playbackboxhelper.h.
Referenced by CheckAvailability(), DeleteRecordings(), ForceFreeSpaceUpdate(), GetPreviewImage(), LocateArtwork(), PlaybackBoxHelper(), StopRecording(), UndeleteRecording(), and ~PlaybackBoxHelper().
QMutex PlaybackBoxHelper::m_lock [mutable, private] |
Definition at line 62 of file playbackboxhelper.h.
Referenced by CheckAvailability(), PBHEventHandler::CheckAvailability(), PBHEventHandler::event(), GetFreeSpaceTotalMB(), GetFreeSpaceUsedMB(), LocateArtwork(), and UpdateFreeSpace().
Definition at line 65 of file playbackboxhelper.h.
Referenced by GetFreeSpaceTotalMB(), and UpdateFreeSpace().
uint64_t PlaybackBoxHelper::m_freeSpaceUsedMB [private] |
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 PBHEventHandler::event(), and LocateArtwork().
1.6.3