Go to the source code of this file.
Functions | |
| void | PlayVideo (const QString &filename, const MetadataListManager &video_list) |
| template<typename T> | |
| void | checkedSetText (T *item, const QString &text) |
| void | checkedSetText (class LayerSet *container, const QString &item_name, const QString &text) |
| QStringList | GetVideoDirs () |
| QString | getDisplayYear (int year) |
| QString | getDisplayRating (const QString &rating) |
| QString | getDisplayUserRating (float userrating) |
| QString | getDisplayLength (int length) |
| QString | getDisplayBrowse (bool browse) |
| bool | isDefaultCoverFile (const QString &coverfile) |
| QStringList | GetCastList (const Metadata &item) |
| QString | GetCast (const Metadata &item, const QString &sep=", ") |
| void PlayVideo | ( | const QString & | filename, | |
| const MetadataListManager & | video_list | |||
| ) |
Definition at line 19 of file videoutils.cpp.
Referenced by VideoSelected::customEvent(), VideoTree::playVideo(), and VideoDialog::playVideo().
| void checkedSetText | ( | T * | item, | |
| const QString & | text | |||
| ) | [inline] |
Definition at line 10 of file videoutils.h.
| void checkedSetText | ( | class LayerSet * | container, | |
| const QString & | item_name, | |||
| const QString & | text | |||
| ) |
Definition at line 61 of file videoutils.cpp.
Referenced by EditMetadataDialog::findCoverArt(), VideoDialog::playVideo(), VideoTreeImp::reset_screen(), VideoTree::setParentalLevel(), VideoBrowser::slotParentalLevelChanged(), VideoSelected::startPlayItem(), VideoTreeImp::update_screen(), VideoBrowser::updateBrowsing(), mythvideo_videomanager::WaitBackgroundHandler::UpdateContents(), mythvideo_videomanager::InfoHandler::UpdateContents(), VideoSelected::updateInfo(), VideoBrowser::updateInfo(), VideoGallery::updateText(), and VideoTree::VideoTree().
| QStringList GetVideoDirs | ( | ) |
Definition at line 73 of file videoutils.cpp.
Referenced by VideoListImp::buildDbList(), and VideoListImp::buildFsysList().
| QString getDisplayYear | ( | int | year | ) |
Definition at line 84 of file videoutils.cpp.
Referenced by VideoTreeImp::update_screen(), mythvideo_videomanager::ListHandler::UpdateContents(), mythvideo_videomanager::InfoHandler::UpdateContents(), VideoSelected::updateInfo(), and VideoBrowser::updateInfo().
| QString getDisplayRating | ( | const QString & | rating | ) |
Definition at line 89 of file videoutils.cpp.
Referenced by VideoTreeImp::update_screen(), VideoSelected::updateInfo(), and VideoBrowser::updateInfo().
| QString getDisplayUserRating | ( | float | userrating | ) |
Definition at line 96 of file videoutils.cpp.
Referenced by VideoTreeImp::update_screen(), mythvideo_videomanager::InfoHandler::UpdateContents(), VideoSelected::updateInfo(), and VideoBrowser::updateInfo().
| QString getDisplayLength | ( | int | length | ) |
Definition at line 101 of file videoutils.cpp.
Referenced by VideoTreeImp::update_screen(), mythvideo_videomanager::InfoHandler::UpdateContents(), VideoSelected::updateInfo(), and VideoBrowser::updateInfo().
| QString getDisplayBrowse | ( | bool | browse | ) |
Definition at line 106 of file videoutils.cpp.
Referenced by VideoTreeImp::update_screen(), mythvideo_videomanager::InfoHandler::UpdateContents(), VideoSelected::updateInfo(), and VideoBrowser::updateInfo().
| bool isDefaultCoverFile | ( | const QString & | coverfile | ) |
Definition at line 111 of file videoutils.cpp.
Referenced by VideoGallery::drawIcon(), EditMetadataDialog::findCoverArt(), VideoFilterSettings::matches_filter(), mythvideo_videomanager::VideoManagerImp::OnVideoSearchListCancel(), VideoTreeImp::update_screen(), VideoSelected::updateInfo(), and VideoBrowser::updateInfo().
| QStringList GetCastList | ( | const Metadata & | item | ) |
| QString GetCast | ( | const Metadata & | item, | |
| const QString & | sep = ", " | |||
| ) |
Definition at line 134 of file videoutils.cpp.
Referenced by VideoTreeImp::update_screen(), mythvideo_videomanager::InfoHandler::UpdateContents(), VideoSelected::updateInfo(), and VideoBrowser::updateInfo().
1.5.5