#include <musiccommon.h>
Definition at line 46 of file musiccommon.h.
| MusicCommon::MusicCommon | ( | MythScreenStack * | parent, | |
| const QString & | name | |||
| ) | [protected] |
Definition at line 45 of file musiccommon.cpp.
| MusicCommon::~MusicCommon | ( | void | ) | [protected] |
Definition at line 70 of file musiccommon.cpp.
| bool MusicCommon::CreateCommon | ( | void | ) | [protected] |
Definition at line 103 of file musiccommon.cpp.
Referenced by VisualizerView::Create(), SearchView::Create(), PlaylistView::Create(), and MiniPlayer::Create().
| void MusicCommon::switchView | ( | MusicView | view | ) | [protected] |
Definition at line 355 of file musiccommon.cpp.
Referenced by customEvent(), and keyPressEvent().
| void MusicCommon::customEvent | ( | QEvent * | event | ) | [protected, virtual] |
Reimplemented from MythUIType.
Reimplemented in PlaylistView, SearchView, and VisualizerView.
Definition at line 1038 of file musiccommon.cpp.
| bool MusicCommon::keyPressEvent | ( | QKeyEvent * | ) | [protected, virtual] |
Key event handler.
| event | Keypress event |
Reimplemented from MythScreenType.
Reimplemented in MiniPlayer, PlaylistView, SearchView, and VisualizerView.
Definition at line 462 of file musiccommon.cpp.
Referenced by VisualizerView::keyPressEvent(), SearchView::keyPressEvent(), PlaylistView::keyPressEvent(), and MiniPlayer::keyPressEvent().
| void MusicCommon::ShowMenu | ( | void | ) | [protected, virtual] |
Reimplemented from MythScreenType.
Reimplemented in SearchView, and VisualizerView.
Definition at line 1987 of file musiccommon.cpp.
Referenced by keyPressEvent().
| void MusicCommon::play | ( | void | ) | [protected, slot] |
Definition at line 916 of file musiccommon.cpp.
Referenced by CreateCommon(), customEvent(), and keyPressEvent().
| void MusicCommon::stop | ( | void | ) | [protected, slot] |
Definition at line 926 of file musiccommon.cpp.
Referenced by CreateCommon(), customEvent(), and keyPressEvent().
| void MusicCommon::pause | ( | void | ) | [protected, slot] |
Definition at line 921 of file musiccommon.cpp.
Referenced by CreateCommon(), customEvent(), doUpdatePlaylist(), and keyPressEvent().
| void MusicCommon::previous | ( | void | ) | [protected, slot] |
Definition at line 947 of file musiccommon.cpp.
Referenced by CreateCommon(), customEvent(), and keyPressEvent().
| void MusicCommon::next | ( | void | ) | [protected, slot] |
Definition at line 938 of file musiccommon.cpp.
Referenced by CreateCommon(), customEvent(), and keyPressEvent().
| void MusicCommon::seekforward | ( | void | ) | [protected, slot] |
Definition at line 955 of file musiccommon.cpp.
Referenced by CreateCommon(), customEvent(), and keyPressEvent().
| void MusicCommon::seekback | ( | void | ) | [protected, slot] |
Definition at line 963 of file musiccommon.cpp.
Referenced by CreateCommon(), customEvent(), and keyPressEvent().
| void MusicCommon::seek | ( | int | pos | ) | [protected, slot] |
Definition at line 971 of file musiccommon.cpp.
Referenced by seekback(), and seekforward().
| void MusicCommon::stopAll | ( | void | ) | [protected, slot] |
Definition at line 904 of file musiccommon.cpp.
Referenced by customEvent(), and keyPressEvent().
| void MusicCommon::changeRating | ( | bool | increase | ) | [protected, slot] |
Definition at line 1017 of file musiccommon.cpp.
Referenced by keyPressEvent().
| void MusicCommon::searchButtonList | ( | void | ) | [protected, slot] |
Definition at line 1976 of file musiccommon.cpp.
Referenced by SearchView::customEvent(), and customEvent().
| MythMenu * MusicCommon::createMainMenu | ( | void | ) | [protected, slot] |
Definition at line 2001 of file musiccommon.cpp.
Referenced by VisualizerView::ShowMenu(), SearchView::ShowMenu(), ShowMenu(), and showPlaylistOptionsMenu().
| MythMenu * MusicCommon::createViewMenu | ( | void | ) | [protected, slot] |
Definition at line 2024 of file musiccommon.cpp.
Referenced by createMainMenu().
| MythMenu * MusicCommon::createPlaylistMenu | ( | void | ) | [protected, slot] |
Definition at line 2044 of file musiccommon.cpp.
Referenced by createMainMenu().
| MythMenu * MusicCommon::createPlayerMenu | ( | void | ) | [protected, slot] |
Definition at line 2096 of file musiccommon.cpp.
Referenced by createMainMenu().
| MythMenu * MusicCommon::createQuickPlaylistsMenu | ( | void | ) | [protected, slot] |
Definition at line 2143 of file musiccommon.cpp.
Referenced by createMainMenu().
| MythMenu * MusicCommon::createRepeatMenu | ( | void | ) | [protected, slot] |
Definition at line 2115 of file musiccommon.cpp.
Referenced by createMainMenu().
| MythMenu * MusicCommon::createShuffleMenu | ( | void | ) | [protected, slot] |
Definition at line 2128 of file musiccommon.cpp.
Referenced by createMainMenu().
| MythMenu * MusicCommon::createVisualizerMenu | ( | void | ) | [protected, slot] |
Definition at line 2166 of file musiccommon.cpp.
Referenced by createMainMenu(), and VisualizerView::ShowMenu().
| MythMenu * MusicCommon::createPlaylistOptionsMenu | ( | void | ) | [protected, slot] |
Definition at line 2178 of file musiccommon.cpp.
Referenced by showPlaylistOptionsMenu().
| void MusicCommon::playlistItemClicked | ( | MythUIButtonListItem * | item | ) | [protected, slot] |
Definition at line 1767 of file musiccommon.cpp.
Referenced by CreateCommon(), and SearchView::customEvent().
| void MusicCommon::playlistItemVisible | ( | MythUIButtonListItem * | item | ) | [protected, slot] |
Definition at line 1788 of file musiccommon.cpp.
Referenced by CreateCommon().
| void MusicCommon::fromCD | ( | void | ) | [protected, slot] |
Definition at line 2196 of file musiccommon.cpp.
Referenced by customEvent().
| void MusicCommon::allTracks | ( | void | ) | [protected, slot] |
Definition at line 2190 of file musiccommon.cpp.
Referenced by customEvent().
| void MusicCommon::byArtist | ( | void | ) | [protected, slot] |
Definition at line 2214 of file musiccommon.cpp.
Referenced by customEvent().
| void MusicCommon::byAlbum | ( | void | ) | [protected, slot] |
Definition at line 2227 of file musiccommon.cpp.
Referenced by customEvent().
| void MusicCommon::byGenre | ( | void | ) | [protected, slot] |
Definition at line 2240 of file musiccommon.cpp.
Referenced by customEvent().
| void MusicCommon::byYear | ( | void | ) | [protected, slot] |
Definition at line 2253 of file musiccommon.cpp.
Referenced by customEvent().
| void MusicCommon::byTitle | ( | void | ) | [protected, slot] |
Definition at line 2266 of file musiccommon.cpp.
Referenced by customEvent().
| void MusicCommon::doUpdatePlaylist | ( | void | ) | [protected, slot] |
Definition at line 2306 of file musiccommon.cpp.
Referenced by customEvent(), and showPlaylistOptionsMenu().
| void MusicCommon::showExitMenu | ( | void | ) | [protected] |
Definition at line 2072 of file musiccommon.cpp.
Referenced by keyPressEvent().
| void MusicCommon::showPlaylistOptionsMenu | ( | bool | addMainMenu = false |
) | [protected] |
Definition at line 2279 of file musiccommon.cpp.
Referenced by allTracks(), byAlbum(), byArtist(), byGenre(), byTitle(), byYear(), and fromCD().
| QString MusicCommon::getTimeString | ( | int | exTime, | |
| int | maxTime | |||
| ) | [protected] |
Definition at line 1942 of file musiccommon.cpp.
Referenced by customEvent(), seek(), stop(), and updatePlaylistStats().
| void MusicCommon::updateProgressBar | ( | void | ) | [protected] |
Definition at line 759 of file musiccommon.cpp.
Referenced by CreateCommon(), customEvent(), and seek().
| void MusicCommon::setTrackOnLCD | ( | Metadata * | mdata | ) | [protected] |
Definition at line 892 of file musiccommon.cpp.
Referenced by updateTrackInfo().
| void MusicCommon::editTrackInfo | ( | Metadata * | mdata | ) | [protected] |
Definition at line 1672 of file musiccommon.cpp.
Referenced by SearchView::keyPressEvent(), and keyPressEvent().
| void MusicCommon::updateTrackInfo | ( | Metadata * | mdata | ) | [protected] |
Definition at line 1690 of file musiccommon.cpp.
Referenced by CreateCommon(), customEvent(), keyPressEvent(), updateRepeatMode(), and updateShuffleMode().
| void MusicCommon::showTrackInfo | ( | Metadata * | mdata | ) | [protected] |
Definition at line 1749 of file musiccommon.cpp.
Referenced by SearchView::keyPressEvent(), and keyPressEvent().
| void MusicCommon::updateUIPlaylist | ( | void | ) | [protected] |
Definition at line 1822 of file musiccommon.cpp.
Referenced by CreateCommon(), customEvent(), doUpdatePlaylist(), and updateShuffleMode().
| void MusicCommon::updatePlaylistStats | ( | void | ) | [protected] |
Definition at line 1906 of file musiccommon.cpp.
Referenced by CreateCommon(), customEvent(), and keyPressEvent().
| void MusicCommon::updateUIPlayedList | ( | void | ) | [protected] |
Definition at line 1874 of file musiccommon.cpp.
| void MusicCommon::updateRepeatMode | ( | void | ) | [protected] |
Definition at line 262 of file musiccommon.cpp.
Referenced by CreateCommon(), customEvent(), and keyPressEvent().
| void MusicCommon::updateShuffleMode | ( | bool | updateUIList = false |
) | [protected] |
Definition at line 297 of file musiccommon.cpp.
Referenced by CreateCommon(), customEvent(), and keyPressEvent().
| void MusicCommon::changeVolume | ( | bool | up | ) | [protected] |
Definition at line 720 of file musiccommon.cpp.
Referenced by keyPressEvent().
| void MusicCommon::changeSpeed | ( | bool | up | ) | [protected] |
Definition at line 732 of file musiccommon.cpp.
Referenced by keyPressEvent().
| void MusicCommon::toggleMute | ( | void | ) | [protected] |
Definition at line 744 of file musiccommon.cpp.
Referenced by customEvent(), and keyPressEvent().
| void MusicCommon::toggleUpmix | ( | void | ) | [protected] |
Definition at line 753 of file musiccommon.cpp.
Referenced by keyPressEvent().
| void MusicCommon::showVolume | ( | void | ) | [protected] |
Definition at line 771 of file musiccommon.cpp.
Referenced by changeVolume(), customEvent(), and toggleMute().
| void MusicCommon::updateVolume | ( | void | ) | [protected] |
Definition at line 1645 of file musiccommon.cpp.
Referenced by CreateCommon(), and customEvent().
| void MusicCommon::showSpeed | ( | bool | show | ) | [protected] |
Definition at line 786 of file musiccommon.cpp.
Referenced by changeSpeed().
| void MusicCommon::startVisualizer | ( | void | ) | [protected] |
Definition at line 876 of file musiccommon.cpp.
Referenced by CreateCommon(), and customEvent().
| void MusicCommon::stopVisualizer | ( | void | ) | [protected] |
Definition at line 884 of file musiccommon.cpp.
Referenced by customEvent(), stopAll(), switchView(), and ~MusicCommon().
| void MusicCommon::cycleVisualizer | ( | void | ) | [protected] |
Definition at line 846 of file musiccommon.cpp.
Referenced by keyPressEvent(), next(), playlistItemClicked(), and previous().
| void MusicCommon::switchVisualizer | ( | const QString & | visual | ) | [protected] |
Definition at line 825 of file musiccommon.cpp.
Referenced by CreateCommon(), customEvent(), cycleVisualizer(), and keyPressEvent().
| void MusicCommon::switchVisualizer | ( | int | visual | ) | [protected] |
Definition at line 830 of file musiccommon.cpp.
| void MusicCommon::playFirstTrack | ( | ) | [protected] |
Definition at line 2420 of file musiccommon.cpp.
Referenced by doUpdatePlaylist(), and updateShuffleMode().
| bool MusicCommon::restorePosition | ( | int | trackID | ) | [protected] |
Definition at line 2386 of file musiccommon.cpp.
Referenced by doUpdatePlaylist(), and updateShuffleMode().
MusicView MusicCommon::m_currentView [protected] |
Definition at line 137 of file musiccommon.h.
Referenced by createViewMenu(), keyPressEvent(), PlaylistView::PlaylistView(), SearchView::SearchView(), switchView(), and VisualizerView::VisualizerView().
MainVisual* MusicCommon::m_mainvisual [protected] |
Definition at line 140 of file musiccommon.h.
Referenced by CreateCommon(), cycleVisualizer(), keyPressEvent(), MusicCommon(), seek(), startVisualizer(), stopVisualizer(), switchView(), switchVisualizer(), updateTrackInfo(), and ~MusicCommon().
bool MusicCommon::m_fullscreenBlank [protected] |
Definition at line 141 of file musiccommon.h.
Referenced by CreateCommon().
bool MusicCommon::m_cycleVisualizer [protected] |
Definition at line 142 of file musiccommon.h.
Referenced by MusicCommon(), next(), playlistItemClicked(), and previous().
bool MusicCommon::m_randomVisualizer [protected] |
Definition at line 143 of file musiccommon.h.
Referenced by CreateCommon(), and cycleVisualizer().
QStringList MusicCommon::m_visualModes [protected] |
Definition at line 145 of file musiccommon.h.
Referenced by CreateCommon(), createVisualizerMenu(), cycleVisualizer(), switchVisualizer(), and updateTrackInfo().
unsigned int MusicCommon::m_currentVisual [protected] |
Definition at line 146 of file musiccommon.h.
Referenced by CreateCommon(), customEvent(), cycleVisualizer(), switchVisualizer(), and updateTrackInfo().
bool MusicCommon::m_moveTrackMode [protected] |
Definition at line 148 of file musiccommon.h.
Referenced by createPlaylistMenu(), customEvent(), SearchView::keyPressEvent(), PlaylistView::keyPressEvent(), keyPressEvent(), MusicCommon(), and playlistItemClicked().
bool MusicCommon::m_movingTrack [protected] |
Definition at line 149 of file musiccommon.h.
Referenced by customEvent(), keyPressEvent(), MusicCommon(), and playlistItemClicked().
bool MusicCommon::m_controlVolume [protected] |
Definition at line 151 of file musiccommon.h.
Referenced by changeVolume(), CreateCommon(), toggleMute(), and updateVolume().
int MusicCommon::m_currentTrack [protected] |
Definition at line 153 of file musiccommon.h.
Referenced by CreateCommon(), customEvent(), doUpdatePlaylist(), keyPressEvent(), restorePosition(), and updatePlaylistStats().
int MusicCommon::m_currentTime [protected] |
Definition at line 154 of file musiccommon.h.
Referenced by customEvent(), keyPressEvent(), MusicCommon(), seek(), seekback(), seekforward(), updatePlaylistStats(), and updateProgressBar().
int MusicCommon::m_maxTime [protected] |
Definition at line 155 of file musiccommon.h.
Referenced by customEvent(), MusicCommon(), seek(), seekforward(), stop(), updateProgressBar(), and updateTrackInfo().
uint MusicCommon::m_playlistTrackCount [protected] |
Definition at line 157 of file musiccommon.h.
Referenced by CreateCommon(), customEvent(), doUpdatePlaylist(), and keyPressEvent().
uint MusicCommon::m_playlistPlayedTime [protected] |
Definition at line 158 of file musiccommon.h.
Referenced by CreateCommon(), customEvent(), doUpdatePlaylist(), keyPressEvent(), and updatePlaylistStats().
uint MusicCommon::m_playlistMaxTime [protected] |
Definition at line 159 of file musiccommon.h.
Referenced by CreateCommon(), customEvent(), doUpdatePlaylist(), keyPressEvent(), and updatePlaylistStats().
PlaylistOptions MusicCommon::m_playlistOptions [protected] |
Definition at line 162 of file musiccommon.h.
Referenced by customEvent(), doUpdatePlaylist(), and showPlaylistOptionsMenu().
QString MusicCommon::m_whereClause [protected] |
Definition at line 163 of file musiccommon.h.
Referenced by allTracks(), byAlbum(), byArtist(), byGenre(), byTitle(), byYear(), doUpdatePlaylist(), and fromCD().
QList<int> MusicCommon::m_songList [protected] |
Definition at line 166 of file musiccommon.h.
Referenced by doUpdatePlaylist(), and fromCD().
MythUIText* MusicCommon::m_timeText [protected] |
Definition at line 169 of file musiccommon.h.
Referenced by CreateCommon(), customEvent(), seek(), stop(), and updateTrackInfo().
MythUIText* MusicCommon::m_infoText [protected] |
Definition at line 170 of file musiccommon.h.
Referenced by CreateCommon(), customEvent(), stop(), and updateTrackInfo().
MythUIText* MusicCommon::m_visualText [protected] |
Definition at line 171 of file musiccommon.h.
Referenced by CreateCommon(), and switchVisualizer().
MythUIText* MusicCommon::m_noTracksText [protected] |
Definition at line 172 of file musiccommon.h.
Referenced by CreateCommon(), and updateUIPlaylist().
MythUIStateType* MusicCommon::m_shuffleState [protected] |
Definition at line 174 of file musiccommon.h.
Referenced by CreateCommon(), and updateShuffleMode().
MythUIStateType* MusicCommon::m_repeatState [protected] |
Definition at line 175 of file musiccommon.h.
Referenced by CreateCommon(), and updateRepeatMode().
MythUIStateType* MusicCommon::m_movingTracksState [protected] |
Definition at line 177 of file musiccommon.h.
Referenced by CreateCommon(), customEvent(), and keyPressEvent().
MythUIStateType* MusicCommon::m_ratingState [protected] |
Definition at line 179 of file musiccommon.h.
Referenced by CreateCommon(), and updateTrackInfo().
MythUIProgressBar* MusicCommon::m_trackProgress [protected] |
Definition at line 181 of file musiccommon.h.
Referenced by CreateCommon(), updateProgressBar(), and updateTrackInfo().
MythUIText* MusicCommon::m_trackProgressText [protected] |
Definition at line 182 of file musiccommon.h.
Referenced by CreateCommon().
MythUIText* MusicCommon::m_trackSpeedText [protected] |
Definition at line 183 of file musiccommon.h.
Referenced by CreateCommon().
MythUIStateType* MusicCommon::m_trackState [protected] |
Definition at line 184 of file musiccommon.h.
Referenced by CreateCommon(), and customEvent().
MythUIStateType* MusicCommon::m_muteState [protected] |
Definition at line 186 of file musiccommon.h.
Referenced by CreateCommon(), and updateVolume().
MythUIText* MusicCommon::m_volumeText [protected] |
Definition at line 187 of file musiccommon.h.
Referenced by CreateCommon(), and updateVolume().
MythUIProgressBar* MusicCommon::m_playlistProgress [protected] |
Definition at line 189 of file musiccommon.h.
Referenced by CreateCommon(), customEvent(), and updatePlaylistStats().
MythUIButton* MusicCommon::m_prevButton [protected] |
Definition at line 191 of file musiccommon.h.
Referenced by CreateCommon(), and keyPressEvent().
MythUIButton* MusicCommon::m_rewButton [protected] |
Definition at line 192 of file musiccommon.h.
Referenced by CreateCommon(), and keyPressEvent().
MythUIButton* MusicCommon::m_pauseButton [protected] |
Definition at line 193 of file musiccommon.h.
Referenced by CreateCommon(), customEvent(), and keyPressEvent().
MythUIButton* MusicCommon::m_playButton [protected] |
Definition at line 194 of file musiccommon.h.
Referenced by CreateCommon(), customEvent(), and keyPressEvent().
MythUIButton* MusicCommon::m_stopButton [protected] |
Definition at line 195 of file musiccommon.h.
Referenced by CreateCommon(), customEvent(), and keyPressEvent().
MythUIButton* MusicCommon::m_ffButton [protected] |
Definition at line 196 of file musiccommon.h.
Referenced by CreateCommon(), and keyPressEvent().
MythUIButton* MusicCommon::m_nextButton [protected] |
Definition at line 197 of file musiccommon.h.
Referenced by CreateCommon(), and keyPressEvent().
MythUIImage* MusicCommon::m_coverartImage [protected] |
Definition at line 199 of file musiccommon.h.
Referenced by CreateCommon(), and updateTrackInfo().
MythUIButtonList* MusicCommon::m_currentPlaylist [protected] |
Definition at line 201 of file musiccommon.h.
Referenced by CreateCommon(), createPlaylistMenu(), SearchView::customEvent(), customEvent(), keyPressEvent(), playlistItemClicked(), restorePosition(), SearchView::ShowMenu(), and updateUIPlaylist().
MythUIButtonList* MusicCommon::m_playedTracksList [protected] |
Definition at line 202 of file musiccommon.h.
Referenced by CreateCommon(), and updateUIPlayedList().
MythUIVideo* MusicCommon::m_visualizerVideo [protected] |
Definition at line 204 of file musiccommon.h.
Referenced by CreateCommon(), createMainMenu(), startVisualizer(), and stopVisualizer().
1.6.3