#include <musicplayer.h>
Definition at line 15 of file musicplayer.h.
Definition at line 78 of file musicplayer.h.
| SHUFFLE_OFF | |
| SHUFFLE_RANDOM | |
| SHUFFLE_INTELLIGENT | |
| SHUFFLE_ALBUM | |
| SHUFFLE_ARTIST | |
| MAX_SHUFFLE_MODES |
Definition at line 84 of file musicplayer.h.
Definition at line 93 of file musicplayer.h.
| MusicPlayer::MusicPlayer | ( | QObject * | parent, | |
| const QString & | dev | |||
| ) |
Definition at line 35 of file musicplayer.cpp.
| MusicPlayer::~MusicPlayer | ( | void | ) |
Definition at line 93 of file musicplayer.cpp.
| void MusicPlayer::playFile | ( | const QString & | filename | ) |
Definition at line 175 of file musicplayer.cpp.
Referenced by next(), PlaybackBoxMusic::play(), playFile(), ImportMusicDialog::playPressed(), and previous().
| void MusicPlayer::playFile | ( | const Metadata & | meta | ) |
Definition at line 168 of file musicplayer.cpp.
| void MusicPlayer::setListener | ( | QObject * | listener | ) |
Definition at line 132 of file musicplayer.cpp.
Referenced by PlaybackBoxMusic::keyPressEvent(), MiniPlayer::MiniPlayer(), PlaybackBoxMusic::PlaybackBoxMusic(), and MiniPlayer::~MiniPlayer().
| void MusicPlayer::setVisual | ( | MainVisual * | visual | ) |
Definition at line 151 of file musicplayer.cpp.
Referenced by PlaybackBoxMusic::keyPressEvent(), and PlaybackBoxMusic::PlaybackBoxMusic().
| void MusicPlayer::setCDDevice | ( | const QString & | dev | ) | [inline] |
Definition at line 29 of file musicplayer.h.
| void MusicPlayer::mute | ( | void | ) | [inline] |
Definition at line 31 of file musicplayer.h.
| void MusicPlayer::unMute | ( | void | ) | [inline] |
Definition at line 32 of file musicplayer.h.
| void MusicPlayer::setVolume | ( | void | ) | [inline] |
Definition at line 33 of file musicplayer.h.
| void MusicPlayer::setSpeed | ( | float | speed | ) |
| void MusicPlayer::incSpeed | ( | ) |
Definition at line 821 of file musicplayer.cpp.
Referenced by PlaybackBoxMusic::changeSpeed(), and MiniPlayer::keyPressEvent().
| void MusicPlayer::decSpeed | ( | ) |
Definition at line 827 of file musicplayer.cpp.
Referenced by PlaybackBoxMusic::changeSpeed(), and MiniPlayer::keyPressEvent().
| float MusicPlayer::getSpeed | ( | ) | [inline] |
Definition at line 38 of file musicplayer.h.
Referenced by PlaybackBoxMusic::showSpeed(), and MiniPlayer::showSpeed().
| void MusicPlayer::play | ( | void | ) |
Definition at line 244 of file musicplayer.cpp.
Referenced by customEvent(), MiniPlayer::customEvent(), MiniPlayer::keyPressEvent(), nextAuto(), playFile(), and restorePosition().
| void MusicPlayer::stop | ( | bool | stopAll = false |
) |
Definition at line 181 of file musicplayer.cpp.
Referenced by customEvent(), PlaybackBoxMusic::handleTreeListSignals(), MiniPlayer::keyPressEvent(), next(), PlaybackBoxMusic::play(), PlaybackBoxMusic::stop(), PlaybackBoxMusic::stopAll(), and ~MusicPlayer().
| void MusicPlayer::pause | ( | void | ) |
Definition at line 228 of file musicplayer.cpp.
Referenced by MiniPlayer::keyPressEvent(), PlaybackBoxMusic::pause(), PlaybackBoxMusic::play(), and stop().
| void MusicPlayer::next | ( | void | ) |
Definition at line 375 of file musicplayer.cpp.
Referenced by MiniPlayer::customEvent(), MiniPlayer::keyPressEvent(), and nextAuto().
| void MusicPlayer::previous | ( | void | ) |
| void MusicPlayer::nextAuto | ( | void | ) |
| bool MusicPlayer::isPlaying | ( | void | ) | [inline] |
Definition at line 48 of file musicplayer.h.
Referenced by PlaybackBoxMusic::checkForPlaylists(), PlaybackBoxMusic::keyPressEvent(), MiniPlayer::keyPressEvent(), MiniPlayer::MiniPlayer(), PlaybackBoxMusic::play(), PlaybackBoxMusic::restorePosition(), PlaybackBoxMusic::seek(), MiniPlayer::seek(), PlaybackBoxMusic::setShuffleMode(), and PlaybackBoxMusic::visEnable().
| bool MusicPlayer::hasClient | ( | void | ) | [inline] |
| void MusicPlayer::autoShowPlayer | ( | bool | autoShow | ) | [inline] |
This will allow/disallow the mini player showing on track changes.
Definition at line 52 of file musicplayer.h.
Referenced by MiniPlayer::keyPressEvent().
| bool MusicPlayer::getAutoShowPlayer | ( | void | ) | [inline] |
Definition at line 53 of file musicplayer.h.
Referenced by MiniPlayer::keyPressEvent(), and MiniPlayer::showAutoMode().
| void MusicPlayer::canShowPlayer | ( | bool | canShow | ) | [inline] |
This will allow/disallow the minplayer showing even using its jumppoint.
Definition at line 56 of file musicplayer.h.
| bool MusicPlayer::getCanShowPlayer | ( | void | ) | [inline] |
Definition at line 57 of file musicplayer.h.
| Decoder* MusicPlayer::getDecoder | ( | void | ) | [inline] |
Definition at line 59 of file musicplayer.h.
Referenced by PlaybackBoxMusic::play(), PlaybackBoxMusic::restorePosition(), PlaybackBoxMusic::seek(), and MiniPlayer::seek().
| AudioOutput* MusicPlayer::getOutput | ( | void | ) | [inline] |
Definition at line 60 of file musicplayer.h.
Referenced by PlaybackBoxMusic::changeSpeed(), PlaybackBoxMusic::changeVolume(), PlaybackBoxMusic::handleTreeListSignals(), MiniPlayer::keyPressEvent(), PlaybackBoxMusic::play(), PlaybackBoxMusic::restorePosition(), PlaybackBoxMusic::seek(), MiniPlayer::seek(), PlaybackBoxMusic::showVolume(), MiniPlayer::showVolume(), PlaybackBoxMusic::toggleMute(), and MiniPlayer::wireupTheme().
| GenericTree * MusicPlayer::constructPlaylist | ( | void | ) |
Definition at line 599 of file musicplayer.cpp.
Referenced by PlaybackBoxMusic::constructPlaylistTree(), and startDatabaseTree().
| GenericTree* MusicPlayer::getPlaylistTree | ( | ) | [inline] |
Definition at line 63 of file musicplayer.h.
Referenced by PlaybackBoxMusic::constructPlaylistTree().
| void MusicPlayer::setCurrentNode | ( | GenericTree * | node | ) | [inline] |
| GenericTree* MusicPlayer::getCurrentNode | ( | void | ) | [inline] |
Definition at line 65 of file musicplayer.h.
Referenced by MiniPlayer::decreaseRating(), and MiniPlayer::increaseRating().
| QString MusicPlayer::getRouteToCurrent | ( | void | ) |
Definition at line 625 of file musicplayer.cpp.
Referenced by PlaybackBoxMusic::checkForPlaylists(), constructPlaylist(), and savePosition().
| void MusicPlayer::savePosition | ( | void | ) |
Definition at line 642 of file musicplayer.cpp.
Referenced by customEvent(), PlaybackBoxMusic::keyPressEvent(), and ~MusicPlayer().
| void MusicPlayer::restorePosition | ( | const QString & | position | ) |
| void MusicPlayer::seek | ( | int | pos | ) |
| Metadata * MusicPlayer::getCurrentMetadata | ( | void | ) |
Definition at line 715 of file musicplayer.cpp.
Referenced by MiniPlayer::customEvent(), MiniPlayer::decreaseRating(), MiniPlayer::increaseRating(), MiniPlayer::MiniPlayer(), refreshMetadata(), MiniPlayer::showInfoTimeout(), and MiniPlayer::updateTrackInfo().
| void MusicPlayer::refreshMetadata | ( | void | ) |
Definition at line 728 of file musicplayer.cpp.
Referenced by PlaybackBoxMusic::~PlaybackBoxMusic().
| void MusicPlayer::showMiniPlayer | ( | void | ) |
| RepeatMode MusicPlayer::getRepeatMode | ( | void | ) | [inline] |
Definition at line 100 of file musicplayer.h.
Referenced by MiniPlayer::customEvent(), PlaybackBoxMusic::next(), PlaybackBoxMusic::nextAuto(), PlaybackBoxMusic::PlaybackBoxMusic(), PlaybackBoxMusic::previous(), and MiniPlayer::showRepeatMode().
| void MusicPlayer::setRepeatMode | ( | RepeatMode | mode | ) | [inline] |
| MusicPlayer::RepeatMode MusicPlayer::toggleRepeatMode | ( | void | ) |
Definition at line 739 of file musicplayer.cpp.
Referenced by MiniPlayer::keyPressEvent(), and PlaybackBoxMusic::toggleRepeat().
| ShuffleMode MusicPlayer::getShuffleMode | ( | void | ) | [inline] |
Definition at line 104 of file musicplayer.h.
Referenced by PlaybackBoxMusic::getInsertPLOptions(), PlaybackBoxMusic::PlaybackBoxMusic(), PlaybackBoxMusic::showEditMetadataDialog(), and MiniPlayer::showShuffleMode().
| void MusicPlayer::setShuffleMode | ( | ShuffleMode | mode | ) | [inline] |
| MusicPlayer::ShuffleMode MusicPlayer::toggleShuffleMode | ( | void | ) |
Definition at line 760 of file musicplayer.cpp.
Referenced by MiniPlayer::keyPressEvent(), and PlaybackBoxMusic::toggleShuffle().
| ResumeMode MusicPlayer::getResumeMode | ( | void | ) | [inline] |
| void MusicPlayer::customEvent | ( | QCustomEvent * | event | ) | [protected] |
Definition at line 458 of file musicplayer.cpp.
| void MusicPlayer::stopDecoder | ( | void | ) | [private] |
| void MusicPlayer::openOutputDevice | ( | void | ) | [private] |
| QString MusicPlayer::getFilenameFromID | ( | int | id | ) | [private] |
Definition at line 559 of file musicplayer.cpp.
Referenced by next(), previous(), and restorePosition().
| void MusicPlayer::updateLastplay | ( | void | ) | [private] |
GenericTree* MusicPlayer::m_playlistTree [private] |
Definition at line 119 of file musicplayer.h.
Referenced by constructPlaylist(), getPlaylistTree(), MusicPlayer(), restorePosition(), and ~MusicPlayer().
GenericTree* MusicPlayer::m_currentNode [private] |
Definition at line 121 of file musicplayer.h.
Referenced by getCurrentMetadata(), getCurrentNode(), getRouteToCurrent(), MusicPlayer(), next(), nextAuto(), play(), playFile(), previous(), restorePosition(), setCurrentNode(), and updateLastplay().
Metadata* MusicPlayer::m_currentMetadata [private] |
Definition at line 122 of file musicplayer.h.
Referenced by customEvent(), getCurrentMetadata(), MusicPlayer(), play(), playFile(), refreshMetadata(), stopDecoder(), updateLastplay(), and ~MusicPlayer().
QString MusicPlayer::m_currentFile [private] |
Definition at line 123 of file musicplayer.h.
Referenced by play(), playFile(), and restorePosition().
int MusicPlayer::m_currentTime [private] |
QIODevice* MusicPlayer::m_input [private] |
AudioOutput* MusicPlayer::m_output [private] |
Definition at line 127 of file musicplayer.h.
Referenced by getOutput(), MusicPlayer(), openOutputDevice(), pause(), play(), seek(), setListener(), setSpeed(), setVisual(), and stop().
Decoder* MusicPlayer::m_decoder [private] |
Definition at line 128 of file musicplayer.h.
Referenced by getDecoder(), getFilenameFromID(), MusicPlayer(), pause(), play(), seek(), setListener(), stop(), and stopDecoder().
QObject* MusicPlayer::m_listener [private] |
Definition at line 130 of file musicplayer.h.
Referenced by hasClient(), MusicPlayer(), openOutputDevice(), play(), setListener(), and stop().
MainVisual* MusicPlayer::m_visual [private] |
Definition at line 131 of file musicplayer.h.
Referenced by MusicPlayer(), openOutputDevice(), setVisual(), and stop().
QString MusicPlayer::m_CDdevice [private] |
Definition at line 133 of file musicplayer.h.
Referenced by MusicPlayer(), play(), and setCDDevice().
bool MusicPlayer::m_isPlaying [private] |
Definition at line 135 of file musicplayer.h.
Referenced by customEvent(), isPlaying(), MusicPlayer(), pause(), play(), and stop().
bool MusicPlayer::m_isAutoplay [private] |
Definition at line 136 of file musicplayer.h.
Referenced by customEvent(), MusicPlayer(), nextAuto(), and setListener().
bool MusicPlayer::m_canShowPlayer [private] |
Definition at line 137 of file musicplayer.h.
Referenced by canShowPlayer(), getCanShowPlayer(), MusicPlayer(), nextAuto(), and showMiniPlayer().
bool MusicPlayer::m_autoShowPlayer [private] |
Definition at line 138 of file musicplayer.h.
Referenced by autoShowPlayer(), getAutoShowPlayer(), MusicPlayer(), nextAuto(), and ~MusicPlayer().
bool MusicPlayer::m_wasPlaying [private] |
bool MusicPlayer::m_updatedLastplay [private] |
Definition at line 140 of file musicplayer.h.
Referenced by customEvent(), MusicPlayer(), play(), and updateLastplay().
int MusicPlayer::m_lastplayDelay [private] |
ShuffleMode MusicPlayer::m_shuffleMode [private] |
Definition at line 144 of file musicplayer.h.
Referenced by getShuffleMode(), next(), previous(), setShuffleMode(), toggleShuffleMode(), and ~MusicPlayer().
RepeatMode MusicPlayer::m_repeatMode [private] |
Definition at line 145 of file musicplayer.h.
Referenced by getRepeatMode(), next(), nextAuto(), setRepeatMode(), toggleRepeatMode(), and ~MusicPlayer().
ResumeMode MusicPlayer::m_resumeMode [private] |
Definition at line 146 of file musicplayer.h.
Referenced by getResumeMode(), MusicPlayer(), and savePosition().
float MusicPlayer::m_playSpeed [private] |
Definition at line 148 of file musicplayer.h.
Referenced by decSpeed(), getSpeed(), incSpeed(), MusicPlayer(), and setSpeed().
1.5.5