Go to the documentation of this file. 1 #ifndef PLAYLIST_CONTAINER_H
2 #define PLAYLIST_CONTAINER_H
5 #include <QCoreApplication>
72 int &lastplay,
int &random)
const;
91 #endif // PLAYLIST_CONTAINER_H
void renamePlaylist(int index, const QString &new_name)
QString getPlaylistName(int index, bool &reference)
PlaylistContainer(AllMusic *all_music)
PlaylistContainer * m_parent
void createNewPlaylist(const QString &name)
void deletePlaylist(int kill_me)
void copyNewPlaylist(const QString &name)
void describeYourself(void) const
QStringList getPlaylistNames(void)
Playlist * getActive(void)
static constexpr const char * DEFAULT_PLAYLIST_NAME
PlaylistContainer & operator=(const PlaylistContainer &rhs)=delete
void FillIntelliWeights(int &rating, int &playcount, int &lastplay, int &random) const
Q_DECLARE_TR_FUNCTIONS(PlaylistContainer)
def rating(profile, smoonURL, gate)
Playlist * getStreamPlaylist(void)
Playlist * m_streamPlaylist
Playlist * getPlaylist(int id)
bool nameIsUnique(const QString &a_name, int which_id)
PlaylistLoadingThread * m_playlistsLoader
PlaylistLoadingThread(PlaylistContainer *parent_ptr, AllMusic *all_music_ptr)
QList< Playlist * > * m_allPlaylists
This is a wrapper around QThread that does several additional things.
Playlist * m_activePlaylist
static constexpr const char * DEFAULT_STREAMLIST_NAME
void copyToActive(int index)
QList< Playlist * > * getPlaylists(void)
void run() override
Runs the Qt event loop unless we have a QRunnable, in which case we run the runnable run instead.